diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2012-03-22 20:36:10 -0700 |
---|---|---|
committer | Vincent Palatin <vpalatin@chromium.org> | 2012-03-22 22:00:51 -0700 |
commit | cefaf59328e4b91308d0347cc1f55861e93db480 (patch) | |
tree | 1a524deb567e93fa2868ee6c4946f6c2d05a0cb1 | |
parent | e68844824b078df55c8ee19aec5d4b685d4898f5 (diff) | |
download | chrome-ec-cefaf59328e4b91308d0347cc1f55861e93db480.tar.gz |
use the full 256kB for partitions
Now Link has 256kB parts, we can restore the third partition and use 80kB partitions.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=None
TEST=on Link proto-1, try to use RO/A/B images (sysjump B, then boot).
Change-Id: I9b7e4cae1504e86a62643db4d035cc9f3de0af52
-rw-r--r-- | chip/lm4/config.h | 6 | ||||
-rw-r--r-- | chip/lm4/openocd/lm4x_cmds.tcl | 5 |
2 files changed, 3 insertions, 8 deletions
diff --git a/chip/lm4/config.h b/chip/lm4/config.h index c1f86756b9..be23840842 100644 --- a/chip/lm4/config.h +++ b/chip/lm4/config.h @@ -16,12 +16,8 @@ #define CONFIG_RAM_BASE 0x20000000 #define CONFIG_RAM_SIZE 0x00008000 -/* Disable RW.B firmware due to code size. - * TODO: Add it back when we can. */ -#define CONFIG_NO_RW_B - /* Size of one firmware image in flash */ -#define CONFIG_FW_IMAGE_SIZE (60 * 1024) +#define CONFIG_FW_IMAGE_SIZE (80 * 1024) #define CONFIG_FW_RO_OFF 0 #define CONFIG_FW_A_OFF CONFIG_FW_IMAGE_SIZE #define CONFIG_FW_B_OFF (2 * CONFIG_FW_IMAGE_SIZE) diff --git a/chip/lm4/openocd/lm4x_cmds.tcl b/chip/lm4/openocd/lm4x_cmds.tcl index d117db71f6..a4f27ba6e5 100644 --- a/chip/lm4/openocd/lm4x_cmds.tcl +++ b/chip/lm4/openocd/lm4x_cmds.tcl @@ -14,10 +14,9 @@ proc flash_lm4 {path size} { reset } -# Link proto0 has 128KB flash; proto1+ will likely have 256KB, in which -# case this'll need changing. +# Link proto0 has 128KB flash; proto1+ have 256KB proc flash_link { } { - flash_lm4 ../../../build/link/ec.bin 131072 + flash_lm4 ../../../build/link/ec.bin 262144 } proc flash_bds { } { |