firmware: Split RO/RX and RW sections
authorHimanshu Chauhan <hchauhan@ventanamicro.com>
Thu, 19 Jan 2023 15:18:22 +0000 (20:48 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 23 Jan 2023 04:36:14 +0000 (10:06 +0530)
commitfefa5488038584a6376a8f361e74ccc2183dd50b
tree28820c8d36a8d4029aceb2c7889de2a8d6bee3d6
parenta990309fa362aa050caf7fb175f35c7bfa486ccc
firmware: Split RO/RX and RW sections

Split the RO/RX and RW sections so that they can have
independent pmp entries with required permissions. The
split size is ensured to be a power-of-2 as required by
pmp.

_fw_rw_offset symbol marks the beginning of the data
section.

Signed-off-by: Himanshu Chauhan <hchauhan@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
firmware/fw_base.ldS