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 #define KEYS_MASK2 0x00001FFF 8 9 #define SD_READONLY_IDX 2 10 #define SD_READONLY_FLAG 0x20000 11 12 #define USB_MASK 0x08 13 #define USB_IDX 0 14 15 // MMIO to read USB +5v directly, for get_usb_bit 16 #define USB_MMIO 0xc0220200 17 18 #endif