Skip to content
Commit 8f78e527 authored by Sean Anderson's avatar Sean Anderson Committed by Andes
Browse files

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: default avatarSean Anderson <seanga2@gmail.com>
Tested-by: default avatarChrstopher Obbard <obbardc@gmail.com>
Reviewed-by: default avatarRick Chen <rick@andestech.com>
parent 24c56894
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment