]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/bcm2835.c
video: add CONFIG_I2C_EDID and disable CONFIG_DISPLAY by default
[u-boot] / drivers / video / bcm2835.c
index 1f18231ac69ddc3c698720b90dbd389a615f43dc..7867fe3895d00a763ff7b841554f46de1fd2ecd1 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <common.h>
 #include <lcd.h>
+#include <memalign.h>
 #include <asm/arch/mbox.h>
 #include <asm/global_data.h>
 
@@ -38,8 +39,8 @@ struct msg_setup {
 
 void lcd_ctrl_init(void *lcdbase)
 {
-       ALLOC_ALIGN_BUFFER(struct msg_query, msg_query, 1, 16);
-       ALLOC_ALIGN_BUFFER(struct msg_setup, msg_setup, 1, 16);
+       ALLOC_CACHE_ALIGN_BUFFER(struct msg_query, msg_query, 1);
+       ALLOC_CACHE_ALIGN_BUFFER(struct msg_setup, msg_setup, 1);
        int ret;
        u32 w, h;