diff --git a/chip/lm4/config.h b/chip/lm4/config.h index 8b953fcbc3..1891abf7bd 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 29dacffd80..b0b1a78ca1 100644 --- a/chip/lm4/openocd/lm4x_cmds.tcl +++ b/chip/lm4/openocd/lm4x_cmds.tcl @@ -17,10 +17,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 { } {