All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/9] ARM: uniphier: enable CONFIG_SYS_NO_FLASH if no CONFIG_MICRO_SUPPORT_CARD
Date: Sat,  8 Oct 2016 13:25:27 +0900	[thread overview]
Message-ID: <1475900731-10998-6-git-send-email-yamada.masahiro@socionext.com> (raw)
In-Reply-To: <1475900731-10998-1-git-send-email-yamada.masahiro@socionext.com>

NOR flash devices are seldom used on UniPhier platforms these days.
The only use case I see is the Micro Support Card is connected.
Otherwise, define CONFIG_SYS_NO_FLASH to disable NOR FLASH.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 include/configs/uniphier.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index bb873a4..2cd7dce 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -40,10 +40,9 @@
 /* FLASH related */
 #define CONFIG_MTD_DEVICE
 
-/*
- * uncomment the following to disable FLASH related code.
- */
-/* #define CONFIG_SYS_NO_FLASH */
+#ifndef CONFIG_MICRO_SUPPORT_CARD
+#define CONFIG_SYS_NO_FLASH
+#endif
 
 #define CONFIG_FLASH_CFI_DRIVER
 #define CONFIG_SYS_FLASH_CFI
-- 
1.9.1

  parent reply	other threads:[~2016-10-08  4:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-08  4:25 [U-Boot] [PATCH 0/9] ARM: uniphier: UniPhier updates for v2016.11-rc2 Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 1/9] ARM: uniphier: enable SSC for DPLL (DRAM PLL) on LD11 SoC Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 2/9] ARM: uniphier: update DRAM init code for LD20 SoC (2nd) Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 3/9] ARM: uniphier: add work-around for VBO noise problem Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 4/9] ARM: uniphier: fix typos in a comment block Masahiro Yamada
2016-10-08  4:25 ` Masahiro Yamada [this message]
2016-10-08  4:25 ` [U-Boot] [PATCH 6/9] ARM: uniphier: define CONFIG_SMC911X along with CONFIG_MICRO_SUPPORT_CARD Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 7/9] ARM: uniphier: insert udelay() just before support_card_reset_deassert() Masahiro Yamada
2016-10-08  4:25 ` [U-Boot] [PATCH 8/9] reset: declare fdtdec_phandle_args as struct to fix warning Masahiro Yamada
2016-10-08  5:03   ` Masahiro Yamada
2016-10-13  0:03   ` Simon Glass
2016-10-08  4:25 ` [U-Boot] [PATCH 9/9] reset: uniphier: add reset controller driver for UniPhier SoCs Masahiro Yamada
2016-10-10  1:07 ` [U-Boot] [PATCH 0/9] ARM: uniphier: UniPhier updates for v2016.11-rc2 Masahiro Yamada

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=1475900731-10998-6-git-send-email-yamada.masahiro@socionext.com \
    --to=yamada.masahiro@socionext.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.