DTC patches for 5.0
-----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEE9sSsRtSTSGjTuM6PIeENKd+XcFQFAl51PA8ACgkQIeENKd+X cFSkwQf/WhVRw92RKHlORupqT8Vcl61K7+PxmdbotjNipG/2Xb3eyciOR03EWWv7 ZI0sLv7kRu5Rec2B1UitcPZJJhV4PoutUaEmzf5vQH5Wm/aSx+w7D7YVnIMm4WlE rJGlE5LKjcSWPIhjp6ciQ5Y1iltBdzk3Umuc39VSPLnLop7D1qspzXJXgo2FItqC 5WGJaEh3RDLIKtL9I3x1kFgawvRPzJZK+D/4VvPRihOfyupJzTqbYQ0Q7BwL01VC NfMlU1OtXrEdPRZEjWYoT1tvRD/k4A2hu58EGh+pRHMkRky694HZRhxx5CpgvF0u TVVYON78UHBjvf0+Ez5RuHHcfk8GFA== =tSk5 -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/alistair/tags/pull-dtc-next-20200320-1' into staging DTC patches for 5.0 # gpg: Signature made Fri 20 Mar 2020 21:56:31 GMT # gpg: using RSA key F6C4AC46D4934868D3B8CE8F21E10D29DF977054 # gpg: Good signature from "Alistair Francis <alistair@alistair23.me>" [full] # Primary key fingerprint: F6C4 AC46 D493 4868 D3B8 CE8F 21E1 0D29 DF97 7054 * remotes/alistair/tags/pull-dtc-next-20200320-1: device_tree: Add info message when dumping dtb to file Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
a0e7c2d8ed
|
@ -530,7 +530,12 @@ void qemu_fdt_dumpdtb(void *fdt, int size)
|
|||
|
||||
if (dumpdtb) {
|
||||
/* Dump the dtb to a file and quit */
|
||||
exit(g_file_set_contents(dumpdtb, fdt, size, NULL) ? 0 : 1);
|
||||
if (g_file_set_contents(dumpdtb, fdt, size, NULL)) {
|
||||
info_report("dtb dumped to %s. Exiting.", dumpdtb);
|
||||
exit(0);
|
||||
}
|
||||
error_report("%s: Failed dumping dtb to %s", __func__, dumpdtb);
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue