[PATCH 1/2] ARM/MXS: add new way to reset the whole SoC

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Jun 20 16:05:34 EDT 2012


Hello Jürgen,

On Wed, Jun 20, 2012 at 09:04:09PM +0200, Juergen Beisert wrote:
> > Is it worth to introduce a common function
> >
> > 	void __noreturn sensiblename(unsigned long clkctrl_reset_offset, unsigned
> > long unused) {
> > 		...
> > 	}
> >
> > and make the reset_cpu functions for imx23 and imx28 just call
> > sensiblename()?
> 
> Refer "http://www.spinics.net/lists/u-boot-v2/msg07681.html"
I don't see how this answers my question. To combine both answers, put
sensiblename into arch/arm/mach-mxs/common.c and the imx23 and the imx28
specific call to sensiblename into imx23.c and imx28.c respectively.

Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the barebox mailing list