Basic codezero support for clcd device capability added.

1. We are not making a new clcd service container, as we dont want to keep
separate container for each device, ultimately we will have one
container managing all devices.

2. CLCD driver needs to be added.
This commit is contained in:
Amit Mahajan
2010-03-30 22:31:35 +05:30
parent d0110749bd
commit 988ea49c26
10 changed files with 69 additions and 63 deletions

View File

@@ -46,8 +46,9 @@
*/
#define CAP_DEVTYPE_TIMER 1
#define CAP_DEVTYPE_UART 2
#define CAP_DEVTYPE_KEYBOARD 3
#define CAP_DEVTYPE_MOUSE 4
#define CAP_DEVTYPE_KEYBOARD 3
#define CAP_DEVTYPE_MOUSE 4
#define CAP_DEVTYPE_CLCD 5
#define CAP_DEVTYPE_OTHER 0xF
#define CAP_DEVTYPE_MASK 0xFFFF
#define CAP_DEVNUM_MASK 0xFFFF0000

View File

@@ -49,6 +49,7 @@
#define PLATFORM_TIMER1_VBASE (IO_AREA0_VADDR + (6 * DEVICE_PAGE))
#define PLATFORM_KEYBOARD0_VBASE (IO_AREA0_VADDR + (7 * DEVICE_PAGE))
#define PLATFORM_MOUSE0_VBASE (IO_AREA0_VADDR + (8 * DEVICE_PAGE))
#define PLATFORM_CLCD0_VBASE (IO_AREA0_VADDR + (9 * DEVICE_PAGE))
/* The SP810 system controller offsets */
#define SP810_BASE PLATFORM_SYSCTRL_VBASE
@@ -61,6 +62,7 @@
#define PLATFORM_TIMER1_SIZE 0x1000
#define PLATFORM_KEYBOARD0_SIZE 0x1000
#define PLATFORM_MOUSE0_SIZE 0x1000
#define PLATFORM_CLCD0_SIZE 0x1000
#endif /* __PLATFORM_PB926_OFFSETS_H__ */