diff options
| author | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-11-14 20:09:41 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-11-14 20:09:41 +1000 |
| commit | 8fd0dcd32d155e4e1ae61a41b7b84a2a37d08a36 (patch) | |
| tree | aa9c39283f06e091a3b2e04a46390c322a4e7215 /recipes-kernel | |
| parent | 6d2a9a4940c141fa09c46d991099fadaee43099b (diff) | |
| download | meta-xilinx-8fd0dcd32d155e4e1ae61a41b7b84a2a37d08a36.tar.gz | |
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>
Diffstat (limited to 'recipes-kernel')
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 | |||
| 11 | include features/scsi/scsi-generic.scc | 11 | include features/scsi/scsi-generic.scc |
| 12 | include features/scsi/disk.scc | 12 | include features/scsi/disk.scc |
| 13 | 13 | ||
| 14 | include features/blk/dev-ram-32mb.scc | ||
| 14 | include features/mtd/mtd.scc | 15 | include features/mtd/mtd.scc |
| 15 | include features/uio/uio.scc | 16 | include features/uio/uio.scc |
| 16 | 17 | ||
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 @@ | |||
| 1 | |||
| 2 | CONFIG_BLK_DEV_RAM=y | ||
| 3 | CONFIG_BLK_DEV_RAM_COUNT=4 | ||
| 4 | CONFIG_BLK_DEV_RAM_SIZE=32768 | ||
| 5 | |||
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 @@ | |||
| 1 | define KFEATURE_DESCRIPTION "Increase size of /dev/ram Blocks" | ||
| 2 | define KFEATURE_COMPATIBILITY board | ||
| 3 | |||
| 4 | kconfig hardware dev-ram-32mb.cfg | ||
| 5 | |||
