s3c64xx: support the soft reset at s3c6410
PATCH 1/1 s3c64xx: support the soft reset at s3c6410
This patch support the soft reset at s3c6410
Signed-off-by Minkyu Kang <[email protected]>
--- cpu/arm1176/cpu.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
cpu/arm1176/cpu.c +4 -0
@@ -112,7 +112,11 @@ int cleanup_before_linux (void)void reset_cpu (ulong ignored) {printf ("reset... \n\n\n" ); +#if defined(CONFIG_S3C6410 ) +SW_RST_REG =0x6410 ; +#else SW_RST_REG =0x6400 ; +#endif /* loop forever and wait for reset to happen */ while (1 ) {if (serial_tstc ()) {
PATCH 1/1 s3c64xx: support the soft reset at s3c6410
Quoted 12 lines · Minkyu Kang
This patch support the soft reset at s3c6410
Signed-off-by Minkyu Kang <[email protected]>--- cpu/arm1176/cpu.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)cpu/arm1176/cpu.c +0
-0
cpu/arm1176/cpu.c int cleanup_before_linux (void) · line 119
Quoted 8 lines
cpu/arm1176/cpu.c +4
-0@@ -112,7 +112,11 @@ int cleanup_before_linux (void)void reset_cpu (ulong ignored) {printf ("reset... \n\n\n" ); +#if defined(CONFIG_S3C6410 ) +SW_RST_REG =0x6410 ; +#else SW_RST_REG =0x6400 ; +#endif
this is soc specific please move to the soc
and please use proper accessor
Best Regards,
J.
PATCH 1/1 s3c64xx: support the soft reset at s3c6410
Quoted 8 lines · Jean-Christophe PLAGNIOL-VILLARD
Quoted 7 lines · Minkyu Kang
This patch support the soft reset at s3c6410
Signed-off-by Minkyu Kang <[email protected]>--- cpu/arm1176/cpu.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
Quoted 15 lines
cpu/arm1176/cpu.c int cleanup_before_linux (void) · line 119
Quoted 13 lines
cpu/arm1176/cpu.c +4
-0@@ -112,7 +112,11 @@ int cleanup_before_linux (void)void reset_cpu (ulong ignored) {printf ("reset... \n\n\n" ); +#if defined(CONFIG_S3C6410 ) +SW_RST_REG =0x6410 ; +#else SW_RST_REG =0x6400 ; +#endif this is soc specific please move to the soc
and please use proper accessor
ping
will you send a new version soon
Best Regards,
J.