Updated upstream Git repositories
[opendreambox.git] / meta-dreambox / recipes-kernel / linux / linux-dreambox-3.4 / 0004-enabled-block2mtd-driver-for-dm520-build-mtdram-kern.patch
1 From 7bb834b3a0bfd922303a168a7b94ca1293ed1828 Mon Sep 17 00:00:00 2001
2 From: Andreas Monzner <andreas.monzner@dream-property.net>
3 Date: Wed, 21 Dec 2016 23:39:01 +0100
4 Subject: [PATCH 4/4] enabled block2mtd driver for dm520, build mtdram kernel
5  module
6
7 ---
8  arch/mips/configs/dm520_defconfig | 9 ++++++---
9  1 file changed, 6 insertions(+), 3 deletions(-)
10
11 diff --git a/arch/mips/configs/dm520_defconfig b/arch/mips/configs/dm520_defconfig
12 index 0c0822f..779b8f1 100644
13 --- a/arch/mips/configs/dm520_defconfig
14 +++ b/arch/mips/configs/dm520_defconfig
15 @@ -1,6 +1,6 @@
16  #
17  # Automatically generated file; DO NOT EDIT.
18 -# Linux/mips 3.4-3.8 Kernel Configuration
19 +# Linux/mips 3.4.113-4.0 Kernel Configuration
20  #
21  CONFIG_MIPS=y
22  
23 @@ -944,8 +944,11 @@ CONFIG_M25PXX_USE_FAST_READ=y
24  # CONFIG_MTD_SST25L is not set
25  # CONFIG_MTD_SLRAM is not set
26  # CONFIG_MTD_PHRAM is not set
27 -# CONFIG_MTD_MTDRAM is not set
28 -# CONFIG_MTD_BLOCK2MTD is not set
29 +CONFIG_MTD_MTDRAM=m
30 +CONFIG_MTDRAM_TOTAL_SIZE=4096
31 +CONFIG_MTDRAM_ERASE_SIZE=128
32 +CONFIG_MTDRAM_ABS_POS=0x0
33 +CONFIG_MTD_BLOCK2MTD=y
34  
35  #
36  # Disk-On-Chip Device Drivers
37 -- 
38 2.1.4
39