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>
This commit is contained in:
committed by
Martin Roth
parent
5992afa57d
commit
e5f48d20e7
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user