On Wed, Aug 28, 2024 at 11:02:21AM +0100, Oliver Gaskell wrote:

> Adds support for Analog Devices' SC598-SOM-EZKIT board. Includes:
> - CONFIG options common to all SC5xx SoCs
> - SoC specific configs in mach-sc5xx/Kconfig
> - Memory Map for SPL
> - Necessary board-specific init functions
> - Board-specific Kconfig and environment in board/adi/
> - Memory configuration
> 
> Co-developed-by: Greg Malysa <[email protected]>
> Co-developed-by: Nathan Barrett-Morrison <[email protected]>
> Co-developed-by: Trevor Woerner <[email protected]>
> Signed-off-by: Oliver Gaskell <[email protected]>
[snip]
> +     #ifdef CONFIG_SC59X_64
> +     u32 *to = (void *)&__bss_start;
> +     int i, sz;
> +
> +     sz = &__bss_end - &__bss_start;
> +     for (i = 0; i < sz; i += 4)
> +             *to++ = 0;
> +     #endif

No leading spaces on '#' and use if (IS_ENABLED(CONFIG...)) {} when
possible.

> +config SPL_BSS_START_ADDR
> +     hex
> +     default 0x200B0000

You don't need "hex" here and elsewhere. For many of these, if we have a
list of defaults in the main Kconfig which has that option, please add
yours there as well. This too applies to the rest of the series, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to