]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
powerpc/85xx: CONFIG_ENABLE_36BIT_PHYS does not depend on CONFIG_PHYS_64BIT
authorTimur Tabi <timur@freescale.com>
Tue, 6 Sep 2011 14:36:06 +0000 (09:36 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Sun, 9 Oct 2011 22:57:53 +0000 (17:57 -0500)
The macro CONFIG_ENABLE_36BIT_PHYS is used to indicate that the given SOC is
capable of 36-bit physical addresses, even if such large addresses are not
used.  On two boards, this macro was enabled only when building a 36-bit
image.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
include/configs/P1022DS.h
include/configs/p1_p2_rdb_pc.h

index d892b6701b99258fdfb56c9426256bb8b92ee071..96203708748d5dfa3bff0bf4c966fd3e737b8088 100644 (file)
@@ -43,8 +43,9 @@
 #define CONFIG_FSL_PCIE_RESET          /* need PCIe reset errata */
 #define CONFIG_SYS_PCI_64BIT           /* enable 64-bit PCI resources */
 
-#ifdef CONFIG_PHYS_64BIT
 #define CONFIG_ENABLE_36BIT_PHYS
+
+#ifdef CONFIG_PHYS_64BIT
 #define CONFIG_ADDR_MAP
 #define CONFIG_SYS_NUM_ADDR_MAP                16      /* number of TLB1 entries */
 #endif
index f1ef1df18314cbffe69d7227c921b12c59bea2d1..b3d981f3e48c49db88e4519699a8444442f45781 100644 (file)
 #define CONFIG_BTB
 
 #define CONFIG_BOARD_EARLY_INIT_F      /* Call board_pre_init */
-#ifdef CONFIG_PHYS_64BIT
+
 #define CONFIG_ENABLE_36BIT_PHYS
-#endif
 
 #ifdef CONFIG_PHYS_64BIT
 #define CONFIG_ADDR_MAP                        1