projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc05ac0
)
cros_ec: Align uclass data to a cache boundary
author
Simon Glass
<sjg@chromium.org>
Tue, 6 Nov 2018 22:21:21 +0000
(15:21 -0700)
committer
Simon Glass
<sjg@chromium.org>
Wed, 21 Nov 2018 02:14:22 +0000
(19:14 -0700)
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>
drivers/misc/cros_ec.c
patch
|
blob
|
history
diff --git
a/drivers/misc/cros_ec.c
b/drivers/misc/cros_ec.c
index 7daf16499aa65440e41544e0f93f0226640ab91a..828e50eb1cc9d11e5eeed710f2b564be1ac54492 100644
(file)
--- 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,
};