[PATCH] rk3399: Add basic support for helios64

Tom Rini trini at konsulko.com
Thu Jul 22 17:38:33 CEST 2021


On Wed, Jul 21, 2021 at 06:13:37PM -0500, Dennis Gilmore wrote:

> From: Dennis Gilmore <dgilmore at redhat.com>
> 
> This is a stripped down version of the vendor U-Boot patch by Aditya
> Prayoga found in the armbian repository. This patch is enough to have
> the 1G ethernet port, the micro SD card, eMMC, PCIe and UART. It sets
> uart2 as the default outiput device. the defconfig file has been cleaned
> up a lot from the vendor version.
> 
> The device tree file is from the for-next branch of linux-rockchip and
> targeted for 5.15 needed for SPI, stdout-path, and tsadc enablement
> 
> Signed-off-by: Dennis Gilmore <dgilmore at redhat.com>
[snip]
> +#if defined(CONFIG_ENV_IS_IN_MMC)
> +	#define CONFIG_SYS_MMC_ENV_DEV 0
> +#elif defined(CONFIG_ENV_IS_IN_SPI_FLASH)
> +	#define CONFIG_ENV_SPI_BUS		CONFIG_SF_DEFAULT_BUS
> +	#define CONFIG_ENV_SPI_CS		CONFIG_SF_DEFAULT_CS
> +	#define CONFIG_ENV_SPI_MODE		CONFIG_SF_DEFAULT_MODE
> +	#define CONFIG_ENV_SPI_MAX_HZ	CONFIG_SF_DEFAULT_SPEED
> +#endif

This is all in Kconfig now.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210722/3b40ca6b/attachment.sig>


More information about the U-Boot mailing list