]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockpro-rk3399: Enable SPI Flash
authorJagan Teki <jagan@amarulasolutions.com>
Sat, 21 Dec 2019 07:54:39 +0000 (13:24 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 30 Jan 2020 03:44:01 +0000 (11:44 +0800)
Enable winbond SPI flash for ROC-PC-RK3399 board.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi
configs/rockpro64-rk3399_defconfig

index 4648513ea9bd4b8bc73bfe76e0d7313a7743caa0..deaa3efd39cc9e2049726ae82082b5a7fec87ad9 100644 (file)
@@ -6,6 +6,10 @@
 #include "rk3399-u-boot.dtsi"
 #include "rk3399-sdram-lpddr4-100.dtsi"
 / {
+       aliases {
+               spi0 = &spi1;
+       };
+
        chosen {
                u-boot,spl-boot-order = "same-as-spl", &sdmmc, &sdhci;
        };
index 201b826e34b7ce14054d474304901d646c0c7898..70b4e4d18613166467b1a95d3b733a733c79cfbd 100644 (file)
@@ -46,6 +46,8 @@ CONFIG_RAM_RK3399_LPDDR4=y
 CONFIG_BAUDRATE=1500000
 CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYSRESET=y
+CONFIG_SPI_FLASH_GIGADEVICE=y
+CONFIG_ROCKCHIP_SPI=y
 CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_XHCI_DWC3=y