Browse Source

xes: Add POST support for 8xxx boards

Add memory and I2C posts to the XPedite517x/520x/537x board families.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
master
Peter Tyser 10 years ago
committed by Kumar Gala
parent
commit
66a8b440af
3 changed files with 42 additions and 0 deletions
  1. +17
    -0
      include/configs/xpedite517x.h
  2. +10
    -0
      include/configs/xpedite520x.h
  3. +15
    -0
      include/configs/xpedite537x.h

+ 17
- 0
include/configs/xpedite517x.h View File

@ -108,6 +108,21 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_SYS_ALT_MEMTEST
#define CONFIG_SYS_MEMTEST_START 0x10000000
#define CONFIG_SYS_MEMTEST_END 0x20000000
#define CONFIG_POST (CONFIG_SYS_POST_MEMORY |\
CONFIG_SYS_POST_I2C)
#define I2C_ADDR_LIST {CONFIG_SYS_I2C_DS1621_ADDR, \
CONFIG_SYS_I2C_DS4510_ADDR, \
CONFIG_SYS_I2C_EEPROM_ADDR, \
CONFIG_SYS_I2C_LM90_ADDR, \
CONFIG_SYS_I2C_PCA9553_ADDR, \
CONFIG_SYS_I2C_PCA953X_ADDR0, \
CONFIG_SYS_I2C_PCA953X_ADDR1, \
CONFIG_SYS_I2C_PCA953X_ADDR2, \
CONFIG_SYS_I2C_PCA953X_ADDR3, \
CONFIG_SYS_I2C_PEX8518_ADDR, \
CONFIG_SYS_I2C_RTC_ADDR}
/* The XPedite5170 can host an XMC which has an EEPROM at address 0x50 */
#define I2C_ADDR_IGNORE_LIST {0x50}
/*
* Memory map
@ -259,6 +274,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_SYS_I2C_DS1621_ADDR 0x48
#define CONFIG_DTT_DS1621
#define CONFIG_DTT_SENSORS { 0 }
#define CONFIG_SYS_I2C_LM90_ADDR 0x4c
/* I2C EEPROM - AT24C128B */
#define CONFIG_SYS_I2C_EEPROM_ADDR 0x54
@ -282,6 +298,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_SYS_I2C_PCA953X_ADDR2 0x1e
#define CONFIG_SYS_I2C_PCA953X_ADDR3 0x1f
#define CONFIG_SYS_I2C_PCA953X_ADDR CONFIG_SYS_I2C_PCA953X_ADDR0
#define CONFIG_SYS_I2C_PCA9553_ADDR 0x62
/*
* PU = pulled high, PD = pulled low


+ 10
- 0
include/configs/xpedite520x.h View File

@ -93,6 +93,13 @@
#define CONFIG_SYS_ALT_MEMTEST
#define CONFIG_SYS_MEMTEST_START 0x10000000
#define CONFIG_SYS_MEMTEST_END 0x20000000
#define CONFIG_POST (CONFIG_SYS_POST_MEMORY | \
CONFIG_SYS_POST_I2C)
#define I2C_ADDR_LIST {CONFIG_SYS_I2C_MAX1237_ADDR, \
CONFIG_SYS_I2C_EEPROM_ADDR, \
CONFIG_SYS_I2C_PCA953X_ADDR0, \
CONFIG_SYS_I2C_PCA953X_ADDR1, \
CONFIG_SYS_I2C_RTC_ADDR}
/*
* Memory map
@ -265,6 +272,9 @@
#define CONFIG_SYS_PCA953X_P14_IO6 0x40
#define CONFIG_SYS_PCA953X_P14_IO7 0x80
/* 12-bit ADC used to measure CPU diode */
#define CONFIG_SYS_I2C_MAX1237_ADDR 0x34
/*
* General PCI
* Memory space is mapped 1-1, but I/O space must start from 0.


+ 15
- 0
include/configs/xpedite537x.h View File

@ -111,6 +111,20 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
#define CONFIG_SYS_ALT_MEMTEST
#define CONFIG_SYS_MEMTEST_START 0x10000000
#define CONFIG_SYS_MEMTEST_END 0x20000000
#define CONFIG_POST (CONFIG_SYS_POST_MEMORY | \
CONFIG_SYS_POST_I2C)
#define I2C_ADDR_LIST {CONFIG_SYS_I2C_DS1621_ADDR, \
CONFIG_SYS_I2C_DS4510_ADDR, \
CONFIG_SYS_I2C_EEPROM_ADDR, \
CONFIG_SYS_I2C_LM90_ADDR, \
CONFIG_SYS_I2C_PCA953X_ADDR0, \
CONFIG_SYS_I2C_PCA953X_ADDR1, \
CONFIG_SYS_I2C_PCA953X_ADDR2, \
CONFIG_SYS_I2C_PCA953X_ADDR3, \
CONFIG_SYS_I2C_PEX8518_ADDR, \
CONFIG_SYS_I2C_RTC_ADDR}
/* The XPedite5370 can host an XMC which has an EEPROM at address 0x50 */
#define I2C_ADDR_IGNORE_LIST {0x50}
/*
* Memory map
@ -266,6 +280,7 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
#define CONFIG_SYS_I2C_DS1621_ADDR 0x48
#define CONFIG_DTT_DS1621
#define CONFIG_DTT_SENSORS { 0 }
#define CONFIG_SYS_I2C_LM90_ADDR 0x4c
/* I2C EEPROM - AT24C128B */
#define CONFIG_SYS_I2C_EEPROM_ADDR 0x54


Loading…
Cancel
Save