aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass2018-11-06 15:21:21 -0700
committerSimon Glass2018-11-20 19:14:22 -0700
commit4bf6f2ad47f481d161876a87969c46f80a9b8e9d (patch)
treeb116dbc3723d889a87f52463ecbf4cb97698f0d6 /drivers
parentdc05ac0f2f3a5b2f301e2790afe45cb11cf0258f (diff)
cros_ec: Align uclass data to a cache boundary
The LPC driver expects its buffer to be word-aligned. Add the required flag to the uclass driver to ensure this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/cros_ec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c
index 7daf16499aa..828e50eb1cc 100644
--- a/drivers/misc/cros_ec.c
+++ b/drivers/misc/cros_ec.c
@@ -1152,4 +1152,5 @@ UCLASS_DRIVER(cros_ec) = {
.name = "cros_ec",
.per_device_auto_alloc_size = sizeof(struct cros_ec_dev),
.post_bind = dm_scan_fdt_dev,
+ .flags = DM_UC_FLAG_ALLOC_PRIV_DMA,
};