[U-Boot] [U-Boot, v3, 12/15] dm: drop CONFIG_DM_DEVICE_REMOVE from uncmd list

Tom Rini
2015-08-18T17:53:11Z

On Wed, Aug 12, 2015 at 07:31:52AM +0900, Masahiro Yamada wrote:

> We do not want to compile the DM remove code for SPL. Currently,
> we undef it in include/config_uncmd_spl.h (for C files) and in
> scripts/Makefile.uncmd_spl (for Makefiles). This is really ugly.
>
> This commit demonstrates how we can deprecate those two files.
>
> Use $(SPL_) for the entry in the Makfile and CONFIG_IS_ENABLED()
> in C files.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

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