summaryrefslogtreecommitdiff
path: root/chip/ish/aontaskfw
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2019-05-13 14:20:42 -0600
committerchrome-bot <chrome-bot@chromium.org>2019-05-16 09:04:09 -0700
commitebf10d6bd404a7ffe30580b223160926ed1ff036 (patch)
tree42dec4d96698b9f8e18660890082773b70d0cf4c /chip/ish/aontaskfw
parentaaba1d5efd51082d143ce2ac64e6caf9cb14d5e5 (diff)
downloadchrome-ec-ebf10d6bd404a7ffe30580b223160926ed1ff036.tar.gz
ish: increase AON ROM size by 256 bytes
We need to reserve some space in AON persistent memory not to be used by the shim loader. This memory will be used for panic data, reset flags, and watchdog reset counter. We can reduce the size of the panic data for further soft-registers, as needed. Each of these things will be moved into the reserved section in a child CL. BUG=b:132457636 BRANCH=none TEST=entered d0i0, d0i1, d0i2, d0i3, and rebooted to test aontaskfw is working Change-Id: I41f39d28a6b5a3424f1c89b0e0884e72df04225f Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1610997 Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'chip/ish/aontaskfw')
-rw-r--r--chip/ish/aontaskfw/ish_aontask.ld.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/chip/ish/aontaskfw/ish_aontask.ld.in b/chip/ish/aontaskfw/ish_aontask.ld.in
index 55ae99a88c..a839146a92 100644
--- a/chip/ish/aontaskfw/ish_aontask.ld.in
+++ b/chip/ish/aontaskfw/ish_aontask.ld.in
@@ -23,9 +23,13 @@ ENTRY(ish_aon_main);
/**
* AON memory layout
- * --------------+--------------+-------------------+-------------------+
- * | RAM_LEN | STACK_SIZE | 8 Bytes for GDB | ROM(128 Bytes) |
- * --------------+--------------+-------------------+-------------------+
+ * +---------+------------+-----------------+-----------------+
+ * | RAM_LEN | STACK_SIZE | 8 Bytes for GDB | ROM (384 Bytes) |
+ * +---------+------------+-----------------+-----------------+
+ *
+ * The first 256 bytes of the AON ROM is reserved for ECOS use.
+ * The remaining 128 bytes of the AON ROM may be used by the shim
+ * loader.
*/
MEMORY