[ARM] Orion: fix bug in pcie configuration cycle function field mask

The function field is 3 bits.

Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>

authored by Saeed Bishara and committed by Nicolas Pitre 82676d76 020f9706

+1 -1
+1 -1
arch/arm/plat-orion/pcie.c
··· 35 35 #define PCIE_CONF_REG(r) ((((r) & 0xf00) << 16) | ((r) & 0xfc)) 36 36 #define PCIE_CONF_BUS(b) (((b) & 0xff) << 16) 37 37 #define PCIE_CONF_DEV(d) (((d) & 0x1f) << 11) 38 - #define PCIE_CONF_FUNC(f) (((f) & 0x3) << 8) 38 + #define PCIE_CONF_FUNC(f) (((f) & 0x7) << 8) 39 39 #define PCIE_CONF_DATA_OFF 0x18fc 40 40 #define PCIE_MASK_OFF 0x1910 41 41 #define PCIE_CTRL_OFF 0x1a00