[PATCHv5] 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 reactivates the hanging

[PATCH 3/4] ARM/i.MX: add support to detect the reset source

2012-07-18 Thread Juergen Beisert
Signed-off-by: Juergen Beisert j...@pengutronix.de --- arch/arm/mach-imx/Makefile |1 + arch/arm/mach-imx/reset_source.c | 72 ++ 2 files changed, 73 insertions(+) create mode 100644 arch/arm/mach-imx/reset_source.c diff --git

[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

[PATCH 2/4] ARM/Samsung: add support to detect the reset source

2012-07-18 Thread Juergen Beisert
Signed-off-by: Juergen Beisert j...@pengutronix.de --- arch/arm/mach-samsung/Makefile |1 + arch/arm/mach-samsung/reset_source.c | 56 ++ 2 files changed, 57 insertions(+) create mode 100644 arch/arm/mach-samsung/reset_source.c diff --git

Board's naming style

2012-07-18 Thread Juergen Beisert
Hi, a look into arch/arm/boards/ offers various boards starting with the vendor's name in their directory name (eukrea/freescale). I would like to have the same for the FriendlyARM boards. Currently the Mini2440 and Tiny210 are part of the tree and I'm still working on the Mini6410 and

Re: Board's naming style

2012-07-18 Thread Sascha Hauer
On Wed, Jul 18, 2012 at 10:53:29AM +0200, Juergen Beisert wrote: Hi, a look into arch/arm/boards/ offers various boards starting with the vendor's name in their directory name (eukrea/freescale). I would like to have the same for the FriendlyARM boards. Currently the Mini2440 and Tiny210

[PATCH 1/3] OMAP GPMC NAND: use buswidth from GPMC

2012-07-18 Thread Jan Weitzel
GPMC could be already configured by xloader or rom bootloader Use the configured buswidth (width == 0) or set it explicit in the board file. Use autodetect on pcm049 Signed-off-by: Jan Weitzel j.weit...@phytec.de --- arch/arm/boards/pcm049/board.c |4 ++--

[PATCH 2/3] gpmc: Add reset to gpmc_generic_init

2012-07-18 Thread Jan Weitzel
Add reset to gpmc_generic_init as proposed by TRM. This also fixes some strange timing issue while GPMC Initialization for NAND OMAP4460 Signed-off-by: Jan Weitzel j.weit...@phytec.de --- arch/arm/mach-omap/gpmc.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git

[PATCH] pca-a-l1: added memory device for int. 60kB RAM.

2012-07-18 Thread Juergen Kilb
Signed-off-by: Juergen Kilb j.k...@phytec.de --- arch/arm/boards/phycard-a-l1/pca-a-l1.c |2 ++ arch/arm/mach-omap/include/mach/omap3-silicon.h |1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/boards/phycard-a-l1/pca-a-l1.c

[PATCH] phyCARD-A-L1: Create xload configuration.

2012-07-18 Thread Juergen Kilb
This configuration can be used to use barebox as x-loader replacement. Also the ECC-Mode is changed from SOFT to BCH8. Signed-off-by: Juergen Kilb j.k...@phytec.de --- arch/arm/boards/phycard-a-l1/pca-a-l1.c | 10 ++ arch/arm/configs/phycard_a_l1_xload_defconfig | 43

[PATCH] omap_hsmmc: Hack allert! Add delay in omap_hsmmc.

2012-07-18 Thread Juergen Kilb
Most of the time, a SD card was not found during probing. This hack fixed the problem. Further investigation needed !! Signed-off-by: Juergen Kilb j.k...@phytec.de --- drivers/mci/omap_hsmmc.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/mci/omap_hsmmc.c

Re: [PATCHv5] Enable a way to provide the reason for being here

2012-07-18 Thread Sascha Hauer
On Wed, Jul 18, 2012 at 10:46: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