edb4702533
This code is ported from the Marvell bin_hdr code into mainline SPL U-Boot. It needs to be executed very early so that the devices connected to the serdes PHY are configured correctly. Signed-off-by: Stefan Roese <sr@denx.de>
27 lines
431 B
Makefile
27 lines
431 B
Makefile
#
|
|
# Copyright (C) 2014-2015 Stefan Roese <sr@denx.de>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifdef CONFIG_KIRKWOOD
|
|
|
|
obj-y = dram.o
|
|
obj-y += gpio.o
|
|
obj-y += timer.o
|
|
|
|
else
|
|
|
|
obj-y = cpu.o
|
|
obj-y += dram.o
|
|
obj-y += gpio.o
|
|
obj-y += mbus.o
|
|
obj-y += timer.o
|
|
obj-$(CONFIG_SPL_BUILD) += spl.o
|
|
obj-$(CONFIG_SPL_BUILD) += lowlevel_spl.o
|
|
|
|
obj-$(CONFIG_SYS_MVEBU_DDR_A38X) += serdes/a38x/
|
|
obj-$(CONFIG_SYS_MVEBU_DDR_AXP) += serdes/axp/
|
|
|
|
endif
|