Tom Rini
6674edaabf
Merge tag 'v2021.10-rc4' into next
...
Prepare v2021.10-rc4
Signed-off-by: Tom Rini <trini@konsulko.com >
# gpg: Signature made Tue 14 Sep 2021 06:58:32 PM EDT
# gpg: using RSA key 1A3C7F70E08FAB1707809BBF147C39FF9634B72C
# gpg: Good signature from "Thomas Rini <trini@konsulko.com >" [ultimate]
# Conflicts:
# board/Arcturus/ucp1020/spl.c
# cmd/mvebu/Kconfig
# common/Kconfig.boot
# common/image-fit.c
# configs/UCP1020_defconfig
# configs/sifive_unmatched_defconfig
# drivers/pci/Kconfig
# include/configs/UCP1020.h
# include/configs/sifive-unmatched.h
# lib/Makefile
# scripts/config_whitelist.txt
2021-09-16 10:29:40 -04:00
Heinrich Schuchardt
7383432fa1
riscv: enable booting HiFive Unmatched from SATA
...
On the HiFive Unmatched a PCI to SATA adapter may be used to install a SATA
drive. Enable booting from it.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com >
Reviewed-by: Bin Meng <bmeng.cn@gmail.com >
Reviewed-by: Mark Kettenis <kettenis@openbsd.org >
2021-09-07 10:34:28 +08:00
Tom Rini
7cfbba36e9
Convert CONFIG_SYS_MALLOC_LEN to Kconfig
...
This converts the following to Kconfig:
CONFIG_SYS_MALLOC_LEN
Signed-off-by: Tom Rini <trini@konsulko.com >
Acked-by: Sean Anderson <seanga2@gmail.com >
Reviewed-by: Rick Chen <rick@andestech.com >
2021-08-31 17:47:49 -04:00
Tom Rini
ab92b38a01
Finish converting CONFIG_SYS_CACHELINE_SIZE to Kconfig
...
We move the SYS_CACHE_SHIFT_N options from arch/arm/Kconfig to
arch/Kconfig, and introduce SYS_CACHE_SHIFT_4 to provide a size of 16.
Introduce select statements for other architectures based on current
usage. For MIPS, we take the existing arch-specific symbol and migrate
to the generic symbol. This lets us remove a little bit of otherwise
unused code.
Cc: Alexey Brodkin <alexey.brodkin@synopsys.com >
Cc: Anup Patel <anup.patel@wdc.com >
Cc: Atish Patra <atish.patra@wdc.com >
Cc: Bin Meng <bmeng.cn@gmail.com >
Cc: Leo <ycliang@andestech.com >
Cc: Palmer Dabbelt <palmer@dabbelt.com >
Cc: Paul Walmsley <paul.walmsley@sifive.com >
Cc: Sean Anderson <seanga2@gmail.com >
Cc: Simon Glass <sjg@chromium.org >
Signed-off-by: Tom Rini <trini@konsulko.com >
Acked-by: Sean Anderson <seanga2@gmail.com >
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com >
Reviewed-by: Rick Chen <rick@andestech.com >
2021-08-31 17:47:49 -04:00
Tom Rini
49c8ef0e45
Convert CONFIG_SYS_LOAD_ADDR to Kconfig
...
Now that we have consistent usage, migrate this symbol to Kconfig.
Signed-off-by: Tom Rini <trini@konsulko.com >
Reviewed-by: Rick Chen <rick@andestech.com >
2021-08-31 17:46:37 -04:00
Tom Rini
88cd7d0ea9
Convert CONFIG_SYS_I2C_EEPROM_ADDR et al to Kconfig
...
- Rename usages of CONFIG_SYS_DEF_EEPROM_ADDR to CONFIG_SYS_I2C_EEPROM_ADDR
based on current usage.
- Convert CONFIG_SYS_I2C_EEPROM_ADDR, CONFIG_SYS_I2C_EEPROM_ADDR_LEN,
CONFIG_SYS_I2C_EEPROM_BUS, CONFIG_CONFIG_SYS_EEPROM_SIZE
CONFIG_SYS_EEPROM_PAGE_WRITE_BITS and CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS
to Kconfig. We move these symbols around a bit and add appropriate
dependencies to them. In some cases, we now add a correct default value
as well.
Signed-off-by: Tom Rini <trini@konsulko.com >
2021-08-30 14:10:06 -04:00
Tom Rini
d7d40f614d
Convert CONFIG_ID_EEPROM to Kconfig
...
This converts the following to Kconfig:
CONFIG_ID_EEPROM
Signed-off-by: Tom Rini <trini@konsulko.com >
2021-08-30 14:10:05 -04:00
Zong Li
946afdf620
board: sifive: unmatched: add initial support for a platform ID EEPROM
...
Add initial support for the PCB description EEPROM for SiFive HiFive
Unmatched boards.
This implementation is refactored based on Paul Walmsley's porting and
adopt the suggestions from David Abdurachmanov.
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com >
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com >
Signed-off-by: Zong Li <zong.li@sifive.com >
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com >
2021-07-06 20:24:25 +08:00
Dimitri John Ledkov
fe01f41d57
riscv: sifive: Set default fdtfile names
...
Set default fdtfile names for unleashed and unmatched boards, as used
in the upstream Linux kernel. This allows sysboot command to find and
load appropriate dtb for the matching kernel from universal stock
Ubuntu RISC-V rootfs images based on fdtdir setting in extlinux.conf.
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com >
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com >
Reviewed-by: Bin Meng <bmeng.cn@gmail.com >
cc: Paul Walmsley <paul.walmsley@sifive.com >
cc: Palmer Dabbelt <palmer@dabbelt.com >
cc: Anup Patel <anup.patel@wdc.com >
cc: Atish Patra <atish.patra@wdc.com >
cc: Pragnesh Patel <pragnesh.patel@sifive.com >
cc: Green Wan <green.wan@sifive.com >
2021-07-06 13:48:48 +08:00
Green Wan
70415e1e52
board: sifive: add HiFive Unmatched board support
...
Add defconfig and board support for HiFive Unmatched.
Signed-off-by: Green Wan <green.wan@sifive.com >
Reviewed-by: Bin Meng <bmeng.cn@gmail.com >
Reviewed-by: Rick Chen <rick@andestech.com >
2021-05-31 16:35:55 +08:00