[U-Boot] [PATCH 2/2] ls1028a: enable watchdog for ls1028a SoC

Bin Meng bmeng.cn at gmail.com
Fri Apr 26 06:35:25 UTC 2019


On Fri, Apr 26, 2019 at 2:23 PM Qiang Zhao <qiang.zhao at nxp.com> wrote:
>
> Signed-off-by: Zhao Qiang <qiang.zhao at nxp.com>
> ---
>  include/configs/ls1028a_common.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h
> index 3cb64c5f0c..3aec8087af 100644
> --- a/include/configs/ls1028a_common.h
> +++ b/include/configs/ls1028a_common.h
> @@ -29,6 +29,8 @@
>  #define CONFIG_REMAKE_ELF
>  #define CONFIG_FSL_LAYERSCAPE
>  #define CONFIG_MP
> +#define CONFIG_WDT_SP805
> +#define CONFIG_HW_WATCHDOG
>

Could you please stop adding ad-hoc CONFIG_XXX in config.h file,
instead create Kconfig options, and/or converting driver to DM?

>  #include <asm/arch/stream_id_lsch3.h>
>  #include <asm/arch/config.h>

Regards,
Bin


More information about the U-Boot mailing list