Improve the FDT help message.
Add a note that "fdt copy" makes the new address active. Remove most of the extra hints at the end of the fdt help. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
This commit is contained in:
parent
ea6d8be153
commit
238cb7a423
|
@ -683,7 +683,7 @@ U_BOOT_CMD(
|
||||||
#ifdef CONFIG_OF_BOARD_SETUP
|
#ifdef CONFIG_OF_BOARD_SETUP
|
||||||
"fdt boardsetup - Do board-specific set up\n"
|
"fdt boardsetup - Do board-specific set up\n"
|
||||||
#endif
|
#endif
|
||||||
"fdt move <fdt> <newaddr> <length> - Copy the fdt to <addr>\n"
|
"fdt move <fdt> <newaddr> <length> - Copy the fdt to <addr> and make it active\n"
|
||||||
"fdt print <path> [<prop>] - Recursive print starting at <path>\n"
|
"fdt print <path> [<prop>] - Recursive print starting at <path>\n"
|
||||||
"fdt list <path> [<prop>] - Print one level starting at <path>\n"
|
"fdt list <path> [<prop>] - Print one level starting at <path>\n"
|
||||||
"fdt set <path> <prop> [<val>] - Set <property> [to <val>]\n"
|
"fdt set <path> <prop> [<val>] - Set <property> [to <val>]\n"
|
||||||
|
@ -696,10 +696,6 @@ U_BOOT_CMD(
|
||||||
#ifdef CONFIG_OF_HAS_BD_T
|
#ifdef CONFIG_OF_HAS_BD_T
|
||||||
"fdt bd_t - Add/replace the /bd_t branch in the tree\n"
|
"fdt bd_t - Add/replace the /bd_t branch in the tree\n"
|
||||||
#endif
|
#endif
|
||||||
"Hints:\n"
|
"NOTE: If the path or property you are setting/printing has a '#' character\n"
|
||||||
" If the property you are setting/printing has a '#' character or spaces,\n"
|
" or spaces, you MUST escape it with a \\ character or quote it with \".\n"
|
||||||
" you MUST escape it with a \\ character or quote it with \".\n"
|
|
||||||
"Examples: fdt print / # print the whole tree\n"
|
|
||||||
" fdt print /cpus \"#address-cells\"\n"
|
|
||||||
" fdt set /cpus \"#address-cells\" \"[00 00 00 01]\"\n"
|
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue