]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
ppc4xx: Add loadpci command to esd's CPCI4052 and CPCI405AB boards
authorMatthias Fuchs <matthias.fuchs@esd-electronics.com>
Fri, 2 Jan 2009 11:18:49 +0000 (12:18 +0100)
committerStefan Roese <sr@denx.de>
Wed, 14 Jan 2009 10:20:07 +0000 (11:20 +0100)
This patch adds esd's loadpci BSP command to CPCI4052 and
CPCI405AB board. This requires CONFIG_CMD_BSP and CONFIG_PRAM.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Stefan Roese <sr@denx.de>
board/esd/cpci405/Makefile
include/configs/CPCI4052.h
include/configs/CPCI405AB.h

index 3867bd809c3bc4d656c985d59290210913f6bd48..7516c2280e8d88598fd126598b2d67cd6a7c7ac8 100644 (file)
@@ -29,6 +29,7 @@ endif
 LIB    = $(obj)lib$(BOARD).a
 
 COBJS  = $(BOARD).o flash.o ../common/misc.o ../common/auto_update.o
+COBJS  += ../common/cmd_loadpci.o
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
index e231fa7058819c16701fa1b6d6a532c3eacd13ef..d0b4d113399960186a57b55f2a2672534bb635ec 100644 (file)
 #define CONFIG_SYS_MONITOR_LEN         (256 * 1024)    /* Reserve 256 kB for Monitor   */
 #define CONFIG_SYS_MALLOC_LEN          (128 * 1024)    /* Reserve 128 kB for malloc()  */
 
+#define CONFIG_PRAM            0       /* use pram variable to overwrite */
+
 /*
  * For booting Linux, the board info and command line data
  * have to be in the first 8 MB of memory, since this is
index 2319c58725c483fb97b3b078d6e3ac92cbb934b8..69c8c6eee76dc5f68e2ad94541b3b1f52c89e95b 100644 (file)
@@ -92,6 +92,7 @@
 #define CONFIG_CMD_I2C
 #define CONFIG_CMD_MII
 #define CONFIG_CMD_PING
+#define CONFIG_CMD_BSP
 #define CONFIG_CMD_EEPROM
 
 
 #define CONFIG_SYS_MONITOR_LEN         (256 * 1024)    /* Reserve 256 kB for Monitor   */
 #define CONFIG_SYS_MALLOC_LEN          (256 * 1024)    /* Reserve 256 kB for malloc()  */
 
+#define CONFIG_PRAM            0       /* use pram variable to overwrite */
+
 /*
  * For booting Linux, the board info and command line data
  * have to be in the first 8 MB of memory, since this is