Message ID | 20190426062430.48022-2-qiang.zhao@nxp.com |
---|---|
State | Superseded |
Delegated to: | Prabhakar Kushwaha |
Headers | show |
Series | [U-Boot,1/2] watchdog: add sp805 watchdog support | expand |
On Fri, Apr 26, 2019 at 2:23 PM Qiang Zhao <qiang.zhao@nxp.com> wrote: > > Signed-off-by: Zhao Qiang <qiang.zhao@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
On 26.04.19 08:23, Qiang Zhao wrote: > Signed-off-by: Zhao Qiang <qiang.zhao@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 Please see my last reply. CONFIG_HW_WATCHDOG should not be needed. I plan to work on a patchset to remove this option completely. And as Bin also mentioned, the CONFIG options should be added to the board defconfig file instead. Thanks, Stefan
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 #include <asm/arch/stream_id_lsch3.h> #include <asm/arch/config.h>
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com> --- include/configs/ls1028a_common.h | 2 ++ 1 file changed, 2 insertions(+)