All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2] board/t1024rdb: enable board-level reset when issuing reset command
@ 2017-01-12  5:26 Shengzhou Liu
  2017-01-16 21:44 ` york sun
  0 siblings, 1 reply; 2+ messages in thread
From: Shengzhou Liu @ 2017-01-12  5:26 UTC (permalink / raw)
  To: u-boot

As board-specific reset logic, it needs to issue reset signal
via CPLD when issuing 'reset' command in u-boot, this patch
solves the issue of reset command not working on T1024RDB.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com>
---
v2: add build condition.

 board/freescale/t102xrdb/t102xrdb.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/board/freescale/t102xrdb/t102xrdb.c b/board/freescale/t102xrdb/t102xrdb.c
index 01dbf38..0f453a7 100644
--- a/board/freescale/t102xrdb/t102xrdb.c
+++ b/board/freescale/t102xrdb/t102xrdb.c
@@ -167,6 +167,13 @@ unsigned long get_board_ddr_clk(void)
 	return CONFIG_DDR_CLK_FREQ;
 }
 
+#ifdef CONFIG_T1024RDB
+void board_reset(void)
+{
+	CPLD_WRITE(reset_ctl1, CPLD_LBMAP_RESET);
+}
+#endif
+
 int misc_init_r(void)
 {
 	return 0;
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH v2] board/t1024rdb: enable board-level reset when issuing reset command
  2017-01-12  5:26 [U-Boot] [PATCH v2] board/t1024rdb: enable board-level reset when issuing reset command Shengzhou Liu
@ 2017-01-16 21:44 ` york sun
  0 siblings, 0 replies; 2+ messages in thread
From: york sun @ 2017-01-16 21:44 UTC (permalink / raw)
  To: u-boot

On 01/11/2017 09:39 PM, Shengzhou Liu wrote:
> As board-specific reset logic, it needs to issue reset signal
> via CPLD when issuing 'reset' command in u-boot, this patch
> solves the issue of reset command not working on T1024RDB.
>
> Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com>
> ---
> v2: add build condition.
>
>  board/freescale/t102xrdb/t102xrdb.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/board/freescale/t102xrdb/t102xrdb.c b/board/freescale/t102xrdb/t102xrdb.c
> index 01dbf38..0f453a7 100644
> --- a/board/freescale/t102xrdb/t102xrdb.c
> +++ b/board/freescale/t102xrdb/t102xrdb.c
> @@ -167,6 +167,13 @@ unsigned long get_board_ddr_clk(void)
>  	return CONFIG_DDR_CLK_FREQ;
>  }
>
> +#ifdef CONFIG_T1024RDB

Shengzhou

This macro is no longer used. Please use CONFIG_TARGET_T1024RDB instead.

York

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-16 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-12  5:26 [U-Boot] [PATCH v2] board/t1024rdb: enable board-level reset when issuing reset command Shengzhou Liu
2017-01-16 21:44 ` york sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.