mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
xes: Consolidate checkboard()
Create a common checkboard() function to support all X-ES's Freescale boards. Also, add a get_board_derivative() function which reads hardware strapping resistors to determine what model a board is. This allows one U-Boot image to support multiple boards. Signed-off-by: John Schmoller <jschmoller@xes-inc.com> Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
committed by
Kumar Gala
parent
96d6160324
commit
92af6549b8
@@ -33,6 +33,7 @@
|
||||
/* High Level Configuration Options */
|
||||
#define CONFIG_XPEDITE1000 1
|
||||
#define CONFIG_SYS_BOARD_NAME "XPedite1000"
|
||||
#define CONFIG_SYS_FORM_PMC 1
|
||||
#define CONFIG_4xx 1 /* ... PPC4xx family */
|
||||
#define CONFIG_440 1
|
||||
#define CONFIG_440GX 1 /* 440 GX */
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#define CONFIG_MPC8641 1 /* MPC8641 specific */
|
||||
#define CONFIG_XPEDITE5140 1 /* MPC8641HPCN board specific */
|
||||
#define CONFIG_SYS_BOARD_NAME "XPedite5170"
|
||||
#define CONFIG_SYS_FORM_3U_VPX 1
|
||||
#define CONFIG_LINUX_RESET_VEC 0x100 /* Reset vector used by Linux */
|
||||
#define CONFIG_BOARD_EARLY_INIT_R /* Call board_pre_init */
|
||||
#define CONFIG_BAT_RW 1 /* Use common BAT rw code */
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#define CONFIG_MPC8548 1
|
||||
#define CONFIG_XPEDITE5200 1
|
||||
#define CONFIG_SYS_BOARD_NAME "XPedite5200"
|
||||
#define CONFIG_SYS_FORM_PMC_XMC 1
|
||||
#define CONFIG_BOARD_EARLY_INIT_R /* Call board_pre_init */
|
||||
|
||||
#ifndef CONFIG_SYS_TEXT_BASE
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#define CONFIG_MPC8572 1
|
||||
#define CONFIG_XPEDITE5370 1
|
||||
#define CONFIG_SYS_BOARD_NAME "XPedite5370"
|
||||
#define CONFIG_SYS_FORM_3U_VPX 1
|
||||
#define CONFIG_BOARD_EARLY_INIT_R /* Call board_pre_init */
|
||||
|
||||
#ifndef CONFIG_SYS_TEXT_BASE
|
||||
|
||||
Reference in New Issue
Block a user