diff options
author | Gerald Van Baren <vanbaren@cideas.com> | 2008-01-05 15:33:29 -0500 |
---|---|---|
committer | Gerald Van Baren <vanbaren@cideas.com> | 2008-01-08 15:03:18 -0500 |
commit | 238cb7a423c6eaa36496efb788cfb9798cea7f95 (patch) | |
tree | 2e6ca7f57be47ba2c757c481a4293d6a503a2163 | |
parent | ea6d8be153ceaf16958f8009cea6d75f3ff58d92 (diff) | |
download | u-boot-imx-238cb7a423c6eaa36496efb788cfb9798cea7f95.zip u-boot-imx-238cb7a423c6eaa36496efb788cfb9798cea7f95.tar.gz u-boot-imx-238cb7a423c6eaa36496efb788cfb9798cea7f95.tar.bz2 |
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>
-rw-r--r-- | common/cmd_fdt.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c index 74e28b5..9cd22ee 100644 --- a/common/cmd_fdt.c +++ b/common/cmd_fdt.c @@ -683,7 +683,7 @@ U_BOOT_CMD( #ifdef CONFIG_OF_BOARD_SETUP "fdt boardsetup - Do board-specific set up\n" #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 list <path> [<prop>] - Print one level starting at <path>\n" "fdt set <path> <prop> [<val>] - Set <property> [to <val>]\n" @@ -696,10 +696,6 @@ U_BOOT_CMD( #ifdef CONFIG_OF_HAS_BD_T "fdt bd_t - Add/replace the /bd_t branch in the tree\n" #endif - "Hints:\n" - " If the property you are setting/printing has a '#' character or spaces,\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" + "NOTE: If the path or property you are setting/printing has a '#' character\n" + " or spaces, you MUST escape it with a \\ character or quote it with \".\n" ); |