[U-Boot] [PATCH v2] x86: som-db5800-som-6867: fix SERIRQ on reset

Explicitly enable ILB_SERIRQ function 1 in cfio_regs_pad_ilb_serirq_PCONF0.
Pad configuration for SERIRQ is not set to enable the SERIRQ function after a reset though strangely, it is on initial boot.
Rebooting from Linux, reset command in u-boot and even pushing the reset button on the development board all lead to the SERIRQ function being disabled (address 0xfed0c560 with value of 0x2003cc80).
Signed-off-by: George McCollister george.mccollister@gmail.com Reviewed-by: Bin Meng bmeng.cn@gmail.com ---
Changes in v2: - Reword commit message
arch/x86/dts/baytrail_som-db5800-som-6867.dts | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/arch/x86/dts/baytrail_som-db5800-som-6867.dts b/arch/x86/dts/baytrail_som-db5800-som-6867.dts index 64e2e52..e1d81a7 100644 --- a/arch/x86/dts/baytrail_som-db5800-som-6867.dts +++ b/arch/x86/dts/baytrail_som-db5800-som-6867.dts @@ -63,6 +63,12 @@ pad-offset = <0x270>; mode-func = <2>; }; + + /* SERIRQ */ + soc_gpio_s0_50@0 { + pad-offset = <0x560>; + mode-func = <1>; + }; };
chosen {

On Thu, Jul 28, 2016 at 10:49 PM, George McCollister george.mccollister@gmail.com wrote:
Explicitly enable ILB_SERIRQ function 1 in cfio_regs_pad_ilb_serirq_PCONF0.
Pad configuration for SERIRQ is not set to enable the SERIRQ function after a reset though strangely, it is on initial boot.
Rebooting from Linux, reset command in u-boot and even pushing the reset button on the development board all lead to the SERIRQ function being disabled (address 0xfed0c560 with value of 0x2003cc80).
Signed-off-by: George McCollister george.mccollister@gmail.com Reviewed-by: Bin Meng bmeng.cn@gmail.com
Changes in v2:
- Reword commit message
arch/x86/dts/baytrail_som-db5800-som-6867.dts | 6 ++++++ 1 file changed, 6 insertions(+)
applied to u-boot-x86, thanks!
participants (2)
-
Bin Meng
-
George McCollister