[PATCH 3/6] System restart: add a scope value to the system restart feature

Sascha Hauer s.hauer at pengutronix.de
Wed Jun 24 11:34:40 PDT 2015


Hi Jürgen,

On Mon, Jun 22, 2015 at 12:33:21PM +0200, Juergen Borleis wrote:
> Some systems have more than one feature to restart it. Maybe these restarts
> features are all equal or it is very important which restart feauture is used
> to restart the system in a reliable manner. For example if external
> devices must be reset in conjunction with the SoC some SoC's internal
> restart features cannot be used. Then an external restart feature must
> be forced instead by using the restart feature with the wider scope.
> 

It seems this patch misses several conversions from reset_cpu to
restart_machine:

./arch/mips/lib/bootm.c:23:     reset_cpu(0);
./arch/ppc/lib/ppclinux.c:90:   reset_cpu(0);
./arch/sandbox/os/common.c:144:                 reset_cpu(0);
./arch/sandbox/os/common.c:152:                         reset_cpu(0);
./arch/arm/mach-at91/bootstrap.c:148:   reset_cpu(0);
./arch/arm/mach-at91/at91sam9g45_reset.S:20:                    .globl reset_cpu
./arch/arm/mach-at91/at91sam9g45_reset.S:22:reset_cpu:          ldr r0, .at91_va_base_sdramc        @ preload constants
./arch/arm/mach-at91/at91sam9_reset.S:23:                       .globl reset_cpu
./arch/arm/mach-at91/at91sam9_reset.S:25:reset_cpu:             ldr r0, .at91_va_base_sdramc                        @ preload constants
./arch/arm/mach-tegra/tegra20-pmc.c:221:        reset_cpu(0);
./arch/blackfin/lib/traps.c:94: reset_cpu(0);
./arch/blackfin/lib/traps.c:104:        reset_cpu(0);

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list