From: Simon Glass Date: Tue, 6 Nov 2018 22:21:21 +0000 (-0700) Subject: cros_ec: Align uclass data to a cache boundary X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=4bf6f2ad47f481d161876a87969c46f80a9b8e9d;p=u-boot.git 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 --- diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c index 7daf16499a..828e50eb1c 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, };