[U-Boot] [PATCH] Kconfig: Convert CONFIG_IMX_WATCHDOG to Kconfig

2018-10-25 Thread Xiaoliang Yang
Move this option to Kconfig and tidy up the config file of eight boards which use it. Signed-off-by: Xiaoliang Yang --- configs/aristainetos2_defconfig |1 + configs/aristainetos2b_defconfig |1 + configs/aristainetos_defconfig|1 + configs/dh_imx6_defconfig

[U-Boot] [PATCH v2 2/2] watchdog: imx: add config to disable wdog reset

2018-10-18 Thread Xiaoliang Yang
Add Kconfig option WATCHDOG_RESET_DISABLE to disable watchdog reset in imx_watchdog driver, so that the watchdog will not be fed in u-boot if CONFIG_WATCHDOG_RESET_DISABLE is enabled. Signed-off-by: Xiaoliang Yang --- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 |2 ++ drivers

[U-Boot] [PATCH v2 1/2] watchdog: driver support for fsl-lsch2

2018-10-18 Thread Xiaoliang Yang
Support watchdog driver for fsl-lsch2. It's disabled in default. If you want to use it, please enable CONFIG_IMX_WATCHDOG. Define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. Signed-off-by: Xiaoliang Yang --- v1->v2: Remove LSCH3 config from imx-watchdog.c, because it o

[U-Boot] [PATCH] Kconfig: Convert CONFIG_IMX_WATCHDOG to Kconfig

2018-10-18 Thread Xiaoliang Yang
Move this option to Kconfig and tidy up the config file of eight boards which use it. Signed-off-by: Xiaoliang Yang --- configs/aristainetos2_defconfig |1 + configs/aristainetos2b_defconfig |1 + configs/aristainetos_defconfig|1 + configs/dh_imx6_defconfig

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for fsl-lsch2

2018-10-17 Thread Xiaoliang Yang
this. It doesn't affect this patch. Regards, Xiaoliang Yang -Original Message- From: Xiaoliang Yang Sent: 2018年10月17日 10:54 To: Xiaoliang Yang ; York Sun ; u-boot@lists.denx.de Subject: [PATCH 1/2] watchdog: driver support for fsl-lsch2 Support watchdog driver for fsl-lsch2. If you want

[U-Boot] [PATCH 2/2] watchdog: imx: add config to disable wdog reset

2018-10-16 Thread Xiaoliang Yang
Add Kconfig support for CONFIG_WATCHDOG_RESET_DISABLE, use this config to disable watchdog reset in imx_watchdog driver, so that the watchdog will not be fed in u-boot. Signed-off-by: Xiaoliang Yang --- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 |2 ++ drivers/watchdog/Kconfig

[U-Boot] [PATCH 1/2] watchdog: driver support for fsl-lsch2

2018-10-16 Thread Xiaoliang Yang
Support watchdog driver for fsl-lsch2. If you want to use it, please enable CONFIG_IMX_WATCHDOG, and CONFIG_HW_WATCHDOG. define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. Signed-off-by: Xiaoliang Yang --- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 |9 + drivers

Re: [U-Boot] [PATCH v2 1/2] watchdog: driver support for fsl-lsch2

2018-06-01 Thread Xiaoliang Yang
v1 -> v2: Because of imx_watchdog.c driver not supports all layerscape SoCs, change to build imx_watchdog.o only when enable IMX_WATCHDOG for fsl-lsch2 SoCs. Add IMX_WATCHDOG in drivers/watchdog/Kconfig. Changes in v2: drivers/watchdog/Kconfig |6 ++

[U-Boot] [PATCH v2 2/2] watchdog: Kconfig: add config to disable wdog reset

2018-06-01 Thread Xiaoliang Yang
Add Kconfig support for CONFIG_WATCHDOG_RESET_DISABLE, use this config to disable watchdog reset in imx_watchdog driver, so that the watchdog will not be fed in u-boot. Signed-off-by: Xiaoliang Yang --- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 |3 +++ drivers/watchdog/Kconfig

[U-Boot] [PATCH v2 1/2] watchdog: driver support for fsl-lsch2

