UPSTREAM: region: Add writeat and eraseat support
Implement writeat and eraseat support into the region_device_ops struct. Change-Id: Iac2cf32e523d2f19ee9e5feefe1fba8c68982f3d Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/15318 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/356459 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
eb98c43b20
commit
352e7547f3
11 changed files with 237 additions and 34 deletions
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
/* FIXME: No idea how big the internal SRAM actually is. */
|
||||
static const struct mem_region_device boot_dev =
|
||||
MEM_REGION_DEV_INIT(_dram, CONFIG_ROM_SIZE);
|
||||
MEM_REGION_DEV_RO_INIT(_dram, CONFIG_ROM_SIZE);
|
||||
|
||||
const struct region_device *boot_device_ro(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue