]> git.sur5r.net Git - u-boot/blobdiff - Makefile
powerpc: net: support for the SMSC LAN8700 PHY
[u-boot] / Makefile
index 4aeae074a51c13d177db23b651ee95bf549322d9..8c735866c1549733a0dce0419ad73a94c0c08c21 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2416,8 +2416,14 @@ MPC8555CDS_config:       unconfig
 MPC8568MDS_config:     unconfig
        @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds freescale
 
+MPC8572DS_36BIT_config \
 MPC8572DS_config:       unconfig
-       @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8572ds freescale
+       @mkdir -p $(obj)include
+       @if [ "$(findstring _36BIT_,$@)" ] ; then \
+               echo "#define CONFIG_PHYS_64BIT" >>$(obj)include/config.h ; \
+               $(XECHO) "... enabling 36-bit physical addressing." ; \
+       fi
+       @$(MKCONFIG) -a MPC8572DS ppc mpc85xx mpc8572ds freescale
 
 PM854_config:  unconfig
        @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854