mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 14:41:26 +01:00
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>
This commit is contained in:
parent
dc05ac0f2f
commit
4bf6f2ad47
@ -1152,4 +1152,5 @@ UCLASS_DRIVER(cros_ec) = {
|
|||||||
.name = "cros_ec",
|
.name = "cros_ec",
|
||||||
.per_device_auto_alloc_size = sizeof(struct cros_ec_dev),
|
.per_device_auto_alloc_size = sizeof(struct cros_ec_dev),
|
||||||
.post_bind = dm_scan_fdt_dev,
|
.post_bind = dm_scan_fdt_dev,
|
||||||
|
.flags = DM_UC_FLAG_ALLOC_PRIV_DMA,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user