Skip to content

Commit d419700

Browse files
cpackham-atlnzrichardweinberger
authored andcommitted
mtd: maps: Allow MTD_PHYSMAP with MTD_RAM
When the physmap_of_core.c code was merged into physmap-core.c the ability to use MTD_PHYSMAP_OF with only MTD_RAM selected was lost. Restore this by adding MTD_RAM to the dependencies of MTD_PHYSMAP. Fixes: commit 642b1e8 ("mtd: maps: Merge physmap_of.c into physmap-core.c") Cc: <stable@vger.kernel.org> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Reviewed-by: Hamish Martin <hamish.martin@alliedtelesis.co.nz> Signed-off-by: Richard Weinberger <richard@nod.at>
1 parent b6abd06 commit d419700

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/maps/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ config MTD_COMPLEX_MAPPINGS
1010

1111
config MTD_PHYSMAP
1212
tristate "Flash device in physical memory map"
13-
depends on MTD_CFI || MTD_JEDECPROBE || MTD_ROM || MTD_LPDDR
13+
depends on MTD_CFI || MTD_JEDECPROBE || MTD_ROM || MTD_RAM || MTD_LPDDR
1414
help
1515
This provides a 'mapping' driver which allows the NOR Flash and
1616
ROM driver code to communicate with chips which are mapped

0 commit comments

Comments
 (0)