mirror of
https://xff.cz/git/u-boot/
synced 2025-10-27 00:24:09 +01:00
configs: sopine-baseboard: Enable SPI-FLASH
SoPine has winbond SPI-FLASH, so enable the same in defconfig and add aliases for spi0 in -u-boot.dtsi Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
This commit is contained in:
12
arch/arm/dts/sun50i-a64-sopine-baseboard-u-boot.dtsi
Normal file
12
arch/arm/dts/sun50i-a64-sopine-baseboard-u-boot.dtsi
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
// SPDX-License-Identifier: GPL-2.0+
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2018 Jagan Teki <jagan@amarulasolutions.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "sunxi-u-boot.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
aliases {
|
||||||
|
spi0 = &spi0;
|
||||||
|
};
|
||||||
|
};
|
||||||
@@ -10,6 +10,7 @@ CONFIG_DRAM_ZQ=3881949
|
|||||||
CONFIG_MMC0_CD_PIN=""
|
CONFIG_MMC0_CD_PIN=""
|
||||||
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
||||||
CONFIG_SPL_SPI_SUNXI=y
|
CONFIG_SPL_SPI_SUNXI=y
|
||||||
|
CONFIG_SPI_FLASH_WINBOND=y
|
||||||
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
||||||
CONFIG_USE_PREBOOT=y
|
CONFIG_USE_PREBOOT=y
|
||||||
CONFIG_SYS_SPI_U_BOOT_OFFS=0x8000
|
CONFIG_SYS_SPI_U_BOOT_OFFS=0x8000
|
||||||
|
|||||||
Reference in New Issue
Block a user