[PATCH 1/2] configs: keystone2: Unwind KERNEL_MTD_PARTS definition

Tom Rini trini at konsulko.com
Tue Jul 25 19:18:11 CEST 2023


On Tue, Jul 25, 2023 at 11:40:58AM -0500, Andrew Davis wrote:

> This is more complex than it needs to be and makes converting these
> boards over to plain text env files more difficult. Simplify this
> environment variable scheme.
> 
> Signed-off-by: Andrew Davis <afd at ti.com>
> ---
>  include/configs/k2e_evm.h            |  5 +----
>  include/configs/k2g_evm.h            |  4 +---
>  include/configs/k2hk_evm.h           |  5 +----
>  include/configs/k2l_evm.h            |  5 +----
>  include/configs/ti_armv7_keystone2.h |  6 +-----
>  include/environment/ti/spi.h         | 14 --------------
>  6 files changed, 5 insertions(+), 34 deletions(-)
>  delete mode 100644 include/environment/ti/spi.h

So this unwinding isn't quite enough as the defconfigs also set
CONFIG_MTDPARTS_DEFAULT and that's the best way.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230725/325c6124/attachment.sig>


More information about the U-Boot mailing list