FreeCalypso > hg > fc-tourmaline
comparison src/cs/drivers/drv_core/armio/armio.c @ 208:6fb17a32c5bd
Luna physical backlight: don't turn it on at ARMIO init
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 06 Apr 2021 03:33:18 +0000 |
parents | 4e78acac3d88 |
children |
comparison
equal
deleted
inserted
replaced
207:c3d559809cdc | 208:6fb17a32c5bd |
---|---|
272 // On the GTM900 GPIOs 0 and 1 are RI and DSR outputs, respectively. | 272 // On the GTM900 GPIOs 0 and 1 are RI and DSR outputs, respectively. |
273 // For targets other than GTM900, we enable the audio amplifier | 273 // For targets other than GTM900, we enable the audio amplifier |
274 // if we are in an MMI!=0 build - for ACI builds use the AT@SPKR command. | 274 // if we are in an MMI!=0 build - for ACI builds use the AT@SPKR command. |
275 #ifdef CONFIG_TARGET_GTM900 | 275 #ifdef CONFIG_TARGET_GTM900 |
276 *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x3F05; | 276 *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x3F05; |
277 #elif defined(CONFIG_TARGET_LUNA) | |
278 *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x2106; | |
277 #elif (MMI != 0) || defined(CONFIG_GPIO1_HIGH) | 279 #elif (MMI != 0) || defined(CONFIG_GPIO1_HIGH) |
278 *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x3F06; | 280 *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x3F06; |
279 #else | 281 #else |
280 *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x3F04; | 282 *((volatile SYS_UWORD16 *) ARMIO_OUT) = 0x3F04; |
281 #endif | 283 #endif |