summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorRui Miguel Silva <[email protected]>2023-06-12 09:09:20 +0100
committerTom Rini <[email protected]>2023-06-19 14:34:16 -0400
commit3e41ebaa467763cfa0957d3a0944bdc960033839 (patch)
tree086f83a2501521b19d3c805776d07ca2eeae08c9 /board
parent17c744c3eaf69e195eee291b06d0c2577b334741 (diff)
corstone1000: add nvmxip, fwu-mdata and gpt options
Enable the newest features: nvmxip, fwu-metadata and gpt. Commands to print the partition info, gpt info and fwu metadata will be available. Adjust also env boot script the address of the bootbank with the new gpt layout, and also remove the not needed kernel address bank0 and bank1 and retrieve function that would test the bank flag before and now we are getting the info from the fwu metadata. Signed-off-by: Rui Miguel Silva <[email protected]>
Diffstat (limited to 'board')
-rw-r--r--board/armltd/corstone1000/corstone1000.c1
-rw-r--r--board/armltd/corstone1000/corstone1000.env10
2 files changed, 2 insertions, 9 deletions
diff --git a/board/armltd/corstone1000/corstone1000.c b/board/armltd/corstone1000/corstone1000.c
index a4567449f1b..01c80aaf9d7 100644
--- a/board/armltd/corstone1000/corstone1000.c
+++ b/board/armltd/corstone1000/corstone1000.c
@@ -10,6 +10,7 @@
#include <cpu_func.h>
#include <dm.h>
#include <env.h>
+#include <fwu.h>
#include <netdev.h>
#include <nvmxip.h>
#include <part.h>
diff --git a/board/armltd/corstone1000/corstone1000.env b/board/armltd/corstone1000/corstone1000.env
index b24ff07fc6b..ee318b1b1c3 100644
--- a/board/armltd/corstone1000/corstone1000.env
+++ b/board/armltd/corstone1000/corstone1000.env
@@ -1,13 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0+ */
usb_pgood_delay=250
-boot_bank_flag=0x08002000
-kernel_addr_bank_0=0x083EE000
-kernel_addr_bank_1=0x0936E000
-retrieve_kernel_load_addr=
- if itest.l *${boot_bank_flag} == 0; then
- setenv kernel_addr $kernel_addr_bank_0;
- else
- setenv kernel_addr $kernel_addr_bank_1;
- fi;
+boot_bank_flag=0x08005006
kernel_addr_r=0x88200000