]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ppc4xx: Add fdt support to all remaining AMCC PPC4xx eval boards
authorStefan Roese <sr@denx.de>
Thu, 8 May 2008 09:05:15 +0000 (11:05 +0200)
committerStefan Roese <sr@denx.de>
Thu, 8 May 2008 09:05:15 +0000 (11:05 +0200)
This patch adds fdt (flattened device tree) support to all remaining AMCC
eval boards. Most newer boards already support device tree. With this patch,
all AMCC boards now enable device tree passing from U-Boot to Linux
arch/powerpc kernels.

Signed-off-by: Stefan Roese <sr@denx.de>
include/configs/bamboo.h
include/configs/bubinga.h
include/configs/ebony.h
include/configs/katmai.h
include/configs/luan.h
include/configs/ocotea.h
include/configs/taihu.h
include/configs/taishan.h
include/configs/walnut.h
include/configs/yosemite.h
include/configs/yucca.h

index 4ea040bc2288a148a4e108564b27fa5e7e728d0d..2f0df8ad2d02f5b8e8b8866c6ee978fef1928338 100644 (file)
 #define CONFIG_LOADS_ECHO      1       /* echo on for serial download  */
 #define CFG_LOADS_BAUD_CHANGE  1       /* allow baudrate change        */
 
+#define CONFIG_HAS_ETH0
 #define CONFIG_MII             1       /* MII PHY management           */
 #define CONFIG_PHY_ADDR                0       /* PHY address, See schematics  */
 #define CONFIG_PHY1_ADDR        1
 #define CONFIG_KGDB_BAUDRATE   230400  /* speed to run kgdb serial port */
 #define CONFIG_KGDB_SER_INDEX  2       /* which serial port to use */
 #endif
+
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+
 #endif /* __CONFIG_H */
index 784e7c0f8b33f3cc4bf617985dcea9d3efa66296..cbd74a0d8dbe250dba1f04d59e7be8ce1016334b 100644 (file)
 
 #define CONFIG_MII             1       /* MII PHY management           */
 #define        CONFIG_PHY_ADDR         1       /* PHY address                  */
+#define CONFIG_HAS_ETH0
 #define CONFIG_HAS_ETH1
 #define CONFIG_PHY1_ADDR       2       /* EMAC1 PHY address            */
 #define CONFIG_NET_MULTI       1
 #define CONFIG_KGDB_SER_INDEX  2       /* which serial port to use */
 #endif
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+
 #endif /* __CONFIG_H */
index 88fd7caa7a3babb645efa6e9a999137f71a15dfd..ba68fd4b9674a48678e18056d4ed1a6a49607fc5 100644 (file)
 
 #define CONFIG_MII             1       /* MII PHY management           */
 #define CONFIG_PHY_ADDR                8       /* PHY address                  */
+#define CONFIG_HAS_ETH0
 #define CONFIG_HAS_ETH1
 #define CONFIG_PHY1_ADDR       9       /* EMAC1 PHY address            */
 #define CONFIG_NET_MULTI       1
 #define CONFIG_KGDB_BAUDRATE   230400  /* speed to run kgdb serial port */
 #define CONFIG_KGDB_SER_INDEX  2       /* which serial port to use */
 #endif
+
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+
 #endif /* __CONFIG_H */
index d2f6b1021a353366012b337e101759ec8fa5bfa2..cce883fd85ff344c03511dcc26148cfaf80bbded 100644 (file)
@@ -79,7 +79,7 @@
 #define CFG_ACE_BASE           0xfe000000      /* Xilinx ACE controller - Compact Flash */
 
 #define CFG_MONITOR_BASE       TEXT_BASE
-#define CFG_MONITOR_LEN                (0xFFFFFFFF - CFG_MONITOR_LEN + 1)
+#define CFG_MONITOR_LEN                (0xFFFFFFFF - CFG_MONITOR_BASE + 1)
 #define CFG_MALLOC_LEN         (512 * 1024)    /* Reserve 512 kB for malloc */
 
 /*-----------------------------------------------------------------------
index af237d9be0bd4b713f0afe86f50dfd95b051f24f..37151d31fdd2fe03056f42afe3ee6c6a5ff36621 100644 (file)
 #define CONFIG_LOADS_ECHO      1       /* echo on for serial download  */
 #define CFG_LOADS_BAUD_CHANGE  1       /* allow baudrate change        */
 
