summaryrefslogtreecommitdiff
path: root/drivers/core/Kconfig
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-01-08 03:00:45 +1000
committerMichal Simek <michal.simek@xilinx.com>2016-01-13 13:20:02 +0100
commit4f627c5a59f4f69df156c199d6238849f26fe9af (patch)
tree95021fdc06c2fa60eb92a6a360f3094c7f6dd20e /drivers/core/Kconfig
parentfa85e826c16b9ce1ad302a57e9c4b24db0d8b930 (diff)
downloadu-boot-imx-4f627c5a59f4f69df156c199d6238849f26fe9af.zip
u-boot-imx-4f627c5a59f4f69df156c199d6238849f26fe9af.tar.gz
u-boot-imx-4f627c5a59f4f69df156c199d6238849f26fe9af.tar.bz2
spl: dm: Add SPL_DM_SEQ_ALIAS config option
The Device Model sequence alias feature is required by some Uclasses. Instead of disabling the feature for all SPL targets allow it to be configured. The config option is disabled by default to reduce code size for targets that are not interested or do not require this feature. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Michal Simek <michal.simek@xilinx.com> Cc: Simon Glass <sjg@chromium.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Marek Vasut <marex@denx.de> Cc: Michal Simek <michal.simek@xilinx.com> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/core/Kconfig')
-rw-r--r--drivers/core/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig
index f332480..c5c9d2a 100644
--- a/drivers/core/Kconfig
+++ b/drivers/core/Kconfig
@@ -60,6 +60,15 @@ config DM_SEQ_ALIAS
help
Most boards will have a '/aliases' node containing the path to
numbered devices (e.g. serial0 = &serial0). This feature can be
+ disabled if it is not required.
+
+config SPL_DM_SEQ_ALIAS
+ bool "Support numbered aliases in device tree in SPL"
+ depends on DM
+ default n
+ help
+ Most boards will have a '/aliases' node containing the path to
+ numbered devices (e.g. serial0 = &serial0). This feature can be
disabled if it is not required, to save code space in SPL.
config REGMAP