dm: Make regmap and syscon optional
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2015 15:22:07 +0000 (09:22 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Aug 2015 13:31:36 +0000 (07:31 -0600)
commit12dc8e7522230b269b4ca8fecc64bc8e59070a53
tree1a3578397810a7cd0c71c4bcf3106338ad107e1c
parent28445aa7ec099bf8d7dc49db5fbf6bdd9098b410
dm: Make regmap and syscon optional

Not all boards use garbage collection in their link step, so we should avoid
adding options that rely on this for prevention of code bloat. Add separate
Kconfig options for syscon and regmap uclasses.

Signed-off-by: Simon Glass <sjg@chromium.org>
configs/sandbox_defconfig
drivers/core/Kconfig
drivers/core/Makefile