summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJerry Van Baren <gvb.uboot@gmail.com>2008-03-22 14:23:49 -0400
committerWolfgang Denk <wd@denx.de>2008-03-26 00:22:39 +0100
commit43ddd9c820fec44816188f53346b464e20b3142d (patch)
treed0e0e312c8d6d647d96716c3c4c9b8b0383ca05f /include
parent22ed2285743359fd1fe73e411dff914b2256e68f (diff)
downloadu-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 'include')
-rw-r--r--include/configs/stxxtc.h2
-rw-r--r--include/fdt_support.h8
2 files changed, 0 insertions, 10 deletions
diff --git a/include/configs/stxxtc.h b/include/configs/stxxtc.h
index b035857..f12765d 100644
--- a/include/configs/stxxtc.h
+++ b/include/configs/stxxtc.h
@@ -594,7 +594,5 @@ typedef unsigned int led_id_t;
#define OF_CPU "PowerPC,MPC870@0"
#define OF_TBCLK (MPC8XX_HZ / 16)
-#define CONFIG_OF_HAS_BD_T 1
-#define CONFIG_OF_HAS_UBOOT_ENV 1
#endif /* __CONFIG_H */
diff --git a/include/fdt_support.h b/include/fdt_support.h
index 7836f28..5ef6983 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -50,14 +50,6 @@ int fdt_find_and_setprop(void *fdt, const char *node, const char *prop,
const void *val, int len, int create);
void fdt_fixup_qe_firmware(void *fdt);
-#ifdef CONFIG_OF_HAS_UBOOT_ENV
-int fdt_env(void *fdt);
-#endif
-
-#ifdef CONFIG_OF_HAS_BD_T
-int fdt_bd_t(void *fdt);
-#endif
-
#ifdef CONFIG_OF_BOARD_SETUP
void ft_board_setup(void *blob, bd_t *bd);
void ft_cpu_setup(void *blob, bd_t *bd);