comparison target-utils/pirexplore/main.c @ 76:07b686248ab7

pirexplore: finally got the backlight to turn on
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 01 Aug 2013 00:26:29 +0000
parents 8138a6380ae3
children fcbe1332b197
comparison
equal deleted inserted replaced
75:c9768f5fb329 76:07b686248ab7
23 *(volatile u16 *)0xfffef006 = 0x0008; 23 *(volatile u16 *)0xfffef006 = 0x0008;
24 /* 24 /*
25 * Other register settings replicating what OsmocomBB does 25 * Other register settings replicating what OsmocomBB does
26 * in board/pirelli_dpl10/init.c 26 * in board/pirelli_dpl10/init.c
27 */ 27 */
28 *(volatile u16 *)0xfffef008 = 0x7090; 28 *(volatile u16 *)0xfffef008 = 0x7080;
29 *(volatile u16 *)0xfffef00a = 0x021F; 29 *(volatile u16 *)0xfffef00a = 0x021F;
30 *(volatile u16 *)0xfffe4804 = 0xFF6D; 30 *(volatile u16 *)0xfffe4804 = 0xFF6D;
31 *(volatile u16 *)0xfffe4802 = 0x0000; 31 *(volatile u16 *)0xfffe4802 = 0x0000;
32 *(volatile u16 *)0xfffe4802 = 0x0012;
33 /* nCS4 setup for SPCA552E */ 32 /* nCS4 setup for SPCA552E */
34 *(volatile u16 *)0xfffffb0a = 0x00A7; 33 *(volatile u16 *)0xfffffb0a = 0x00A7;
35 for (;;) { 34 for (;;) {
36 putchar('='); 35 putchar('=');
37 if (command_entry()) 36 if (command_entry())