Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f714e58e authored by Arend van Spriel's avatar Arend van Spriel Committed by Kalle Valo
Browse files

brcmfmac: remove unused/duplicate defines in chip.c



The source file chip.c contained some duplicate defines and
some unused ones. Removing them.

Reviewed-by: default avatarHante Meuleman <meuleman@broadcom.com>
Reviewed-by: default avatarPieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 83297aaa
Loading
Loading
Loading
Loading
+0 −14
Original line number Original line Diff line number Diff line
@@ -101,14 +101,7 @@
/* ARM Cortex M3 core, ID 0x82a */
/* ARM Cortex M3 core, ID 0x82a */
#define BCM4329_CORE_ARM_BASE		0x18002000
#define BCM4329_CORE_ARM_BASE		0x18002000
#define BCM4329_RAMSIZE			0x48000
#define BCM4329_RAMSIZE			0x48000

/* bcm43143 */
/* bcm43143 */
/* SDIO device core */
#define BCM43143_CORE_BUS_BASE		0x18002000
/* internal memory core */
#define BCM43143_CORE_SOCRAM_BASE	0x18004000
/* ARM Cortex M3 core, ID 0x82a */
#define BCM43143_CORE_ARM_BASE		0x18003000
#define BCM43143_RAMSIZE		0x70000
#define BCM43143_RAMSIZE		0x70000


#define CORE_SB(base, field) \
#define CORE_SB(base, field) \
@@ -164,13 +157,6 @@ struct brcmf_core_priv {
	struct brcmf_chip_priv *chip;
	struct brcmf_chip_priv *chip;
};
};


/* ARM CR4 core specific control flag bits */
#define ARMCR4_BCMA_IOCTL_CPUHALT	0x0020

/* D11 core specific control flag bits */
#define D11_BCMA_IOCTL_PHYCLOCKEN	0x0004
#define D11_BCMA_IOCTL_PHYRESET		0x0008

struct brcmf_chip_priv {
struct brcmf_chip_priv {
	struct brcmf_chip pub;
	struct brcmf_chip pub;
	const struct brcmf_buscore_ops *ops;
	const struct brcmf_buscore_ops *ops;