mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x0: pci: add fw uploading routine
Add pci load firmware routine. Move some shared mcu definitions in mt76x02_mcu.h Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Stanislaw Gruszka <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
0aced8057f
commit
35e88c00d7
@@ -27,6 +27,15 @@
|
||||
#define MT_INBAND_PACKET_MAX_LEN 192
|
||||
#define MT_MCU_MEMMAP_WLAN 0x410000
|
||||
|
||||
#define MT_MCU_PCIE_REMAP_BASE4 0x074C
|
||||
|
||||
#define MT_MCU_SEMAPHORE_00 0x07B0
|
||||
#define MT_MCU_SEMAPHORE_01 0x07B4
|
||||
#define MT_MCU_SEMAPHORE_02 0x07B8
|
||||
#define MT_MCU_SEMAPHORE_03 0x07BC
|
||||
|
||||
#define MT_MCU_ILM_ADDR 0x80000
|
||||
|
||||
enum mcu_cmd {
|
||||
CMD_FUN_SET_OP = 1,
|
||||
CMD_LOAD_CR = 2,
|
||||
|
||||
Reference in New Issue
Block a user