aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorRui Miguel Silva <rui.silva@linaro.org>2023-06-12 09:09:20 +0100
committerTom Rini <trini@konsulko.com>2023-06-19 14:34:16 -0400
commit3e41ebaa467763cfa0957d3a0944bdc960033839 (patch)
tree086f83a2501521b19d3c805776d07ca2eeae08c9 /board
parent17c744c3eaf69e195eee291b06d0c2577b334741 (diff)
downloadu-boot-3e41ebaa467763cfa0957d3a0944bdc960033839.zip
u-boot-3e41ebaa467763cfa0957d3a0944bdc960033839.tar.gz
u-boot-3e41ebaa467763cfa0957d3a0944bdc960033839.tar.bz2
corstone1000: add nvmxip, fwu-mdata and gpt optionsWIP/2023-06-19-corstone1000-fwu-updates
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 <rui.silva@linaro.org>
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 a456744..01c80aa 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 b24ff07..ee318b1 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