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
(cherry picked from commit cefaf59328e4b91308d0347cc1f55861e93db480)
This commit is contained in:
Vincent Palatin
2012-03-22 20:36:10 -07:00
parent 1e35906acd
commit d8541f29c8
2 changed files with 3 additions and 8 deletions

View File

@@ -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)

View File

@@ -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 { } {