summaryrefslogtreecommitdiff
path: root/chip/lm4/config_chip.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2015-02-25 13:37:41 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-02-27 19:56:47 +0000
commit16eec7f14c4fbd947344bfb441f6e525974d4380 (patch)
tree319bd24cab453d8c4989503e68f40dd6162472d0 /chip/lm4/config_chip.h
parentca8cf312a3f75ed9e903ae6867490b8105c7a0b3 (diff)
downloadchrome-ec-16eec7f14c4fbd947344bfb441f6e525974d4380.tar.gz
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>
Diffstat (limited to 'chip/lm4/config_chip.h')
-rw-r--r--chip/lm4/config_chip.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/chip/lm4/config_chip.h b/chip/lm4/config_chip.h
index 88f6a76668..535b677701 100644
--- a/chip/lm4/config_chip.h
+++ b/chip/lm4/config_chip.h
@@ -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