]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/tx53/config.mk
karo: tx53: various fixes for CONFIG_SECURE_BOOT
[karo-tx-uboot.git] / board / karo / tx53 / config.mk
index e765c3a0ddc64ab08b760e29ed8ed08fae9e20f6..55eb15e5c428b9aede69b2c8467c2f763cdc1ec3 100644 (file)
@@ -1,5 +1,13 @@
 # stack is allocated below CONFIG_SYS_TEXT_BASE
-CONFIG_SYS_TEXT_BASE := 0x70100000
+CONFIG_SYS_TEXT_BASE := 0x700ff000
+
+__HAVE_ARCH_GENERIC_BOARD := y
 
 PLATFORM_CPPFLAGS += -Werror
+ifneq ($(CONFIG_SECURE_BOOT),)
+#      promote config variable to linker script
+       PLATFORM_CPPFLAGS += -DCONFIG_SECURE_BOOT
+endif
+
 LOGO_BMP = logos/karo.bmp
+OBJCOPYFLAGS += -j .pad