
22 Jul
2021
22 Jul
'21
5:38 p.m.
On Wed, Jul 21, 2021 at 06:13:37PM -0500, Dennis Gilmore wrote:
From: Dennis Gilmore dgilmore@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@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