diff options
author | Rui Miguel Silva <rui.silva@linaro.org> | 2023-06-12 11:09:20 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-06-19 21:34:16 +0300 |
commit | 3e41ebaa467763cfa0957d3a0944bdc960033839 (patch) | |
tree | 086f83a2501521b19d3c805776d07ca2eeae08c9 /board/armltd | |
parent | 17c744c3eaf69e195eee291b06d0c2577b334741 (diff) | |
download | u-boot-3e41ebaa467763cfa0957d3a0944bdc960033839.tar.xz |
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 <rui.silva@linaro.org>
Diffstat (limited to 'board/armltd')
-rw-r--r-- | board/armltd/corstone1000/corstone1000.c | 1 | ||||
-rw-r--r-- | board/armltd/corstone1000/corstone1000.env | 10 |
2 files changed, 2 insertions, 9 deletions
diff --git a/board/armltd/corstone1000/corstone1000.c b/board/armltd/corstone1000/corstone1000.c index a4567449f1..01c80aaf9d 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 b24ff07fc6..ee318b1b1c 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 |