1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 // plaform specific keyboard defines, see core/kbd_common.c for documentation 4 #define KEYS_MASK0 0x00000000 5 #define KEYS_MASK1 0x00000000 6 #define KEYS_MASK2 0x000017FF 7 8 #define SD_READONLY_FLAG (0x20000) 9 #define SD_READONLY_IDX 2 10 11 #define USB_MASK 0x8000000 12 #define USB_IDX 1 13 14 // MMIO to read USB +5v directly, for get_usb_bit 15 #define USB_MMIO 0xc0220204 16 17 #endif