Introduce the 'fdt verify' command, which verifies some of the physical
addresses in the device tree.
U-Boot uses macros to determine where devices should be located in physical
memory, and Linux uses the device tree to determine where the devices are
actually located. However, U-Boot does not
Dear Timur Tabi,
In message 1290015805-18791-1-git-send-email-ti...@freescale.com you wrote:
Introduce the 'fdt verify' command, which verifies some of the physical
addresses in the device tree.
+ addr = fdt_translate_address(blob, off, reg);
+ if (!addr)
+
Wolfgang Denk wrote:
struct fdt_header *working_fdt;
@@ -436,6 +450,10 @@ int do_fdt (cmd_tbl_t * cmdtp, int flag, int argc,
char * const argv[])
else if (strncmp(argv[1], re, 2) == 0) {
fdt_resize(working_fdt);
}
+ /* verify the addresses in the fdt */
+ else
3 matches
Mail list logo