diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2021-08-25 19:21:57 +0300 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2021-09-07 05:34:28 +0300 |
commit | 7383432fa1f5fb738599abbd29b24c6ac866efe4 (patch) | |
tree | 88e0ae429ad21501f6af595318a5c86fe243d02d /include | |
parent | ad320c237bea7ece659efaf6c1d43475e0e5db6a (diff) | |
download | u-boot-7383432fa1f5fb738599abbd29b24c6ac866efe4.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/sifive-unmatched.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/sifive-unmatched.h b/include/configs/sifive-unmatched.h index d63a5f62fb..bea0eebe23 100644 --- a/include/configs/sifive-unmatched.h +++ b/include/configs/sifive-unmatched.h @@ -40,6 +40,8 @@ #define CONFIG_SYS_CACHELINE_SIZE 64 +#define CONFIG_SYS_SCSI_MAX_SCSI_ID 4 + /* Environment options */ #ifndef CONFIG_SPL_BUILD @@ -47,6 +49,7 @@ func(NVME, nvme, 0) \ func(USB, usb, 0) \ func(MMC, mmc, 0) \ + func(SCSI, scsi, 0) \ func(PXE, pxe, na) \ func(DHCP, dhcp, na) |