+#define CONFIG_HAS_ETH0
 #define CONFIG_MII             1       /* MII PHY management           */
 #define CONFIG_PHY_ADDR                1
 #define CONFIG_CIS8201_PHY     1       /* Enable 'special' RGMII mode for Cicada phy */
 #define CONFIG_KGDB_SER_INDEX  2       /* which serial port to use */
 #endif
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+
 #endif /* __CONFIG_H */
index 5a6eb4a37d41dbb03cb1c3e15aebacfa124086f3..be2b3ec7efd55fe55066f4ddd1ea2310c73cea72 100644 (file)
 #define CONFIG_KGDB_BAUDRATE   230400  /* speed to run kgdb serial port */
 #define CONFIG_KGDB_SER_INDEX  2       /* which serial port to use */
 #endif
+
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+
 #endif /* __CONFIG_H */
index 7db973676ba1cae0b421f9b316b43e574b09fdb2..8a1ff1acba43a220880a5dc3d32ae211d256d0dc 100644 (file)
 
 #define CONFIG_MII             1       /* MII PHY management           */
 #define CONFIG_PHY_ADDR                0x14    /* PHY address                  */
+#define CONFIG_HAS_ETH0
 #define CONFIG_HAS_ETH1
 #define CONFIG_PHY1_ADDR       0x10    /* EMAC1 PHY address            */
 #define CONFIG_NET_MULTI       1
@@ -433,4 +434,8 @@ unsigned char spi_read(void);
 #define CONFIG_KGDB_SER_INDEX  2       /* which serial port to use */
 #endif
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+
 #endif /* __CONFIG_H */
index 851a7ad40aed2b7f724a55cf81fc37d7e4b3dfd7..1879d38522099ed3d7be6eed1a1cccc6a9d49cff 100644 (file)
 #define CONFIG_KGDB_BAUDRATE   230400  /* speed to run kgdb serial port */
 #define CONFIG_KGDB_SER_INDEX  2       /* which serial port to use */
 #endif
+
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+
 #endif /* __CONFIG_H */
index f6e99aca777b9de497771ed577b59d9ba8611e6b..adc420b9ade46063212829eea0543f89ed92391a 100644 (file)
@@ -92,6 +92,7 @@
 #define CONFIG_PHY_ADDR                1       /* PHY address                  */
 
 #define CFG_RX_ETH_BUFFER      16      /* use 16 rx buffer on 405 emac */
+#define CONFIG_HAS_ETH0                1
 
 #define CONFIG_NETCONSOLE              /* include NetConsole support   */
 #define CONFIG_NET_MULTI               /* needed for NetConsole        */
 #define CONFIG_KGDB_BAUDRATE   230400  /* speed to run kgdb serial port */
 #define CONFIG_KGDB_SER_INDEX  2       /* which serial port to use */
 #endif
+
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+
 #endif /* __CONFIG_H */
index 3bd115a38d9bbfbb2c3ae576feb8a7cc71aa9ab0..f22e79824cd0e5774239c349b46bc35f411bbad5 100644 (file)
 #define CFG_KBYTES_SDRAM        (128 * 1024)    /* 128MB                   */
 #define CFG_SDRAM_BANKS                (2)
 
-
-/*-----------------------------------------------------------------------
- * Device tree support (Linux-2.6.26+)
- *----------------------------------------------------------------------*/
-
-/* pass open firmware flat tree */
-#define CONFIG_OF_LIBFDT       1
-#define CONFIG_OF_BOARD_SETUP  1
-
 /*-----------------------------------------------------------------------
  * I2C
  *----------------------------------------------------------------------*/
 #define CONFIG_KGDB_SER_INDEX  2       /* which serial port to use */
 #endif
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+
 #endif /* __CONFIG_H */
index 1e3571eb4dcc7dc95b0e2e9d686e1eadd2b2abb5..6f9d3e3c6f3477f56c06a4ef6dbc0b17b8eb616e 100644 (file)
 
 /*---------------------------------------------------------------------------*/
 
+/* pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+
 #endif /* __CONFIG_H */