diff options
author | 2014-11-14 20:09:41 +1000 | |
---|---|---|
committer | 2014-11-14 20:09:41 +1000 | |
commit | 8fd0dcd32d155e4e1ae61a41b7b84a2a37d08a36 (patch) | |
tree | aa9c39283f06e091a3b2e04a46390c322a4e7215 | |
parent | 6d2a9a4940c141fa09c46d991099fadaee43099b (diff) | |
download | meta-xilinx-8fd0dcd32d155e4e1ae61a41b7b84a2a37d08a36.tar.gz meta-xilinx-8fd0dcd32d155e4e1ae61a41b7b84a2a37d08a36.tar.bz2 meta-xilinx-8fd0dcd32d155e4e1ae61a41b7b84a2a37d08a36.zip |
linux/configs: Add config fragment to increase /dev/ram size
* features/blk/dev-ram-32mb.scc: Increases BLK_DEV_RAM_SIZE to 32768 for
a 32MB RAM block device, whilst reducing the count of devices to 4
* Use the feature fragment as default for Zynq
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
3 files changed, 11 insertions, 0 deletions
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/zynq/zynq.scc b/recipes-kernel/linux/config/xilinx-common/bsp/zynq/zynq.scc index 358f6596..187f83a9 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/zynq/zynq.scc +++ b/recipes-kernel/linux/config/xilinx-common/bsp/zynq/zynq.scc @@ -11,6 +11,7 @@ include features/scsi/scsi.scc include features/scsi/scsi-generic.scc include features/scsi/disk.scc +include features/blk/dev-ram-32mb.scc include features/mtd/mtd.scc include features/uio/uio.scc diff --git a/recipes-kernel/linux/config/xilinx-common/features/blk/dev-ram-32mb.cfg b/recipes-kernel/linux/config/xilinx-common/features/blk/dev-ram-32mb.cfg new file mode 100644 index 00000000..aa2cc175 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/features/blk/dev-ram-32mb.cfg @@ -0,0 +1,5 @@ + +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_COUNT=4 +CONFIG_BLK_DEV_RAM_SIZE=32768 + diff --git a/recipes-kernel/linux/config/xilinx-common/features/blk/dev-ram-32mb.scc b/recipes-kernel/linux/config/xilinx-common/features/blk/dev-ram-32mb.scc new file mode 100644 index 00000000..892083bf --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/features/blk/dev-ram-32mb.scc @@ -0,0 +1,5 @@ +define KFEATURE_DESCRIPTION "Increase size of /dev/ram Blocks" +define KFEATURE_COMPATIBILITY board + +kconfig hardware dev-ram-32mb.cfg + |