1 #ifndef PLATFORM_KBD_H 2 #define PLATFORM_KBD_H 3 // plaform specific keyboard defines, see core/kbd_common.c for documentation 4 5 #define KEYS_MASK0 0x00000000 6 #define KEYS_MASK1 0x00000000 7 // TODO - carried over from old generic code, but not all bits used in key map 8 #define KEYS_MASK2 0x00001FFF 9 10 #define SD_READONLY_IDX 2 11 #define SD_READONLY_FLAG 0x20000 12 13 #define USB_MASK 0x8000000 14 #define USB_IDX 1 15 16 // MMIO to read USB +5v directly, for get_usb_bit 17 #define USB_MMIO 0xc0220204 18 19 #endif