]> git.baikalelectronics.ru Git - uboot.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)
commit4b6d0b63d57b0f633b3b39f16ee0dfa27bf9c667
treee64b96e6df21aa54dc60f35eafaf9693e6eb9dfe
parentc381716ad29bedab4bd13bd6cfd5ff2b1f534307
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