summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/Kconfig
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@freescale.com>2014-04-24 09:17:22 (GMT)
committerJose Rivera <German.Rivera@freescale.com>2014-05-08 13:49:51 (GMT)
commit44cc9789d535e01339a68b63e633057f55704246 (patch)
tree02ea4fa8f2a4db80311ebb202c0e0f799de793dc /drivers/net/ethernet/freescale/Kconfig
parent4888b87c99e103a1cf1cb3add39c4c8252249dc3 (diff)
downloadlinux-fsl-qoriq-44cc9789d535e01339a68b63e633057f55704246.tar.xz
gianfar: Add BD rings allocation to L2 SRAM
When this option is enabled the driver will try to allocate the buffer descriptors (BDs) to the L2 SRAM memory, using the powerpc/85xx cache-sram support API for the P1/P2 QorIQ platforms. For this to work, the size and address of the SRAM region must be provided as kernel boot params. Should the attempt to allocate in L2 SRAM fail, the driver falls back to normal allocation of BDs as before (to DDR). The gfar_l2sram_en driver module param is provided to allow to disable the allocation to L2 SRAM at driver level (enabled by default). Change-Id: I087e97baf289111a0841fdf69592c56d3a9a0310 Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/11624 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Jianhua Xie <jianhua.xie@freescale.com> Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/Kconfig')
-rw-r--r--drivers/net/ethernet/freescale/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/Kconfig b/drivers/net/ethernet/freescale/Kconfig
index 80c9bb7..bc51248 100644
--- a/drivers/net/ethernet/freescale/Kconfig
+++ b/drivers/net/ethernet/freescale/Kconfig
@@ -88,6 +88,7 @@ config UGETH_TX_ON_DEMAND
config GIANFAR
tristate "Gianfar Ethernet"
depends on FSL_SOC
+ select FSL_85XX_CACHE_SRAM
select FSL_PQ_MDIO
select PHYLIB
select CRC32