diff options
author | Jerry Van Baren <gvb.uboot@gmail.com> | 2008-03-22 14:23:49 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-26 00:22:39 +0100 |
commit | 43ddd9c820fec44816188f53346b464e20b3142d (patch) | |
tree | d0e0e312c8d6d647d96716c3c4c9b8b0383ca05f /common/cmd_fdt.c | |
parent | 22ed2285743359fd1fe73e411dff914b2256e68f (diff) | |
download | u-boot-imx-43ddd9c820fec44816188f53346b464e20b3142d.zip u-boot-imx-43ddd9c820fec44816188f53346b464e20b3142d.tar.gz u-boot-imx-43ddd9c820fec44816188f53346b464e20b3142d.tar.bz2 |
Remove deprecated CONFIG_OF_HAS_UBOOT_ENV and CONFIG_OF_HAS_BD_T
These defines embedded the u-boot env variables and/or the bd_t structure
in the fdt blob. The conclusion of discussion on the u-boot email list
was that embedding these in the fdt blob is not useful: there are better
ways of passing the data (in fact, the fdt blob itself replaces the
bd_t struct).
The only board that enables these is the stxxtc and they don't appear
to be used by linux.
Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'common/cmd_fdt.c')
-rw-r--r-- | common/cmd_fdt.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c index 14c3fa0..a52284e 100644 --- a/common/cmd_fdt.c +++ b/common/cmd_fdt.c @@ -410,17 +410,6 @@ int do_fdt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) /* Create a chosen node */ else if (argv[1][0] == 'c') fdt_chosen(fdt, 0, 0, 1); - -#ifdef CONFIG_OF_HAS_UBOOT_ENV - /* Create a u-boot-env node */ - else if (argv[1][0] == 'e') - fdt_env(fdt); -#endif -#ifdef CONFIG_OF_HAS_BD_T - /* Create a bd_t node */ - else if (argv[1][0] == 'b') - fdt_bd_t(fdt); -#endif else { /* Unrecognized command */ printf ("Usage:\n%s\n", cmdtp->usage); @@ -801,12 +790,6 @@ U_BOOT_CMD( "fdt rsvmem add <addr> <size> - Add a mem reserve\n" "fdt rsvmem delete <index> - Delete a mem reserves\n" "fdt chosen - Add/update the /chosen branch in the tree\n" -#ifdef CONFIG_OF_HAS_UBOOT_ENV - "fdt env - Add/replace the /u-boot-env branch in the tree\n" -#endif -#ifdef CONFIG_OF_HAS_BD_T - "fdt bd_t - Add/replace the /bd_t branch in the tree\n" -#endif "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" ); |