Re: [PATCH 1/2] env: mmc: Clean up macro usage

2023-02-08 Thread Tom Rini
On Wed, Feb 08, 2023 at 12:32:43PM +0100, Marek Vasut wrote: > Consistently use 'if (CONFIG_IS_ENABLED(PARTITION_TYPE_GUID))' instead of > mix of ifdef and IS_ENABLED. This deals with xPL variants of the config > option and trims ifdeffery. > > Signed-off-by: Marek Vasut > --- > Cc: Patrice Chota

[PATCH 1/2] env: mmc: Clean up macro usage

2023-02-08 Thread Marek Vasut
Consistently use 'if (CONFIG_IS_ENABLED(PARTITION_TYPE_GUID))' instead of mix of ifdef and IS_ENABLED. This deals with xPL variants of the config option and trims ifdeffery. Signed-off-by: Marek Vasut --- Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Tom Rini --- env/mmc.c | 6 ++ 1 file c