]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
video: lcd: prevent crash when using bmp or splashimage due to unaligned accesses
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 21 Oct 2013 13:49:39 +0000 (15:49 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 21 Oct 2013 13:49:39 +0000 (15:49 +0200)
Thereby sort the Makefile targets alphabetically

common/Makefile

index 1ced298fe2bfed8ab2a159c09f0b9fbef36c2cca..ca8b5f6931a446ad9ba376be75b091ba02b8fb9a 100644 (file)
@@ -259,8 +259,12 @@ $(obj)../tools/envcrc:
        $(MAKE) -C ../tools
 
 # SEE README.arm-unaligned-accesses
-$(obj)hush.o: CFLAGS += $(PLATFORM_NO_UNALIGNED)
+$(obj)cmd_bmp.o: CFLAGS += $(PLATFORM_NO_UNALIGNED)
 $(obj)fdt_support.o: CFLAGS += $(PLATFORM_NO_UNALIGNED)
+$(obj)hush.o: CFLAGS += $(PLATFORM_NO_UNALIGNED)
+ifneq ($(CONFIG_CMD_BMP)$(CONFIG_SPLASH_SCREEN),)
+$(obj)lcd.o: CFLAGS += $(PLATFORM_NO_UNALIGNED)
+endif
 
 #########################################################################