summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-qoriq_3.12.bb
diff options
context:
space:
mode:
authorBob Cochran <yocto@mindchasers.com>2014-11-13 23:05:20 -0500
committerZhenhua Luo <zhenhua.luo@freescale.com>2014-12-04 21:25:46 +0800
commit486a72425f2f6e25efd9bfdbb9638fb58e90a85f (patch)
treec2a8d176c7709b50389d1bc1ffb76a1f243b942d /recipes-kernel/linux/linux-qoriq_3.12.bb
parentaeb28ed76b764b3fd18a43aeb3ae93e76d51bf43 (diff)
downloadmeta-fsl-ppc-486a72425f2f6e25efd9bfdbb9638fb58e90a85f.tar.gz
linux-qoriq: change defconfig for T1040 to match number of cpus
Having a number higher than necessary for NR_CPUS wastes memory by instantiating unnecessary structures in RAM. An example is in the DPAA where DPAA_ETH_TX_QUEUES is defined based on NR_CPUS and used to create dozens of extra qman_fq structures. Using the prior value of 24, which was left over from the T4240 created an additonal 60 frame queue structures alone. This has been tested on t1040rdb-64b. Signed-off-by: Bob Cochran <yocto@mindchasers.com>
Diffstat (limited to 'recipes-kernel/linux/linux-qoriq_3.12.bb')
-rw-r--r--recipes-kernel/linux/linux-qoriq_3.12.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-qoriq_3.12.bb b/recipes-kernel/linux/linux-qoriq_3.12.bb
index 39c4a7b..5f9bc17 100644
--- a/recipes-kernel/linux/linux-qoriq_3.12.bb
+++ b/recipes-kernel/linux/linux-qoriq_3.12.bb
@@ -7,6 +7,7 @@ SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;nobranch=1 \
7 file://Fix-CVE-2014-5471_CVE-2014-5472.patch \ 7 file://Fix-CVE-2014-5471_CVE-2014-5472.patch \
8 file://remove-Altivec-from-T1040-64-bit-defconfig.patch \ 8 file://remove-Altivec-from-T1040-64-bit-defconfig.patch \
9 file://configure-T1040-for-FMAN-V3L.patch \ 9 file://configure-T1040-for-FMAN-V3L.patch \
10 file://modify-defconfig-t1040-nr-cpus.patch \
10" 11"
11SRCREV = "c29fe1a733308cbe592b3af054a97be1b91cf2dd" 12SRCREV = "c29fe1a733308cbe592b3af054a97be1b91cf2dd"
12 13