aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/board/ait/cam_enc_4xx/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/board/ait/cam_enc_4xx/config.mk')
-rw-r--r--roms/u-boot/board/ait/cam_enc_4xx/config.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/roms/u-boot/board/ait/cam_enc_4xx/config.mk b/roms/u-boot/board/ait/cam_enc_4xx/config.mk
new file mode 100644
index 00000000..20221513
--- /dev/null
+++ b/roms/u-boot/board/ait/cam_enc_4xx/config.mk
@@ -0,0 +1,20 @@
+#
+# AIT cam_enc_4xx board
+# cam_enc_4xx board has 1 bank of 256 MB DDR RAM
+# Physical Address: 8000'0000 to 9000'0000
+#
+# Linux Kernel is expected to be at 8000'8000, entry 8000'8000
+# (mem base + reserved)
+#
+
+UBL_CONFIG = $(srctree)/board/$(BOARDDIR)/ublimage.cfg
+ifndef CONFIG_SPL_BUILD
+ALL-y += u-boot.ubl
+else
+# as SPL_TEXT_BASE is not page-aligned, we need for some
+# linkers the -n flag (Do not page align data), to prevent
+# the following error message:
+# arm-linux-ld: u-boot-spl: Not enough room for program headers, try linking
+# with -N
+LDFLAGS_u-boot-spl += -n
+endif