Merge with /home/sr/git/u-boot/cfi-flash
[oweals/u-boot.git] / include / configs / CPCI440.h
index 04ce99dfa12bb75f64ead9a440b2f79821b3e741..a5bc773e17706dbaf1b57be9db41a4b428b6464a 100644 (file)
@@ -33,9 +33,9 @@
  *----------------------------------------------------------------------*/
 #define CONFIG_EBONY           1           /* Board is ebony           */
 #define CONFIG_4xx             1           /* ... PPC4xx family        */
-#define CONFIG_BOARD_PRE_INIT  1           /* Call board_pre_init      */
+#define CONFIG_BOARD_EARLY_INIT_F 1        /* Call board_early_init_f  */
 #undef CFG_DRAM_TEST                       /* Disable-takes long time! */
-#define CONFIG_SYS_CLK_FREQ    33333333    /* external freq to pll     */
+#define CONFIG_SYS_CLK_FREQ    33330000 /* external frequency to pll   */
 
 /*-----------------------------------------------------------------------
  * Base addresses -- Note these are effective addresses where the
  *----------------------------------------------------------------------*/
 #define CFG_SDRAM_BASE     0x00000000      /* _must_ be 0              */
 #define CFG_FLASH_BASE     0xff800000      /* start of FLASH           */
+#if 1
 #define CFG_MONITOR_BASE    0xfffc0000     /* start of monitor         */
+#else
+#define CFG_MONITOR_BASE    0x01fc0000     /* start of monitor         */
+#endif
 #define CFG_PERIPHERAL_BASE 0xe0000000     /* internal peripherals     */
 #define CFG_ISRAM_BASE     0xc0000000      /* internal SRAM            */
 
 
 #endif
 
-#define CONFIG_BOOTARGS                "root=/dev/hda1 "
-#define CONFIG_BOOTCOMMAND     "bootm ffc00000"    /* autoboot command */
-#define CONFIG_BOOTDELAY       -1                  /* disable autoboot */
+#undef CONFIG_BOOTARGS
+#undef CONFIG_BOOTCOMMAND
+
+#define CONFIG_BOOTDELAY       3       /* autoboot after 3 seconds     */
 #define CONFIG_BAUDRATE                9600
 
-#define CONFIG_LOADS_ECHO      1       /* echo on for serial download  */
 #define CFG_LOADS_BAUD_CHANGE  1       /* allow baudrate change        */
 
 #define CONFIG_MII             1       /* MII PHY management           */
 #define CONFIG_PHY_ADDR                1       /* PHY address                  */
+#define CONFIG_LXT971_NO_SLEEP  1       /* disable sleep mode in LXT971 */
 
 #if 0 /* test-only */
 #define CONFIG_COMMANDS               (CONFIG_CMD_DFL  | \
 #define CONFIG_PCI_PNP                 /* do pci plug-and-play         */
                                        /* resource configuration       */
 
+#define CONFIG_PCI_SCAN_SHOW            /* print pci devices @ startup  */
+
+#define CONFIG_PCI_BOOTDELAY    0       /* enable pci bootdelay variable*/
+
 #define CFG_PCI_SUBSYS_VENDORID 0x0000 /* PCI Vendor ID: to-do!!!      */
 #define CFG_PCI_SUBSYS_DEVICEID 0x0000 /* PCI Device ID: to-do!!!      */
 #define CFG_PCI_PTM1LA 0x00000000      /* point to sdram               */
 /*-----------------------------------------------------------------------
  * Cache Configuration
  */
-#define CFG_DCACHE_SIZE                32768   /* For IBM 440 CPUs                     */
+#define CFG_DCACHE_SIZE                32768   /* For AMCC 440 CPUs                    */
 #define CFG_CACHELINE_SIZE     32      /* ...                  */
 #if (CONFIG_COMMANDS & CFG_CMD_KGDB)
 #define CFG_CACHELINE_SHIFT    5       /* log base 2 of the above value        */