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
@ -30,7 +30,8 @@
|
||||
#include <timestamp.h>
|
||||
|
||||
/* Only can represent up to 1 byte less than size_t. */
|
||||
const struct mem_region_device addrspace_32bit = MEM_REGION_DEV_INIT(0, ~0UL);
|
||||
const struct mem_region_device addrspace_32bit =
|
||||
MEM_REGION_DEV_RO_INIT(0, ~0UL);
|
||||
|
||||
int prog_locate(struct prog *prog)
|
||||
{
|
||||
|
Reference in New Issue
Block a user