
On Sep 18, 2009, at 6:08 PM, Paul Gortmaker wrote:
Prior to this commit, to enable PCI, you had to go manually edit the board config header, and if you had 33MHz PCI, you had to manually change CONFIG_SYS_NS16550_CLK too, which was not real user friendly,
This adds the typical PCI and clock speed 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
MAKEALL | 4 ++++ Makefile | 26 ++++++++++++++++++++++++-- include/configs/sbc8548.h | 13 ++++++++----- 3 files changed, 36 insertions(+), 7 deletions(-)
diff --git a/MAKEALL b/MAKEALL index 1d50c34..b394adb 100755 --- a/MAKEALL +++ b/MAKEALL @@ -399,6 +399,10 @@ LIST_85xx=" \ PM856 \ sbc8540 \ sbc8548 \
- sbc8548_PCI_33 \
- sbc8548_PCI_66 \
- sbc8548_PCI_33_PCIE \
- sbc8548_PCI_66_PCIE \ sbc8560 \ socrates \ stxgp3 \
diff --git a/Makefile b/Makefile index 0b61d05..28b20af 100644 --- a/Makefile +++ b/Makefile @@ -2570,8 +2570,30 @@ sbc8540_66_config: unconfig fi @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
-sbc8548_config: unconfig
- @$(MKCONFIG) $(@:_config=) ppc mpc85xx sbc8548
+sbc8548_config \ +sbc8548_PCI_33_config \ +sbc8548_PCI_66_config \ +sbc8548_PCI_33_PCIE_config \ +sbc8548_PCI_66_PCIE_config: unconfig
- @mkdir -p $(obj)include
Use the new -t option to mkconfig:
commit 804d83a563c47b55e1f14f5de3b6e9d7e2a7ef5e Author: Wolfgang Denk wd@denx.de Date: Tue Sep 15 22:12:31 2009 +0200
mkconfig: split the board make target to multiple config targets
To simplify the top level makefile it useful to be able to parse the top level makefile target to multiple individual target, then put them to the config.h, leave the board config file to handle the different targets.
Note that this method uses the '_'(underline) as the delimiter when splits the board make target.
Signed-off-by: Mingkai Hu Mingkai.hu@freescale.com
This also reverts commit 511c02f611cb5afa1b8ca5980caaaabaa0de377f.
Signed-off-by: Wolfgang Denk wd@denx.de
- k