All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 20/20] configs: add NAND support for NES Classic
Date: Wed, 28 Feb 2018 20:52:02 +0100	[thread overview]
Message-ID: <20180228195202.8183-21-miquel.raynal@bootlin.com> (raw)
In-Reply-To: <20180228195202.8183-1-miquel.raynal@bootlin.com>

Add NAND parameters to the Nintendo NES Classic configuration file which
features a Macronix NAND flash chip with 128kiB blocks of 2kiB pages
plus 64 OOB bytes.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
---
 configs/Nintendo_NES_Classic_Edition_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configs/Nintendo_NES_Classic_Edition_defconfig b/configs/Nintendo_NES_Classic_Edition_defconfig
index 2be724425c..0af53f2dd9 100644
--- a/configs/Nintendo_NES_Classic_Edition_defconfig
+++ b/configs/Nintendo_NES_Classic_Edition_defconfig
@@ -10,6 +10,10 @@ CONFIG_AXP_GPIO=y
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-r16-nintendo-nes-classic-edition"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_SPL=y
+CONFIG_NAND=y
+CONFIG_SYS_NAND_BLOCK_SIZE=0x20000
+CONFIG_SYS_NAND_PAGE_SIZE=0x800
+CONFIG_SYS_NAND_OOBSIZE=0x40
 # CONFIG_CMD_FLASH is not set
 # CONFIG_SPL_DOS_PARTITION is not set
 # CONFIG_SPL_ISO_PARTITION is not set
-- 
2.14.1

  parent reply	other threads:[~2018-02-28 19:52 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-28 19:51 [U-Boot] [PATCH v3 00/20] Bring NAND support to Nintendo NES Classic Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 01/20] spl: fix binman_sym output check Miquel Raynal
2018-03-13 13:36   ` Maxime Ripard
2018-03-20 14:24     ` Maxime Ripard
2018-03-31 10:19     ` Simon Glass
2018-02-28 19:51 ` [U-Boot] [PATCH v3 02/20] mtd: nand: sunxi: fix ECC strength choice Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 03/20] spl: nand: sunxi: fix second case of modulo by zero error Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 04/20] spl: nand: sunxi: fix typo on register name Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 05/20] spl: nand: sunxi: introduce the nand_wait_int() helper Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 06/20] spl: nand: sunxi: introduce the nand_wait_cmd_fifo_empty() helper Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 07/20] spl: nand: sunxi: add missing status clear Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 08/20] spl: nand: sunxi: create an helper to handle command execution Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 09/20] spl: nand: sunxi: ensure enough time has passed after changing the column Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 10/20] spl: nand: sunxi: make the reset column helper more generic Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 11/20] sunxi: spl: deassert the NAND controller reset line Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 12/20] spl: nand: sunxi: declare the ecc_bytes array globally Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 13/20] spl: nand: sunxi: use PIO instead of DMA Miquel Raynal
2021-06-24 12:05   ` Maxime Ripard
2021-07-06 16:00     ` Miquel Raynal
2021-07-07  9:57       ` Maxime Ripard
2018-02-28 19:51 ` [U-Boot] [PATCH v3 14/20] sunxi: spl: remove DMA related settings of the NAND controller Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 15/20] sunxi: allow NAND support to be compiled for sun8i platforms Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 16/20] sunxi: dts: enable NAND on NES classic Miquel Raynal
2018-02-28 19:51 ` [U-Boot] [PATCH v3 17/20] sunxi: automatically select SPL_NAND_SUPPORT in Kconfig Miquel Raynal
2018-02-28 19:52 ` [U-Boot] [PATCH v3 18/20] sunxi: make NAND_SUNXI use ARCH_SUNXI as default " Miquel Raynal
2018-02-28 19:52 ` [U-Boot] [PATCH v3 19/20] sunxi: move the NAND parameters to Kconfig Miquel Raynal
2018-02-28 19:52 ` Miquel Raynal [this message]
2018-03-01  8:20 ` [U-Boot] [PATCH v3 00/20] Bring NAND support to Nintendo NES Classic Maxime Ripard
2018-03-07  7:57 ` Maxime Ripard
2018-03-12 22:33   ` Scott Wood
2018-03-13 13:36     ` Maxime Ripard
2018-04-03 10:15 ` Maxime Ripard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180228195202.8183-21-miquel.raynal@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.