From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] dm: core: Allow simple-bus driver in SPL
Date: Mon, 3 Aug 2015 01:16:24 +0200 [thread overview]
Message-ID: <201508030116.24908.marex@denx.de> (raw)
In-Reply-To: <CAPnjgZ1XN=E7wU1hY7gssvXQKBr=BygXhqRCNDybvzwHwPkO5Q@mail.gmail.com>
On Sunday, August 02, 2015 at 11:28:10 PM, Simon Glass wrote:
> Hi Marek,
>
> On 27 July 2015 at 14:31, Marek Vasut <marex@denx.de> wrote:
> > There's no reason why simple-bus driver can not be used in SPL,
> > in fact it is necessary to get SoCFPGA SPL probe the cadence
> > SPI driver. So drop the restriction.
> >
> > Signed-off-by: Marek Vasut <marex@denx.de>
> > Cc: Simon Glass <sjg@chromium.org>
> > ---
> >
> > drivers/core/Makefile | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/drivers/core/Makefile b/drivers/core/Makefile
> > index 5c2ead8..87b7c98 100644
> > --- a/drivers/core/Makefile
> > +++ b/drivers/core/Makefile
> > @@ -5,9 +5,7 @@
> >
> > #
> >
> > obj-y += device.o lists.o root.o uclass.o util.o
> >
> > -ifndef CONFIG_SPL_BUILD
> >
> > obj-$(CONFIG_OF_CONTROL) += simple-bus.o
> >
> > -endif
> >
> > obj-$(CONFIG_DM_DEVICE_REMOVE) += device-remove.o
> > obj-$(CONFIG_DM) += dump.o
> > obj-$(CONFIG_OF_CONTROL) += regmap.o
> >
> > --
> > 2.1.4
>
> Can you please instead add a new Kconfigs CONFIG_SIMPLE_BUS and
> CONFIG_SPL_SIMPLE_BUS? They can be default on. If we force all SPLs to
> have this, it does add bloat.
Done
Best regards,
Marek Vasut
prev parent reply other threads:[~2015-08-02 23:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-27 20:31 [U-Boot] [PATCH] dm: core: Allow simple-bus driver in SPL Marek Vasut
2015-08-02 21:28 ` Simon Glass
2015-08-02 23:16 ` Marek Vasut [this message]
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=201508030116.24908.marex@denx.de \
--to=marex@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