Re: [PATCH v2 08/14] board_f: sh: Factor out sh-specific bdinfo setup

2020-07-14 Thread Simon Glass
On Fri, 10 Jul 2020 at 04:25, Ovidiu Panait wrote: > > Factor out sh-specific bdinfo setup from generic init sequence to > arch_setup_bdinfo in arch/sh/lib/board.c. Also, use if(IS_ENABLED()) > instead of #ifdef where possible. > > Signed-off-by: Ovidiu Panait > --- > v2 updates: > - use "if (IS_

[PATCH v2 08/14] board_f: sh: Factor out sh-specific bdinfo setup

2020-07-10 Thread Ovidiu Panait
Factor out sh-specific bdinfo setup from generic init sequence to arch_setup_bdinfo in arch/sh/lib/board.c. Also, use if(IS_ENABLED()) instead of #ifdef where possible. Signed-off-by: Ovidiu Panait --- v2 updates: - use "if (IS_ENABLED(CONFIG_SYS_HAS_SRAM))" instead of "#ifdef CONFIG_SYS_SRAM_