CPCI750: Add CPCI-HD/2 support
[platform/kernel/u-boot.git] / include / configs / CPCI750.h
index d735e61..a6af86c 100644 (file)
 #define CONFIG_SYS_I2C_MULTI_EEPROMS
 #define CONFIG_SYS_I2C_SPEED   80000           /* I2C speed default */
 
+#define CONFIG_PRAM 0
+
 #define CONFIG_SYS_GT_DUAL_CPU                 /* also for JTAG even with one cpu */
 #define CONFIG_SYS_LONGHELP                    /* undef to save memory         */
 #define CONFIG_SYS_PROMPT      "=> "           /* Monitor Command Prompt       */
 
 #define CONFIG_SYS_TCLK                133000000
 
-/*#define CONFIG_SYS_750FX_HID0                0x8000c084*/
-#define CONFIG_SYS_750FX_HID0          0x80008484
-#define CONFIG_SYS_750FX_HID1          0x54800000
-#define CONFIG_SYS_750FX_HID2          0x00000000
-
 /*
  * Low Level Configuration Settings
  * (address mappings, register initial values, etc.)
 #define CONFIG_SYS_ATA_DATA_OFFSET     0x0000  /* Offset for data I/O                  */
 #define CONFIG_SYS_ATA_REG_OFFSET      0x0000  /* Offset for normal register accesses  */
 #define CONFIG_SYS_ATA_ALT_OFFSET      0x0000  /* Offset for alternate registers       */
-
+#ifndef __ASSEMBLY__
+int ata_device(int dev);
+#endif
+#define ATA_DEVICE(dev)                 ata_device(dev)
+#define CONFIG_ATAPI                    1
 
 /*----------------------------------------------------------------------
  * Initial BAT mappings
  * IBAT4 and DBAT4
  * FIXME: ingo disable BATs for Linux Kernel
  */
-#undef SETUP_HIGH_BATS_FX750           /* don't initialize BATS 4-7 */
-/*#define SETUP_HIGH_BATS_FX750*/              /* initialize BATS 4-7 */
+/* #undef SETUP_HIGH_BATS_FX750        */      /* don't initialize BATS 4-7 */
+#define SETUP_HIGH_BATS_FX750          /* initialize BATS 4-7 */
 
 #ifdef SETUP_HIGH_BATS_FX750
 #define CONFIG_SYS_IBAT4L (CONFIG_SYS_SDRAM1_BASE | BATL_PP_RW | BATL_CACHEINHIBIT)
 #define CPCI750_ECC_TEST       (((in8(0xf0300000) & 0x02) == 0) ? 1 : 0)
 #define CONFIG_SYS_PLD_VER     0xf0e00000
 
+#define CONFIG_OF_LIBFDT 1
+
 #endif /* __CONFIG_H */