From: Tom Rini Date: Mon, 27 Jan 2020 09:16:10 -0500 Subject: [PATCH v4 02/10] lib: elf: Move the generic elf loading/validating functions to lib In-Reply-To: References: <20200122040005.7573-1-j-keerthy@ti.com> <20200122040005.7573-3-j-keerthy@ti.com> <20200124145409.GO26536@bill-the-cat> <0c5b9055-a3cf-8c3c-827a-fcfea8d9eb7e@ti.com> Message-ID: <20200127141610.GH9259@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Mon, Jan 27, 2020 at 10:46:19AM +0530, Keerthy wrote: > > > On 27/01/20 10:01 am, Keerthy wrote: > > > > > > On 24/01/20 8:24 pm, Tom Rini wrote: > > > On Wed, Jan 22, 2020 at 09:29:57AM +0530, Keerthy wrote: > > > > Move the generic elf loading/validating functions to lib/ > > > > so that they can be re-used and accessed by code existing > > > > outside cmd. > > > > > > > > Signed-off-by: Keerthy > > > > Suggested-by: Simon Goldschmidt > > > > Reviewed-by: Simon Goldschmidt > > > [snip] > > > > diff --git a/lib/Kconfig b/lib/Kconfig > > > > index d040a87d26..5ca86cd7fb 100644 > > > > --- a/lib/Kconfig > > > > +++ b/lib/Kconfig > > > > @@ -601,4 +601,7 @@ config TEST_FDTDEC > > > >   config LIB_DATE > > > >       bool > > > > +config LIB_ELF > > > > +    bool "enable basic elf loading/validating functions" > > > > + > > > >   endmenu > > > > > > This shouldn't be a user-selectable symbol, it should be select'd as > > > needed.  So no bool text but a help text that mentions what it does > > > provide is needed.  Thanks! > > Tom, > > Just for my confirmation. Do you want the symbol type to be removed or just > the bool text? I believe symbol type is must. I want it converted from a user visible symbol, which in Kconfig means: config VARIABLE TYPE "Some text the user sees" help Description and made a non-visible symbol which means: config VARIABLE TYPE help Description Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: