summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-02-07 12:13:53 -0500
committerTom Rini <trini@konsulko.com>2022-02-07 12:13:53 -0500
commit8b139f4e1c08c4ffb1a8e739db128ed02cbc637f (patch)
tree0bff6bd0fadc7230538d712b1b1f112e424dbea0 /cmd
parentb5c5b9a0bee56030f9f05ece52334b5207b72673 (diff)
parent530780a69cb5d32a7794dcc322afaa25cdbdab96 (diff)
Merge tag 'u-boot-imx-20220207' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
u-boot-imx-20211022 ------------------- CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/10887 - imx8 : Toradex Verdin MX8M Plus Kontron pitx-imx8m - imx8ulp: several fixes and improvements - imx6ull fixes - switching to binman
Diffstat (limited to 'cmd')
-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)
{