2018-06-01 Thread Xiaoliang Yang
Support watchdog driver for fsl-lsch2. If you want to use it, please enable CONFIG_IMX_WATCHDOG, and CONFIG_HW_WATCHDOG. define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. Signed-off-by: Xiaoliang Yang --- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 | 10 ++ drivers

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-06-01 Thread Xiaoliang Yang
WDT010_WATCHDOG) += ftwdt010_wdt.o -ifneq (,$(filter > $(SOC), mx31 mx35 mx5 mx6 mx7 vf610 fsl-layerscape)) > +ifneq (,$(filter $(SOC), mx31 mx35 mx5 mx6 mx7 vf610)) > obj-y += imx_watchdog.o > +else > +obj-$(CONFIG_IMX_WATCHDOG) += imx_watchdog.o > endif > Regards, Xiaolian

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-06-01 Thread Xiaoliang Yang
Hi York, Sure, thanks for your suggestion. I'll add IMX_WATCHDOG in Kconfig, users can enable it for the platforms they needed. I will push v2 patch later, please help to review it, thanks. Regards, Xiaoliang Yang -Original Message- From: York Sun Sent: 2018年6月1日 11:20 To: Xiaoliang

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-31 Thread Xiaoliang Yang
)) obj-y += imx_watchdog.o +else +ifdef CONFIG_FSL_LSCH2 +obj-$(CONFIG_IMX_WATCHDOG) += imx_watchdog.o +endif endif Regards, Xiaoliang Yang -Original Message- From: York Sun Sent: 2018年5月31日 6:12 To: Xiaoliang Yang ; u-boot@lists.denx.de Subject: Re: [PATCH 1/2] watchdog: driver support

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-23 Thread Xiaoliang Yang
Hi york, Yes, I sent it two days ago, but it's failed to send to u-boot list, so I resend it. Xiaoliang Yang -Original Message- From: York Sun Sent: 2018年5月24日 6:58 To: Xiaoliang Yang <xiaoliang.yan...@nxp.com>; u-boot@lists.denx.de Subject: Re: [PATCH 1/2] watchdog: driver s

[U-Boot] [PATCH 2/2] watchdog: Kconfig: add config to disable wdog reset

2018-05-23 Thread Xiaoliang Yang
Add Kconfig support for CONFIG_WATCHDOG_RESET_DISABLE, use this config to disable watchdog reset in imx_watchdog driver, so that the watchdog will not be fed in u-boot. Signed-off-by: Xiaoliang Yang <xiaoliang.yan...@nxp.com> --- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2

[U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-23 Thread Xiaoliang Yang
Support watchdog driver for layerscape. If you want to use it, please define CONFIG_IMX_WATCHDOG, CONFIG_HW_WATCHDOG, define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. Signed-off-by: Xiaoliang Yang <xiaoliang.yan...@nxp.com> --- arch/arm/cpu/armv8/fsl-layerscape/doc/README

Re: [U-Boot] [PATCH] armv7: LS1021a: enable i-cache in start.S

2016-10-11 Thread Xiaoliang Yang
OK, thanks. Regards, Xiaoliang Yang -Original Message- From: york sun Sent: Sunday, October 09, 2016 1:16 AM To: Xiaoliang Yang; u-boot@lists.denx.de Subject: Re: [PATCH] armv7: LS1021a: enable i-cache in start.S On 09/13/2016 08:48 PM, Xiaoliang Yang wrote: > Del

[U-Boot] [PATCH] armv7: LS1021a: enable i-cache in start.S

2016-09-13 Thread Xiaoliang Yang
Delete CONFIG_SKIP_LOWLEVEL_INIT define in ls1021atwr.h and ls1021aqds.h can let it run cpu_init_cp15 to enable i-cache. First stage of u-boot can run faster after that. There is a description about skip lowlevel init in board/freescale/ls1021atwr/README. Signed-off-by: Xiaoliang Yang

Re: [U-Boot] [PATCH] armv7: ls102xa: add lowlevel init

2016-09-02 Thread Xiaoliang Yang
Hi york, The silicon bug was existing in V1.0 of SoCs, we have already not supported them. Xiaoliang Yang -Original Message- From: york sun Sent: Friday, September 02, 2016 11:24 AM To: Xiaoliang Yang; u-boot@lists.denx.de Subject: Re: [PATCH] armv7: ls102xa: add lowlevel init

[U-Boot] [PATCH] armv7: ls102xa: add lowlevel init

2016-09-01 Thread Xiaoliang Yang
Add lowlevel init in ls102xa, and delete the CONFIG_SKIP_LOWLEVEL_INIT define in ls1021atwr.h Signed-off-by: Xiaoliang Yang <xiaoliang.y...@nxp.com> --- arch/arm/cpu/armv7/Makefile | 2 +- arch/arm/cpu/armv7/ls102xa/soc.c | 4 include/configs/ls1021atwr.h | 1 - 3 files chan