diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2013-07-18 21:41:21 +0200 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2013-07-18 21:41:21 +0200 |
commit | d341f5e86b0404b6a76b3f4dfb4af1ba2fe26c90 (patch) | |
tree | b9d257ef642ef0088ce8d12904fd88e2585876f9 | |
parent | 39efd4df723844d0511b05dbdb16308a1453e3c0 (diff) | |
download | OSELAS.BSP-EnergyMicro-Gecko-d341f5e86b0404b6a76b3f4dfb4af1ba2fe26c90.tar.gz OSELAS.BSP-EnergyMicro-Gecko-d341f5e86b0404b6a76b3f4dfb4af1ba2fe26c90.tar.xz |
geckoboot: prepare accessing an microsd card
-rw-r--r-- | local_src/geckoboot-2013.01.0/geckoboot.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/local_src/geckoboot-2013.01.0/geckoboot.S b/local_src/geckoboot-2013.01.0/geckoboot.S index f00299f..d5a0d6b 100644 --- a/local_src/geckoboot-2013.01.0/geckoboot.S +++ b/local_src/geckoboot-2013.01.0/geckoboot.S @@ -176,9 +176,9 @@ reginit: .int 0x40006074, 0x00444440 @ GPIO_PD_MODEH; EBI CS0-3, spiconnect set mode=pushpull .int 0x40006090, 0x00000000 @ GPIO_PE_CTRL, reset default - .int 0x400060a0, 0x00000001 @ GPIO_PE_DOUTSET; FPGA irq with pullup - .int 0x400060a4, 0x0000ff00 @ GPIO_PE_DOUTCLR; EBI AD0..7 set dataout to 0 - .int 0x40006094, 0x00000002 @ GPIO_PE_MODEL; FPGA irq input with pullup + .int 0x400060a0, 0x00000011 @ GPIO_PE_DOUTSET; FPGA irq with pullup (E0), SPI_CS (E4) + .int 0x400060a4, 0x0000ffe0 @ GPIO_PE_DOUTCLR; EBI AD0..7 set dataout to 0, SPI_{TX, RX, CLK} + .int 0x40006094, 0x41440002 @ GPIO_PE_MODEL; FPGA irq input with pullup, SPI for microsd .int 0x40006098, 0x44444444 @ GPIO_PE_MODEH; EBI AD0..7 set mode=pushpull .int 0x400060b4, 0x00000000 @ GPIO_PF_CTRL, reset default @@ -234,7 +234,7 @@ reginit_end: .align 3 .type bcinit, %object bcinit: - .short 0x0018, 0x1300 @ enable UART mux and ETH + .short 0x0018, 0x1301 @ enable UART mux, ETH and spi .short 0x0014, 0x0001 @ / .short 0x001a, 0x0001 @ ETH .short 0x0042, 0x0010 @ workaround bug in BC's irq detection |