Re: [U-Boot] [PATCH v3 12/17] Revert "fdt- Tell the FDT library where the device tree is"

2013-05-06 Thread Jerry Van Baren

On 04/20/2013 02:42 PM, Simon Glass wrote:

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 


Acked-by: Gerald Van Baren 


---
Changes in v3: None
Changes in v2:
- Revert the whole change including the set_working_fdt_addr() part

  common/main.c | 8 
  1 file changed, 8 deletions(-)


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH v3 12/17] Revert "fdt- Tell the FDT library where the device tree is"

2013-04-20 Thread Simon Glass
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 
---
Changes in v3: None
Changes in v2:
- Revert the whole change including the set_working_fdt_addr() part

 common/main.c | 8 
 1 file changed, 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 
 #endif
 
-#ifdef CONFIG_OF_LIBFDT
-#include 
-#endif /* CONFIG_OF_LIBFDT */
-
 #include 
 #include 
 #include 
@@ -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++;
-- 
1.8.2.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot