[v2,07/23] siemens: rut: Enable DM_SPI, DM_SPI_FLASH

Message ID 20200527125637.149189-8-jagan@amarulasolutions.com
State New
Headers show
Series
  • spi: dm-conversion (part1)
Related show

Commit Message

Jagan Teki May 27, 2020, 12:56 p.m. UTC
Enable DM_SPI, DM_SPI_FLASH for siemens rut board.

Build is fine, but not tested.

Cc: Samuel Egli <samuel.egli@siemens.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
Changes for v2:
- new patch

 configs/rut_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Jagan Teki June 13, 2020, 6:06 p.m. UTC | #1
On Wed, May 27, 2020 at 6:27 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> Enable DM_SPI, DM_SPI_FLASH for siemens rut board.
>
> Build is fine, but not tested.
>
> Cc: Samuel Egli <samuel.egli@siemens.com>

Any comments?
Jagan Teki July 7, 2020, 3:29 p.m. UTC | #2
On Sat, Jun 13, 2020 at 11:36 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> On Wed, May 27, 2020 at 6:27 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
> >
> > Enable DM_SPI, DM_SPI_FLASH for siemens rut board.
> >
> > Build is fine, but not tested.
> >
> > Cc: Samuel Egli <samuel.egli@siemens.com>
>
> Any comments?

Applied to u-boot-spi/master

Patch

diff --git a/configs/rut_defconfig b/configs/rut_defconfig
index 40c9de25c6..9cc7826846 100644
--- a/configs/rut_defconfig
+++ b/configs/rut_defconfig
@@ -60,10 +60,12 @@  CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
 CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:128k(spl),128k(spl.backup1),128k(spl.backup2),128k(spl.backup3),1920k(u-boot),128k(uboot.env),5120k(kernel_a),5120k(kernel_b),8192k(mtdoops),-(rootfs)"
 CONFIG_CMD_UBI=y
 CONFIG_OF_CONTROL=y
+CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="am335x-rut"
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SPL_DM=y
 CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_ENV=y
 CONFIG_DFU_NAND=y
@@ -71,6 +73,7 @@  CONFIG_MMC_OMAP_HS=y
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_SPI_FLASH=y
+CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1
@@ -78,6 +81,7 @@  CONFIG_PHY_NATSEMI=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
 CONFIG_USB=y
 CONFIG_USB_MUSB_HOST=y