mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-30 22:08:52 +09:00
![Ley Foon Tan](/assets/img/avatar_default.png)
Compile ALTERA_SDRAM driver in SPL only. Rename ALTERA_SDRAM to SPL_ALTERA_SDRAM. Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
14 lines
448 B
Makefile
14 lines
448 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2003
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# (C) Copyright 2010, Thomas Chou <thomas@wytron.com.tw>
|
|
# Copyright (C) 2014 Altera Corporation <www.altera.com>
|
|
|
|
ifdef CONFIG_$(SPL_)ALTERA_SDRAM
|
|
obj-$(CONFIG_TARGET_SOCFPGA_GEN5) += sdram_gen5.o sequencer.o
|
|
obj-$(CONFIG_TARGET_SOCFPGA_ARRIA10) += sdram_arria10.o
|
|
obj-$(CONFIG_TARGET_SOCFPGA_STRATIX10) += sdram_s10.o
|
|
endif
|