Go to the documentation of this file.
21 #define __UNIFIHW_H__ 1
28 #define SLUT_FINGERPRINT 0xD397
32 #define UNIFI_LOADER_IDLE 0x00
33 #define UNIFI_LOADER_COPY 0x01
34 #define UNIFI_LOADER_ERROR_MASK 0xF0
37 #define UNIFI_BOOT_LOADER_IDLE 0x00
38 #define UNIFI_BOOT_LOADER_RESTART 0x01
39 #define UNIFI_BOOT_LOADER_PATCH 0x02
40 #define UNIFI_BOOT_LOADER_LOAD_STA 0x10
41 #define UNIFI_BOOT_LOADER_LOAD_PTEST 0x11
45 #define UNIFI_SH_DMEM 0x01
46 #define UNIFI_EXT_FLASH 0x02
47 #define UNIFI_EXT_SRAM 0x03
48 #define UNIFI_REGISTERS 0x04
49 #define UNIFI_PHY_DMEM 0x10
50 #define UNIFI_PHY_PMEM 0x11
51 #define UNIFI_PHY_ROM 0x12
52 #define UNIFI_MAC_DMEM 0x20
53 #define UNIFI_MAC_PMEM 0x21
54 #define UNIFI_MAC_ROM 0x22
55 #define UNIFI_BT_DMEM 0x30
56 #define UNIFI_BT_PMEM 0x31
57 #define UNIFI_BT_ROM 0x32
59 #define UNIFI_MAKE_GP(R, O) (((UNIFI_ ## R) << 24) | (O))
60 #define UNIFI_GP_OFFSET(GP) ((GP) & 0xFFFFFF)
61 #define UNIFI_GP_SPACE(GP) (((GP) >> 24) & 0xFF)