From: Pavel Machek <pavel@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 08/12] ARM: socfpga: use "select" instead of default value in defconfig
Date: Thu, 2 Apr 2015 14:47:18 +0200 [thread overview]
Message-ID: <20150402124718.GA32297@amd> (raw)
In-Reply-To: <CAK7LNAQ3=8r6eC20LnUDqzTXVdZJaZoKMgEe1npFu2UFF2TJPQ@mail.gmail.com>
Hi!
> >> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> >> ---
> >>
> >> arch/arm/Kconfig | 6 ++++++
> >> configs/socfpga_arria5_defconfig | 3 ---
> >> configs/socfpga_cyclone5_defconfig | 3 ---
> >> configs/socfpga_socrates_defconfig | 3 ---
> >> 4 files changed, 6 insertions(+), 9 deletions(-)
> >>
> >> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> >> index b25a4a9..6ae48c6 100644
> >> --- a/arch/arm/Kconfig
> >> +++ b/arch/arm/Kconfig
> >> @@ -618,11 +618,17 @@ config TARGET_SOCFPGA_ARRIA5
> >> bool "Support socfpga_arria5"
> >> select CPU_V7
> >> select SUPPORT_SPL
> >> + select DM
> >> + select DM_SPI_FLASH
> >> + select DM_SPI
> > Are you sure?
>
> Yes, I'm sure.
>
> > config DM_SPI_FLASH
> > bool "Enable Driver Model for SPI flash"
> > depends on DM && SPI
> > help
> >
> > DM_SPI_FLASH depends on SPI, you can't just select it...
> >
>
>
> This dependency is wrong.
> Before this patch, it must be fixed.
>
> Please see 01/12 of this series:
> http://patchwork.ozlabs.org/patch/456458/
But I'm not sure.
With this, you made CONFIG_DM_SPI_FLASH mandatory... even for users
that have no SPI flash. There must be better solution...?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2015-04-02 12:47 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-31 3:47 [U-Boot] [PATCH 0/12] dm: use "select DM" Masahiro Yamada
2015-03-31 3:47 ` [U-Boot] [PATCH 01/12] dm: spi_flash: fix wrong dependency Masahiro Yamada
2015-04-08 2:50 ` Simon Glass
2015-04-08 14:01 ` Simon Glass
2015-04-22 9:19 ` Stefan Roese
2015-04-22 10:07 ` Marek Vasut
2015-04-22 14:39 ` Simon Glass
2015-04-22 14:42 ` Stefan Roese
2015-04-22 15:07 ` Simon Glass
2015-03-31 3:47 ` [U-Boot] [PATCH 02/12] dm: select CONFIG_DM* options Masahiro Yamada
2015-04-08 2:50 ` Simon Glass
2015-04-08 14:01 ` Simon Glass
2015-03-31 3:47 ` [U-Boot] [PATCH 03/12] ARM: UniPhier: use "select" instead of default value in defconfig Masahiro Yamada
2015-04-08 2:50 ` Simon Glass
2015-04-08 14:01 ` Simon Glass
2015-03-31 3:47 ` [U-Boot] [PATCH 04/12] ARM: zynq: " Masahiro Yamada
2015-04-08 2:50 ` Simon Glass
2015-04-08 14:02 ` Simon Glass
2015-03-31 3:47 ` [U-Boot] [PATCH 05/12] ARM: rmobile: " Masahiro Yamada
2015-04-08 2:50 ` Simon Glass
2015-04-08 14:02 ` Simon Glass
2015-03-31 3:47 ` [U-Boot] [PATCH 06/12] ARM: snapper9260: " Masahiro Yamada
2015-04-08 2:50 ` Simon Glass
2015-04-08 14:02 ` Simon Glass
2015-03-31 3:47 ` [U-Boot] [PATCH 07/12] ARM: mx6: " Masahiro Yamada
2015-04-08 2:50 ` Simon Glass
2015-04-08 14:02 ` Simon Glass
2015-03-31 3:47 ` [U-Boot] [PATCH 08/12] ARM: socfpga: " Masahiro Yamada
2015-03-31 20:40 ` Pavel Machek
2015-04-02 0:30 ` Masahiro Yamada
2015-04-02 12:47 ` Pavel Machek [this message]
2015-04-06 3:22 ` Masahiro Yamada
2015-04-08 2:46 ` Simon Glass
2015-04-08 2:49 ` Simon Glass
2015-04-08 14:02 ` Simon Glass
2015-03-31 3:48 ` [U-Boot] [PATCH 09/12] ARM: bav335x: " Masahiro Yamada
2015-04-08 2:50 ` Simon Glass
2015-04-08 14:02 ` Simon Glass
2015-03-31 3:48 ` [U-Boot] [PATCH 10/12] ARM: stv0991: " Masahiro Yamada
2015-04-08 2:50 ` Simon Glass
2015-04-08 14:02 ` Simon Glass
2015-04-13 20:38 ` vikasm
2015-03-31 3:48 ` [U-Boot] [PATCH 11/12] ARM: cm_fx6: " Masahiro Yamada
2015-04-08 2:50 ` Simon Glass
2015-04-08 14:02 ` Simon Glass
2015-03-31 3:48 ` [U-Boot] [PATCH 12/12] powerpc: ids8313: " Masahiro Yamada
2015-04-08 2:51 ` Simon Glass
2015-04-08 14:02 ` Simon Glass
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=20150402124718.GA32297@amd \
--to=pavel@denx.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox