Skip to content

Commit

Permalink
ARM: OMAP2+: Remove legacy board-flash.c
Browse files Browse the repository at this point in the history
Legacy board files in mach-omap2 used the helper functions
board_{nor,nand,onenand}_init() to initialize the flash
devices attached to the GPMC.

With Device Tree booting the initialization is handled by
the GPMC driver gpmc_probe_*_child() functions so this
code is not needed anymore now that OMAP2+ is DT-only.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Javier Martinez Canillas authored and Tony Lindgren committed Nov 10, 2016
1 parent b7b23ff commit 6a6e640
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 302 deletions.
4 changes: 0 additions & 4 deletions arch/arm/mach-omap2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,6 @@ obj-$(CONFIG_MACH_NOKIA_N8X0) += board-n8x0.o

# Platform specific device init code

omap-flash-$(CONFIG_MTD_NAND_OMAP2) := board-flash.o
omap-flash-$(CONFIG_MTD_ONENAND_OMAP2) := board-flash.o
obj-y += $(omap-flash-y) $(omap-flash-m)

omap-hsmmc-$(CONFIG_MMC_OMAP_HS) := hsmmc.o
obj-y += $(omap-hsmmc-m) $(omap-hsmmc-y)

Expand Down
242 changes: 0 additions & 242 deletions arch/arm/mach-omap2/board-flash.c

This file was deleted.

56 changes: 0 additions & 56 deletions arch/arm/mach-omap2/board-flash.h

This file was deleted.

0 comments on commit 6a6e640

Please sign in to comment.