Commit 906a4729 authored by Angus Ainslie (Purism)'s avatar Angus Ainslie (Purism)
Browse files

librem5_defconfig: enable the SPI NOR flash


Signed-off-by: default avatarAngus Ainslie (Purism) <angus@akkea.ca>
parent 805236b3
......@@ -16,6 +16,7 @@ CONFIG_HUSH_PARSER=y
CONFIG_OF_LIBFDT=y
CONFIG_CMD_GPIO=y
CONFIG_CMD_I2C=y
CONFIG_CMD_SF=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_REGULATOR=y
CONFIG_CMD_EXT2=y
......@@ -30,6 +31,9 @@ CONFIG_DM_GPIO=y
CONFIG_DM_I2C=y
CONFIG_SYS_I2C_MXC=y
CONFIG_DM_MMC=y
CONFIG_SPI_FLASH=y
CONFIG_SPI_FLASH_STMICRO=y
CONFIG_SPI_FLASH_WINBOND=y
CONFIG_DM_ETH=y
CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX8M=y
......@@ -45,11 +49,11 @@ CONFIG_NXP_TMU=y
CONFIG_USB=y
CONFIG_DM_USB=y
#CONFIG_SPI=y
CONFIG_SPI=y
CONFIG_MXC_SPI=y
#CONFIG_DM_SPI=y
#CONFIG_DM_SPI_MEM=y
#CONFIG_DM_SPI_FLASH=y
#CONFIG_CMD_SF=y
CONFIG_DISTRO_DEFAULTS=y
......
......@@ -180,11 +180,8 @@
#define CONFIG_SYS_MMC_IMG_LOAD_PART 1
#ifdef CONFIG_CMD_SF
#define CONFIG_SPI_FLASH
#define CONFIG_SPI_FLASH_MACRONIX
#define CONFIG_SPI_FLASH_WINBOND
#define CONFIG_MXC_SPI
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_BUS 0
#define CONFIG_SF_DEFAULT_CS 0
#endif
#define CONFIG_MXC_GPIO
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment