Skip to content

Commit

Permalink
configs: sopine-baseboard: Enable SPI-FLASH
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
openedev committed Oct 24, 2019
1 parent 7945caf commit f8cb77f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm/dts/sun50i-a64-sopine-baseboard-u-boot.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2018 Jagan Teki <[email protected]>
*/

#include "sunxi-u-boot.dtsi"

/ {
aliases {
spi0 = &spi0;
};
};
1 change: 1 addition & 0 deletions configs/sopine_baseboard_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ CONFIG_DRAM_ZQ=3881949
CONFIG_MMC0_CD_PIN=""
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
CONFIG_SPL_SPI_SUNXI=y
CONFIG_SPI_FLASH_WINBOND=y
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_USE_PREBOOT=y
CONFIG_SYS_SPI_U_BOOT_OFFS=0x8000
Expand Down

0 comments on commit f8cb77f

Please sign in to comment.