diff options
author | John Rigby <jrigby@freescale.com> | 2008-02-26 09:38:14 -0700 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-02 21:44:59 +0100 |
commit | 5f91db7f582ca17b1f19f10189c025696f333d2e (patch) | |
tree | 2a5bbb89342615e82ee47312d3e00641632a26ed /Makefile | |
parent | 44b4dbed4133f657705b7c5193209da9978243a7 (diff) | |
download | u-boot-imx-5f91db7f582ca17b1f19f10189c025696f333d2e.zip u-boot-imx-5f91db7f582ca17b1f19f10189c025696f333d2e.tar.gz u-boot-imx-5f91db7f582ca17b1f19f10189c025696f333d2e.tar.bz2 |
MPC5121e ADS PCI support take 3
Adds PCI support for MPC5121
Tested with drivers/net/rtl8139.c
Support is conditional since PCI on old silicon does not work.
ads5121_PCI_config turns on PCI
In this version, condition compilation of PCI code has been moved
from ifdef in board/ads5121/pci.c to board/ads5121/Makefile as
suggested by Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: John Rigby <jrigby@freescale.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -733,8 +733,15 @@ motionpro_config: unconfig ######################################################################### ## MPC512x Systems ######################################################################### -ads5121_config: unconfig - @$(MKCONFIG) ads5121 ppc mpc512x ads5121 +ads5121_config \ +ads5121_PCI_config \ + : unconfig + @echo "" >$(obj)include/config.h + @if [ "$(findstring _PCI_,$@)" ] ; then \ + echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ + $(XECHO) "... with PCI enabled" ; \ + fi + @$(MKCONFIG) -a ads5121 ppc mpc512x ads5121 ######################################################################### |