firmware: Add RW section offset in scratch
authorHimanshu Chauhan <hchauhan@ventanamicro.com>
Thu, 19 Jan 2023 15:18:24 +0000 (20:48 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 23 Jan 2023 04:36:14 +0000 (10:06 +0530)
commitc10e3fe5f9a14de3f001a6b007b7d9f117858dff
treecea7c7990e4c2a74aa0589a9baaf357e37905433
parent2f40a99c9e0876ac543e918191b2e06ab8a0fdc5
firmware: Add RW section offset in scratch

Add the RW section offset, provided by _fw_rw_offset symbol,
to the scratch structure. This will be used to program
separate pmp entry for RW section.

Signed-off-by: Himanshu Chauhan <hchauhan@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
firmware/fw_base.S
include/sbi/sbi_scratch.h