Skip to content

Commit

Permalink
Merged in masayuki2009/nuttx.nuttx/lc823450_spi_flash (pull request #687
Browse files Browse the repository at this point in the history
)

lc823450 spi flash

* arch/arm/src/lc823450: Add SPI flash driver for lc823450

    NOTE: Only bus accelerator mode is supported.

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* arch/arm/src/lc823450: Remove unnecessary settings in Kconfig

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: GregoryN <gnutt@nuttx.org>
  • Loading branch information
masayuki2009 authored and gregory-nutt committed Jul 18, 2018
1 parent 4c756e3 commit 4bc2ba3
Show file tree
Hide file tree
Showing 5 changed files with 498 additions and 36 deletions.
33 changes: 1 addition & 32 deletions arch/arm/src/lc823450/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -37,42 +37,11 @@ config LC823450_WDT
config LC823450_SPIFI
bool "SPI Flash Interface (SPIFI)"
default n
depends on MTD

if LC823450_SPIFI

config LC823450_SPIFI_DEVNO
int "number in /dev/mtdblk?"
default 0

config LC823450_SPIFI_SIZE
int "SPI FLASH size (byte)"
default 4194304

config LC823450_SPIFI_QUADIO
bool "SPIFI 4bit access"
default n

config LC823450_SPIFI_RAMFAT
bool "SPIFI with SRAM FAT"
default n

config LC823450_SPIFI_RAMFAT_VOLUMELABEL
string "volume label for SRAM FAT"
depends on LC823450_SPIFI_RAMFAT

config LC823450_SPIFI_BACKUP
bool "power dwon tolerance I/O"
default n

config LC823450_SPIFI_BACKUP_HEAD_OFFSET
hex "backup header offset"
depends on LC823450_SPIFI_BACKUP

config LC823450_SPIFI_BACKUP_VAL_OFFSET
hex "backup area offset"
depends on LC823450_SPIFI_BACKUP

default y
endif

config LC823450_SDIF
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/src/lc823450/Make.defs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
############################################################################
# arch/arm/src/lc823450/Make.defs
#
# Copyright 2014, 2015, 2016, 2017 Sony Video & Sound Products Inc.
# Copyright 2014, 2015, 2016, 2017, 2018 Sony Video & Sound Products Inc.
# Author: Masatoshi Tateishi <Masatoshi.Tateishi@jp.sony.com>
# Author: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
# Author: Yasuhiro Osaki <Yasuhiro.Osaki@jp.sony.com>
Expand Down Expand Up @@ -92,7 +92,7 @@ CHIP_CSRCS += lc823450_wdt.c
endif

ifeq ($(CONFIG_LC823450_SPIFI), y)
CHIP_CSRCS += lc823450_spifi.c
CHIP_CSRCS += lc823450_spifi2.c
endif

ifeq ($(CONFIG_LC823450_SDIF), y)
Expand Down
Loading

0 comments on commit 4bc2ba3

Please sign in to comment.