From: Tom Rini Date: Fri, 24 Jan 2020 09:54:09 -0500 Subject: [PATCH v4 02/10] lib: elf: Move the generic elf loading/validating functions to lib In-Reply-To: <20200122040005.7573-3-j-keerthy@ti.com> References: <20200122040005.7573-1-j-keerthy@ti.com> <20200122040005.7573-3-j-keerthy@ti.com> Message-ID: <20200124145409.GO26536@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: