]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - config.mk
Fix 440GR to print correct cpu revision
[people/ms/u-boot.git] / config.mk
index 218239120374bddcf46fce51e6c1657ac0406dbf..ff83091746887aad0e44a0e03113c75863f68a91 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -59,6 +59,9 @@ endif
 ifdef  CPU
 sinclude $(TOPDIR)/cpu/$(CPU)/config.mk        # include  CPU  specific rules
 endif
+ifdef  SOC
+sinclude $(TOPDIR)/cpu/$(CPU)/$(SOC)/config.mk # include  SoC  specific rules
+endif
 ifdef  VENDOR
 BOARDDIR = $(VENDOR)/$(BOARD)
 else
@@ -158,6 +161,10 @@ BFD_ROOT_DIR =             /opt/powerpc
 endif
 endif
 
+ifeq ($(PCI_CLOCK),PCI_66M)
+CFLAGS := $(CFLAGS) -DPCI_66M
+endif
+
 #########################################################################
 
 export CONFIG_SHELL HPATH HOSTCC HOSTCFLAGS CROSS_COMPILE \