diff options
Diffstat (limited to 'cmd/bcb.c')
-rw-r--r-- | cmd/bcb.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,6 +12,7 @@ #include <log.h> #include <part.h> #include <malloc.h> +#include <memalign.h> enum bcb_cmd { BCB_CMD_LOAD, @@ -24,7 +25,7 @@ enum bcb_cmd { static int bcb_dev = -1; static int bcb_part = -1; -static struct bootloader_message bcb = { { 0 } }; +static struct bootloader_message bcb __aligned(ARCH_DMA_MINALIGN) = { { 0 } }; static int bcb_cmd_get(char *cmd) { |