diff options
author | Fred Fan <r01011@freescale.com> | 2009-02-25 13:53:30 +0800 |
---|---|---|
committer | Fred Fan <r01011@freescale.com> | 2009-09-10 14:29:26 +0800 |
commit | a7a74cdb675607022692b15459dbfeb2cb1b5903 (patch) | |
tree | ee0ce21421c1678b0e5a6f1a7d969e4ecd9c8637 /drivers | |
parent | 765b588dba3e1672d66f6e63727b5f6691424e5e (diff) | |
download | u-boot-imx-a7a74cdb675607022692b15459dbfeb2cb1b5903.zip u-boot-imx-a7a74cdb675607022692b15459dbfeb2cb1b5903.tar.gz u-boot-imx-a7a74cdb675607022692b15459dbfeb2cb1b5903.tar.bz2 |
ENGR00108473 Porting i.MX51 3stack TO2 support to V2009.01
Support i.MX51 TO2.0 3stack board. And enable LAN9217 support.
NAND is not supported in this patch.
Signed-off-by: Fred Fan <r01011@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/nand/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/smc911x.c | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 2adf485..a1a7579 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile @@ -48,6 +48,7 @@ COBJS-$(CONFIG_NAND_OMAP_GPMC) += omap_gpmc.o COBJS-$(CONFIG_NAND_PLAT) += nand_plat.o COBJS-$(CONFIG_MX31_NAND) += mx31_nand.o COBJS-$(CONFIG_MX35) += mxc_nand.o +COBJS-$(CONFIG_MX51) += mxc_nand.o endif COBJS := $(COBJS-y) diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 5c00028..6cea1ba 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -36,6 +36,14 @@ u32 pkt_data_pull(struct eth_device *dev, u32 addr) \ __attribute__ ((weak, alias ("smc911x_reg_read"))); void pkt_data_push(struct eth_device *dev, u32 addr, u32 val) \ __attribute__ ((weak, alias ("smc911x_reg_write"))); +#ifndef CONFIG_DRIVER_SMC911X_BASE +#ifdef CONFIG_DRIVER_SMC911X_BASE_VARIABLE +extern u32 CONFIG_DRIVER_SMC911X_BASE_VARIABLE; +#define CONFIG_DRIVER_SMC911X_BASE CONFIG_DRIVER_SMC911X_BASE_VARIABLE +#else +#error "Please define base constant or variable!" +#endif +#endif #if defined (CONFIG_DRIVER_SMC911X_32_BIT) static inline u32 smc911x_reg_read(u32 addr) |