]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: Add support for SPI on Kendryte K210
authorSean Anderson <seanga2@gmail.com>
Tue, 22 Dec 2020 23:57:18 +0000 (18:57 -0500)
committerAndes <uboot@andestech.com>
Mon, 18 Jan 2021 03:06:26 +0000 (11:06 +0800)
commit8f78e527942b81a4e1e0d20c2ee0a76daeb4e1e0
treee64b96e6df21aa54dc60f35eafaf9693e6eb9dfe
parent24c5689447f00555d78c77a3629fbec32e513ba2
riscv: Add support for SPI on Kendryte K210

This enables configs necessary for using SPI. The environment is saved to
the very end of SPI flash. This is unlikely to be overwritten unless the
entire flash is reprogrammed.

This also supplies a default bootcommand. It loads an image and device tree
from the first partition of the MMC. This is a minimal/least effort
bootcmd, so suggestions (especially in the form of patches) are welcome. I
didn't set up distro boot because I think it is unlikely that any
general-purpose linux distros will ever be ported to this board.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Tested-by: Chrstopher Obbard <obbardc@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
board/sipeed/maix/Kconfig
configs/sipeed_maix_bitm_defconfig
doc/board/sipeed/maix.rst
include/configs/sipeed-maix.h