]> 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 09d6709dfea90bb405122eed42ad42d4effc4a73..55eb15e5c428b9aede69b2c8467c2f763cdc1ec3 100644 (file)
@@ -2,6 +2,12 @@
 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