Message ID | 20240517-boston-v3-8-1ea7d23f4a1d@flygoat.com |
---|---|
State | New |
Delegated to: | Daniel Schwierzeck |
Headers | show |
Series | MIPS: Boston: Various enhancements | expand |
On 5/17/24 20:14, Jiaxun Yang wrote: > Provide default environment variables on image loading address > to make the board useful. > > Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> > --- > board/imgtec/boston/Kconfig | 4 ++++ > board/imgtec/boston/boston.env | 9 +++++++++ > 2 files changed, 13 insertions(+) > Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
diff --git a/board/imgtec/boston/Kconfig b/board/imgtec/boston/Kconfig index 5537788001a3..965847d9650d 100644 --- a/board/imgtec/boston/Kconfig +++ b/board/imgtec/boston/Kconfig @@ -9,6 +9,10 @@ config SYS_VENDOR config SYS_CONFIG_NAME default "boston" + +config ENV_SOURCE_FILE + default "boston" + config TEXT_BASE default 0x9fc00000 if 32BIT default 0xffffffff9fc00000 if 64BIT diff --git a/board/imgtec/boston/boston.env b/board/imgtec/boston/boston.env new file mode 100644 index 000000000000..796e0fd6bf98 --- /dev/null +++ b/board/imgtec/boston/boston.env @@ -0,0 +1,9 @@ +#ifdef CONFIG_64BIT +fdt_addr_r=0xffffffff80001000 +kernel_addr_r=0xffffffff88000000 +ramdisk_addr_r=0xffffffff8b000000 +#else +fdt_addr_r=0x80001000 +kernel_addr_r=0x88000000 +ramdisk_addr_r=0x8b000000 +#endif
Provide default environment variables on image loading address to make the board useful. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> --- board/imgtec/boston/Kconfig | 4 ++++ board/imgtec/boston/boston.env | 9 +++++++++ 2 files changed, 13 insertions(+)