[U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO to Kconfig

Tom Rini trini at konsulko.com
Sat Jul 22 15:59:04 UTC 2017


On Sat, Jul 22, 2017 at 11:53:57PM +0800, Bin Meng wrote:
> Hi Simon,
> 
> On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass <sjg at chromium.org> wrote:
> > This converts the following to Kconfig:
> >    CONFIG_CMD_REGINFO
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
[snip]
> > @@ -1380,6 +1390,7 @@ config SYS_PPC_E500_USE_DEBUG_TLB
> >
> >  config FSL_IFC
> >         bool
> > +       imply CMD_REGINFO
> 
> This change is wrong. FSL_IFC is not the right place to "imply
> CMD_REGINFO". I suspect this is a corner case that moveconfig cannot
> handle?
[snip]
> > diff --git a/cmd/Kconfig b/cmd/Kconfig
> > index 2546ef61f6..354949f132 100644
> > --- a/cmd/Kconfig
> > +++ b/cmd/Kconfig
> > @@ -792,6 +792,12 @@ config CMD_READ
> >         help
> >           Provides low-level access to the data in a partition.
> >
> > +config CMD_REGINFO
> > +       bool "reginfo - Print register information"
> > +       depends on PPC
> > +       help
> > +         Provides access to low-level register information.

Indeed.  I think we need to move this to default y instead.


-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170722/e16628ac/attachment.sig>


More information about the U-Boot mailing list