aboutsummaryrefslogtreecommitdiff
path: root/cmd/bcb.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/bcb.c')
-rw-r--r--cmd/bcb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/bcb.c b/cmd/bcb.c
index 6b6f1e9a2f..92f4d27990 100644
--- a/cmd/bcb.c
+++ b/cmd/bcb.c
@@ -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)
{