[PATCH 1/4] Enable a way to provide the reason for being here

2012-07-18 Thread Juergen Beisert
Many architectures support a way to detect why the bootloader is running. This patch adds a global variable to be able to use the cause in some kind of shell code to do special things on demand. For example to do an emergency boot, when the last boot fails and the watchdog reactivate the hanging

Re: [PATCH 1/4] Enable a way to provide the reason for being here

2012-07-16 Thread Sascha Hauer
On Fri, Jul 13, 2012 at 08:04:46AM +0200, Juergen Beisert wrote: Many architectures support a way to detect why the bootloader is running. This patch adds a global variable to be able to use the cause in some kind of shell code to do special things on demand. For example to do an emergency

[PATCH 1/4] Enable a way to provide the reason for being here

2012-07-13 Thread Juergen Beisert
Many architectures support a way to detect why the bootloader is running. This patch adds a global variable to be able to use the cause in some kind of shell code to do special things on demand. For example to do an emergency boot, when the last boot fails and the watchdog reactivate the hanging