add support for using spl code on at91sam9260 and at91sam9g45 based boards. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Bo Shen <voice.shen@atmel.com> Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com> [adopt Bo's change in spl.c] Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
18 lines
446 B
Makefile
18 lines
446 B
Makefile
#
|
|
# (C) Copyright 2000-2008
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# (C) Copyright 2013 Atmel Corporation
|
|
# Bo Shen <voice.shen@atmel.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-$(CONFIG_AT91_WANTS_COMMON_PHY) += phy.o
|
|
ifneq ($(CONFIG_SPL_BUILD),)
|
|
obj-$(CONFIG_AT91SAM9G20) += sdram.o spl_at91.o
|
|
obj-$(CONFIG_AT91SAM9M10G45) += mpddrc.o spl_at91.o
|
|
obj-$(CONFIG_SAMA5D3) += mpddrc.o spl_atmel.o
|
|
obj-y += spl.o
|
|
endif
|