Skip to content

Commit

Permalink
mtd: maps: Allow MTD_PHYSMAP with MTD_RAM
Browse files Browse the repository at this point in the history
commit d419700 upstream.

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: <[email protected]>
Signed-off-by: Chris Packham <[email protected]>
Reviewed-by: Hamish Martin <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
cpackham-atlnz authored and gregkh committed May 22, 2019
1 parent 969859b commit 9537358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/maps/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ config MTD_COMPLEX_MAPPINGS

config MTD_PHYSMAP
tristate "Flash device in physical memory map"
depends on MTD_CFI || MTD_JEDECPROBE || MTD_ROM || MTD_LPDDR
depends on MTD_CFI || MTD_JEDECPROBE || MTD_ROM || MTD_RAM || MTD_LPDDR
help
This provides a 'mapping' driver which allows the NOR Flash and
ROM driver code to communicate with chips which are mapped
Expand Down

0 comments on commit 9537358

Please sign in to comment.