diff options
author | Heiko Schocher <hs@denx.de> | 2014-10-31 08:30:58 +0100 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-17 08:47:16 -0500 |
commit | 7dd5891061763b92e41a8e451a43be3d14ac9b4e (patch) | |
tree | 71229e99afb62ca903cc61cf90d613f72470aae5 /arch/arm/cpu/at91-common/Makefile | |
parent | 341f548ee9f95150e64ed114361cfd5b0088f6ff (diff) | |
download | blackbird-obmc-uboot-7dd5891061763b92e41a8e451a43be3d14ac9b4e.tar.gz blackbird-obmc-uboot-7dd5891061763b92e41a8e451a43be3d14ac9b4e.zip |
arm, at91: compile mpddrc ram init code also for AT91SAM9M10G45
- compile mpddrc ram init code also for AT91SAM9M10G45
based boards.
- in CONFIG_SAMA5D3 case, look for the ATMEL_MPDDRC_CR_DECOD_INTERLEAVED
in the cr configuration
Signed-off-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com>
Reviewed-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'arch/arm/cpu/at91-common/Makefile')
-rw-r--r-- | arch/arm/cpu/at91-common/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/cpu/at91-common/Makefile b/arch/arm/cpu/at91-common/Makefile index 5b978384eb..f62863a94d 100644 --- a/arch/arm/cpu/at91-common/Makefile +++ b/arch/arm/cpu/at91-common/Makefile @@ -9,4 +9,8 @@ # obj-$(CONFIG_AT91_WANTS_COMMON_PHY) += phy.o -obj-$(CONFIG_SPL_BUILD) += mpddrc.o spl.o +ifneq ($(CONFIG_SPL_BUILD),) +obj-$(CONFIG_AT91SAM9M10G45) += mpddrc.o +obj-$(CONFIG_SAMA5D3) += mpddrc.o +obj-y += spl.o +endif |