summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/ish/aontaskfw/ish_aontask.ld.in10
-rw-r--r--chip/ish/config_chip.h2
-rw-r--r--chip/ish/registers.h2
3 files changed, 9 insertions, 5 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
diff --git a/chip/ish/config_chip.h b/chip/ish/config_chip.h
index e82aad8ed3..9d42f7a0a8 100644
--- a/chip/ish/config_chip.h
+++ b/chip/ish/config_chip.h
@@ -49,7 +49,7 @@
#endif
/* The end of the AON memory is reserved for read-only use */
-#define CONFIG_AON_ROM_SIZE 0x80
+#define CONFIG_AON_ROM_SIZE 0x180
#define CONFIG_AON_ROM_BASE (CONFIG_AON_RAM_BASE \
+ CONFIG_AON_RAM_SIZE \
- CONFIG_AON_ROM_SIZE)
diff --git a/chip/ish/registers.h b/chip/ish/registers.h
index 15321c6d83..b00cce72e5 100644
--- a/chip/ish/registers.h
+++ b/chip/ish/registers.h
@@ -343,7 +343,7 @@ enum ish_i2c_port {
#define SNOWBALL_BASE IPC_ISH2PMC_MSG_BASE
#else
/* from ISH4, used reserved rom part of AON memory */
-#define SNOWBALL_BASE CONFIG_AON_ROM_BASE
+#define SNOWBALL_BASE (CONFIG_AON_ROM_BASE + 256)
#endif
/**