summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-04-20 08:42:47 +0000
committerTom Rini <trini@ti.com>2013-05-01 11:17:21 -0400
commit095686d3f5e0b46e76d40e3ad0b75982a215024d (patch)
treeacf69e6e934affda6aeb1f6e9ff8277db3fe9b9a /common/main.c
parentc309c2da147c2f166132341d578a41d3d9132966 (diff)
downloadu-boot-imx-095686d3f5e0b46e76d40e3ad0b75982a215024d.zip
u-boot-imx-095686d3f5e0b46e76d40e3ad0b75982a215024d.tar.gz
u-boot-imx-095686d3f5e0b46e76d40e3ad0b75982a215024d.tar.bz2
Revert "fdt- Tell the FDT library where the device tree is"
This reverts commit 3b73459ea3421e9f8c6c8c62e1d3fe458ca5bc56. In practice it doesn't seem like a good idea to make the the working FDT point to the control FDT. Now that we can access the control FDT using the 'fdt' command, there is no need for this feature. Remove it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/main.c b/common/main.c
index a15f020..953ef29 100644
--- a/common/main.c
+++ b/common/main.c
@@ -45,10 +45,6 @@
#include <fdtdec.h>
#endif
-#ifdef CONFIG_OF_LIBFDT
-#include <fdt_support.h>
-#endif /* CONFIG_OF_LIBFDT */
-
#include <post.h>
#include <linux/ctype.h>
#include <menu.h>
@@ -376,10 +372,6 @@ void main_loop (void)
bootstage_mark_name(BOOTSTAGE_ID_MAIN_LOOP, "main_loop");
-#if defined CONFIG_OF_CONTROL
- set_working_fdt_addr((void *)gd->fdt_blob);
-#endif /* CONFIG_OF_CONTROL */
-
#ifdef CONFIG_BOOTCOUNT_LIMIT
bootcount = bootcount_load();
bootcount++;