blob: c280029a36fee47c35aaa02f559457b746c1956e [file] [log] [blame]
Heiko Schocher4dd83492011-11-01 20:00:35 +00001#
2# AIT cam_enc_4xx board
3# cam_enc_4xx board has 1 bank of 256 MB DDR RAM
4# Physical Address: 8000'0000 to 9000'0000
5#
6# Linux Kernel is expected to be at 8000'8000, entry 8000'8000
7# (mem base + reserved)
8#
9
10#Provide at least 16MB spacing between us and the Linux Kernel image
Scott Wood74752ba2012-12-06 13:33:16 +000011CONFIG_SPL_PAD_TO := 12320
Heiko Schocher4dd83492011-11-01 20:00:35 +000012UBL_CONFIG = $(SRCTREE)/board/$(BOARDDIR)/ublimage.cfg
13ifndef CONFIG_SPL_BUILD
14ALL-y += $(obj)u-boot.ubl
Heiko Schocher24efef92012-03-07 04:10:00 +000015else
16# as SPL_TEXT_BASE is not page-aligned, we need for some
17# linkers the -n flag (Do not page align data), to prevent
18# the following error message:
19# arm-linux-ld: u-boot-spl: Not enough room for program headers, try linking
20# with -N
21LDFLAGS_u-boot-spl += -n
Heiko Schocher4dd83492011-11-01 20:00:35 +000022endif