diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2009-08-21 16:21:58 -0500 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2009-08-21 17:09:21 -0500 |
commit | c0d660fbbede322648ec79d3e39389e48f5fab24 (patch) | |
tree | e41040f048252a48c91a4645f7d88dc52910678b /Makefile | |
parent | 1aada9cd643567d351667138851e9231ccfa245a (diff) | |
download | u-boot-imx-c0d660fbbede322648ec79d3e39389e48f5fab24.zip u-boot-imx-c0d660fbbede322648ec79d3e39389e48f5fab24.tar.gz u-boot-imx-c0d660fbbede322648ec79d3e39389e48f5fab24.tar.bz2 |
mpc83xx: sbc8349 - make enabling PCI more user friendly
Prior to this commit, to enable PCI, you had to go manually
edit the board config header, which isn't really user friendly.
This adds the typical PCI make targets to the toplevel Makefile
in accordance with what is being done with other boards.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -2380,8 +2380,23 @@ MPC837XERDB_config: unconfig MVBLM7_config: unconfig @$(MKCONFIG) $(@:_config=) ppc mpc83xx mvblm7 matrix_vision -sbc8349_config: unconfig - @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349 +sbc8349_config \ +sbc8349_PCI_33_config \ +sbc8349_PCI_66_config: unconfig + @mkdir -p $(obj)include + @if [ "$(findstring _PCI_,$@)" ] ; then \ + $(XECHO) -n "... PCI HOST at " ; \ + echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ + fi ; \ + if [ "$(findstring _33_,$@)" ] ; then \ + $(XECHO) -n "33MHz... " ; \ + echo "#define PCI_33M" >>$(obj)include/config.h ; \ + fi ; \ + if [ "$(findstring _66_,$@)" ] ; then \ + $(XECHO) -n "66MHz... " ; \ + echo "#define PCI_66M" >>$(obj)include/config.h ; \ + fi ; + @$(MKCONFIG) -a sbc8349 ppc mpc83xx sbc8349 SIMPC8313_LP_config \ SIMPC8313_SP_config: unconfig |