mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
Remove unused CONFIG_PSTATE_AT_END option
All current boards in ToT place pstate at the end of the RO section. Remove the unused option to place it at the end of the RW section; we'll never do that again. BUG=none BRANCH=none TEST=make buildall -j Change-Id: I0d279a4c9786bb33367a7387423481cc9b94e115 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/253636 Reviewed-by: Shawn N <shawnn@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
ca8cf312a3
commit
16eec7f14c
@@ -15,23 +15,13 @@
|
||||
*/
|
||||
#define CONFIG_FW_PSTATE_SIZE CONFIG_FLASH_BANK_SIZE
|
||||
|
||||
#ifdef CONFIG_PSTATE_AT_END
|
||||
/* PSTATE is at end of flash */
|
||||
#define CONFIG_FW_RO_SIZE CONFIG_FW_IMAGE_SIZE
|
||||
#define CONFIG_FW_PSTATE_OFF (CONFIG_FLASH_PHYSICAL_SIZE \
|
||||
- CONFIG_FW_PSTATE_SIZE)
|
||||
/* Don't claim PSTATE is part of flash */
|
||||
#define CONFIG_FLASH_SIZE CONFIG_FW_PSTATE_OFF
|
||||
|
||||
#else
|
||||
/* PSTATE immediately follows RO, in the first half of flash */
|
||||
#define CONFIG_FW_RO_SIZE (CONFIG_FW_IMAGE_SIZE \
|
||||
- CONFIG_FW_PSTATE_SIZE)
|
||||
#define CONFIG_FW_PSTATE_OFF CONFIG_FW_RO_SIZE
|
||||
#define CONFIG_FLASH_SIZE CONFIG_FLASH_PHYSICAL_SIZE
|
||||
#endif
|
||||
|
||||
/* Either way, RW firmware is one firmware image offset from the start */
|
||||
/* RW firmware is one firmware image offset from the start */
|
||||
#define CONFIG_FW_RW_OFF CONFIG_FW_IMAGE_SIZE
|
||||
#define CONFIG_FW_RW_SIZE CONFIG_FW_IMAGE_SIZE
|
||||
|
||||
|
||||
@@ -69,23 +69,13 @@
|
||||
*/
|
||||
#define CONFIG_FW_PSTATE_SIZE CONFIG_FLASH_BANK_SIZE
|
||||
|
||||
#ifdef CONFIG_PSTATE_AT_END
|
||||
/* PSTATE is at end of flash */
|
||||
#define CONFIG_FW_RO_SIZE CONFIG_FW_IMAGE_SIZE
|
||||
#define CONFIG_FW_PSTATE_OFF (CONFIG_FLASH_PHYSICAL_SIZE \
|
||||
- CONFIG_FW_PSTATE_SIZE)
|
||||
/* Don't claim PSTATE is part of flash */
|
||||
#define CONFIG_FLASH_SIZE CONFIG_FW_PSTATE_OFF
|
||||
|
||||
#else
|
||||
/* PSTATE immediately follows RO, in the first half of flash */
|
||||
#define CONFIG_FW_RO_SIZE (CONFIG_FW_IMAGE_SIZE \
|
||||
- CONFIG_FW_PSTATE_SIZE)
|
||||
#define CONFIG_FW_PSTATE_OFF CONFIG_FW_RO_SIZE
|
||||
#define CONFIG_FLASH_SIZE CONFIG_FLASH_PHYSICAL_SIZE
|
||||
#endif
|
||||
|
||||
/* Either way, RW firmware is one firmware image offset from the start */
|
||||
/* RW firmware is one firmware image offset from the start */
|
||||
#define CONFIG_FW_RW_OFF CONFIG_FW_IMAGE_SIZE
|
||||
#define CONFIG_FW_RW_SIZE CONFIG_FW_IMAGE_SIZE
|
||||
|
||||
|
||||
@@ -83,23 +83,13 @@
|
||||
*/
|
||||
#define CONFIG_FW_PSTATE_SIZE CONFIG_FLASH_BANK_SIZE
|
||||
|
||||
#ifdef CONFIG_PSTATE_AT_END
|
||||
/* PSTATE is at end of flash */
|
||||
#define CONFIG_FW_RO_SIZE CONFIG_FW_IMAGE_SIZE
|
||||
#define CONFIG_FW_PSTATE_OFF (CONFIG_FLASH_PHYSICAL_SIZE \
|
||||
- CONFIG_FW_PSTATE_SIZE)
|
||||
/* Don't claim PSTATE is part of flash */
|
||||
#define CONFIG_FLASH_SIZE CONFIG_FW_PSTATE_OFF
|
||||
|
||||
#else
|
||||
/* PSTATE immediately follows RO, in the first half of flash */
|
||||
#define CONFIG_FW_RO_SIZE (CONFIG_FW_IMAGE_SIZE \
|
||||
- CONFIG_FW_PSTATE_SIZE)
|
||||
#define CONFIG_FW_PSTATE_OFF CONFIG_FW_RO_SIZE
|
||||
#define CONFIG_FLASH_SIZE CONFIG_FLASH_PHYSICAL_SIZE
|
||||
#endif
|
||||
|
||||
/* Either way, RW firmware is one firmware image offset from the start */
|
||||
/* RW firmware is one firmware image offset from the start */
|
||||
#define CONFIG_FW_RW_OFF CONFIG_FW_IMAGE_SIZE
|
||||
#define CONFIG_FW_RW_SIZE CONFIG_FW_IMAGE_SIZE
|
||||
|
||||
|
||||
@@ -970,14 +970,6 @@
|
||||
/* Compile common code for AP power state machine */
|
||||
#undef CONFIG_POWER_COMMON
|
||||
|
||||
/*
|
||||
* The EC stores persistent state information for flash write protect in a
|
||||
* block of flash. If this option is defined, the information is in the last
|
||||
* bank of flash, instead of the last bank in the nominally read-only section
|
||||
* of flash.
|
||||
*/
|
||||
#undef CONFIG_PSTATE_AT_END
|
||||
|
||||
/* Use part of the EC's data EEPROM to hold persistent storage for the AP. */
|
||||
#undef CONFIG_PSTORE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user