mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-05 14:31:31 +00:00
snow: ensure we have proper size in the FMAP
The size of the RW partition is size of RW-A + size of RW-B. When B is de-activated, we need to nullify its size to get the correct total size. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BUG=chrome-os-partner:8865 TEST=On Snow, flashrom -p internal:bus=lpc -i EC_RW -w ec.bin Change-Id: Id015af512f072efce5fcafc5a630845c5d9600bb
This commit is contained in:
@@ -27,7 +27,11 @@
|
||||
#define CONFIG_SECTION_A_OFF CONFIG_FW_A_OFF
|
||||
#define CONFIG_SECTION_A_SIZE CONFIG_FW_A_SIZE
|
||||
#define CONFIG_SECTION_B_OFF CONFIG_FW_B_OFF
|
||||
#ifdef CONFIG_NO_RW_B
|
||||
#define CONFIG_SECTION_B_SIZE 0
|
||||
#else /* CONFIG_NO_RW_B */
|
||||
#define CONFIG_SECTION_B_SIZE CONFIG_FW_B_SIZE
|
||||
#endif /* CONFIG_NO_RW_B */
|
||||
|
||||
/* no keys for now */
|
||||
#define CONFIG_VBOOT_ROOTKEY_OFF (CONFIG_FW_RO_OFF + CONFIG_FW_RO_SIZE)
|
||||
|
||||
Reference in New Issue
Block a user