Skip to content
Commit 8c925b26 authored by Linus Walleij's avatar Linus Walleij Committed by Brian Norris
Browse files

mtd: physmap_of: really fix the physmap add-ons



The current way of building the of_physmap add-ons result in just
the add-on being in the object code, and not the actual core
implementation and regress the Gemini and Versatile.

Bake the physmap_of.o object by baking physmap_of_core.o and
adding the Versatile and/or Gemini add-ons to the final object.
Rename the source file physmap_of_core.c to get the desired
build components.

Suggested-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Fixes: 4f04f68e ("mtd: physmap_of: fixup gemini/versatile dependencies")
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 4a67c9fd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment