summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Fennema <fennema@google.com>2016-04-26 19:27:39 -0700
committerBen Fennema <fennema@google.com>2016-04-26 19:34:57 -0700
commit0fec99fa46fe3eefac49b82d710a4be8b012b22a (patch)
tree89cd96468410eb4e53ab65e211f0098796e5727c
parent6fddab4a17b8dcac3b7e42e6c96112d72d14f146 (diff)
downloadmediatek-0fec99fa46fe3eefac49b82d710a4be8b012b22a.tar.gz
nanohub: move kernel area to last flash bank
Bug: 27084591 Change-Id: I9d74515bf57e661a0e0cae2a01ddd848a432ded5 Signed-off-by: Ben Fennema <fennema@google.com>
-rw-r--r--arch/arm/mach-mt2601/mt_devs.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/arm/mach-mt2601/mt_devs.c b/arch/arm/mach-mt2601/mt_devs.c
index 0955b39d8344..73b97c8e5e09 100644
--- a/arch/arm/mach-mt2601/mt_devs.c
+++ b/arch/arm/mach-mt2601/mt_devs.c
@@ -580,32 +580,32 @@ static struct nanohub_flash_bank nanohub_flash_banks[] = {
.length = 0x04000,
},
[1] = {
+ .bank = 7,
+ .address = 0x08060000,
+ .length = 0x20000,
+ }
+};
+
+static struct nanohub_flash_bank nanohub_shared_flash_banks[] = {
+ [0] = {
.bank = 3,
.address = 0x0800C000,
.length = 0x04000,
},
- [2] = {
+ [1] = {
.bank = 4,
.address = 0x08010000,
.length = 0x10000,
- }
-};
-
-static struct nanohub_flash_bank nanohub_shared_flash_banks[] = {
- [0] = {
+ },
+ [2] = {
.bank = 5,
.address = 0x08020000,
.length = 0x20000,
},
- [1] = {
+ [3] = {
.bank = 6,
.address = 0x08040000,
.length = 0x20000,
- },
- [2] = {
- .bank = 7,
- .address = 0x08060000,
- .length = 0x20000,
}
};