The number of "#if" has been reduced to have less obfuscation, now have the
three keys or have none of them
Signed-off-by: Vicente Bergas
---
arch/arm/boards/archosg9/board.c | 22 ++
arch/arm/boards/archosg9/env/bin/init | 28 +++
If a key is pressed but not released before booting and the key is
connected to an active low gpio it's not detected. This patch solves
that.
Signed-off-by: Vicente Bergas
---
drivers/input/gpio_keys.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/input/gpio_keys.c b/drivers/inpu
Signed-off-by: Vicente Bergas
---
arch/arm/boards/archosg9/archos_features.c | 58 +-
1 file changed, 16 insertions(+), 42 deletions(-)
diff --git a/arch/arm/boards/archosg9/archos_features.c
b/arch/arm/boards/archosg9/archos_features.c
index 5d93403..b396734 100644
this way serial-over-usb driver is registered always, but the device is
only registered when booting from usb.
Signed-off-by: Vicente Bergas
---
arch/arm/boards/archosg9/board.c | 6 +-
drivers/serial/serial_omap4_usbboot.c | 2 --
2 files changed, 5 insertions(+), 3 deletions(-)
diff
This patch is not intended to be applied because has already been rejected.
It's here only for completeness as the only solution available nowadays for
the problem it solves.
Signed-off-by: Vicente Bergas
---
arch/arm/boards/archosg9/env/boot/sd-card-android | 2 +-
arch/arm/boards/archosg
This is the second version of this patch series, it includes all feedback
received
which is greatly appreciated.
Vicente Bergas (6):
OMAP4: check for usb availability at device registration
ArchosG9: zero all features before setting them
gpio_keys: detect keys pressed before booting
OMAP4
On OMAP4 SoC there is a SAR memory region (Save & Rescue) where the ROM
code reads the device to boot from.
This patch adds a way to set this.
Signed-off-by: Vicente Bergas
---
arch/arm/mach-omap/include/mach/omap4-silicon.h | 20 +++
arch/arm/mach-omap/omap4_generic.c | 20
> This allows us to better detect whether a clk is enabled or not.
>
> - If we can ask a clk, ask it. If it's enabled, go on and ask parents
> - If we can't ask it, but it can be enabled, depend on the enable_count.
> if it's positive, go on and ask parents
> - If we can't ask it and it cannot b