FreeCalypso > hg > freecalypso-sw
diff target-utils/pirexplore/main.c @ 77:fcbe1332b197
pirexplore: LCD init and BL control work now
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 01 Aug 2013 00:57:49 +0000 |
parents | 07b686248ab7 |
children | a7b0b426f9ca |
line wrap: on
line diff
--- a/target-utils/pirexplore/main.c Thu Aug 01 00:26:29 2013 +0000 +++ b/target-utils/pirexplore/main.c Thu Aug 01 00:57:49 2013 +0000 @@ -25,12 +25,15 @@ * Other register settings replicating what OsmocomBB does * in board/pirelli_dpl10/init.c */ - *(volatile u16 *)0xfffef008 = 0x7080; + *(volatile u16 *)0xfffef008 = 0x7090; *(volatile u16 *)0xfffef00a = 0x021F; *(volatile u16 *)0xfffe4804 = 0xFF6D; *(volatile u16 *)0xfffe4802 = 0x0000; /* nCS4 setup for SPCA552E */ *(volatile u16 *)0xfffffb0a = 0x00A7; + /* initialize PWL registers like OsmocomBB does */ + *(volatile u8 *)0xfffe8000 = 0x32; + *(volatile u8 *)0xfffe8001 = 0x01; for (;;) { putchar('='); if (command_entry())