From: Jean-Christophe PLAGNIOL-VILLARD Date: Tue, 9 Jun 2009 21:41:34 +0200 Subject: [U-Boot] [PATCH] s3c64xx: support the soft reset at s3c6410 In-Reply-To: <20090402104227.GD889@game.jcrosoft.org> References: <49D49542.1060502@samsung.com> <20090402104227.GD889@game.jcrosoft.org> Message-ID: <20090609194134.GE7621@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12:42 Thu 02 Apr , Jean-Christophe PLAGNIOL-VILLARD wrote: > On 19:36 Thu 02 Apr , Minkyu Kang wrote: > > This patch support the soft reset at s3c6410 > > > > Signed-off-by: Minkyu Kang > > --- > > cpu/arm1176/cpu.c | 4 ++++ > > 1 files changed, 4 insertions(+), 0 deletions(-) > > > > diff --git a/cpu/arm1176/cpu.c b/cpu/arm1176/cpu.c > > index 1e94f7d..cb13d9c 100644 > > --- a/cpu/arm1176/cpu.c > > +++ b/cpu/arm1176/cpu.c > > @@ -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.