diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-09-12 11:28:11 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-09-12 14:17:12 -0700 |
commit | 0ac4bc36537ce3ee98a3ce3068a79919cd9804d3 (patch) | |
tree | 82604ce07e7910e9ac82640072644aba16b74f9a /board/bds | |
parent | e212b100cc6473984c0f1a2f2fe7cc9012ddd66b (diff) | |
download | chrome-ec-0ac4bc36537ce3ee98a3ce3068a79919cd9804d3.tar.gz |
link: disable unused EEPROM modules
Haven't found a use for these, so remove to reduce code size (reduces
binary by 2KB) / complexity.
These are still test-compiled on BDS so they'll be ready if needed.
BUG=chrome-os-partner:11232
BRANCH=link
TEST=build and boot firmware. 'help' should not show eeread/eewrite commands
Change-Id: I0f2e41e21efcbbb0967a5b85b7c8a2ff8147460e
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/33112
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/bds')
-rw-r--r-- | board/bds/board.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/bds/board.h b/board/bds/board.h index 6d5cbeaec2..aa0d61f197 100644 --- a/board/bds/board.h +++ b/board/bds/board.h @@ -16,6 +16,11 @@ #define CONFIG_CONSOLE_CMDHELP #define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands */ +/* LM4 modules we don't use on link but still want to keep compiling */ +#define CONFIG_EEPROM +#define CONFIG_EOPTION +#define CONFIG_PSTORE + #ifndef __ASSEMBLER__ enum adc_channel @@ -43,6 +48,11 @@ enum gpio_signal { GPIO_COUNT }; +/* EEPROM blocks */ +#define EEPROM_BLOCK_EOPTION 1 /* EC persistent options */ +#define EEPROM_BLOCK_START_PSTORE 16 /* Host persistent storage */ +#define EEPROM_BLOCK_COUNT_PSTORE 16 + /* Target value for BOOTCFG. This currently toggles the polarity bit without * enabling the boot loader, simply to prove we can program it. */ #define BOOTCFG_VALUE 0xfffffdfe |