Skip to contentSkip to conversation

Kconfig: CONFIG_OF_PLATDATA doesn't really exist

PATCH New Tom Rini 2 participants 3 messages Jan 14, 2017 – Jan 16, 2017

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 Kconfig: CONFIG_OF_PLATDATA doesn't really exist

There is no CONFIG_OF_PLATDATA, only CONFIG_SPL_OF_PLATDATA, so rename the two references to CONFIG_OF_PLATDATA to CONFIG_SPL_OF_PLATDATA.

---
 common/spl/spl.c             | 2 +-
 drivers/serial/Kconfig       | 2 +-
 scripts/config_whitelist.txt | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)
common/spl/spl.c +1 -1
index a76ea3a60342..e512ee03effa 100644
@@ -248,7 +248,7 @@ int spl_init(void)
 		}
 	}
 	if (IS_ENABLED(CONFIG_SPL_DM)) {
-		/* With CONFIG_OF_PLATDATA, bring in all devices */
+		/* With CONFIG_SPL_OF_PLATDATA, bring in all devices */
 		ret = dm_init_and_scan(!CONFIG_IS_ENABLED(OF_PLATDATA));
 		if (ret) {
 			debug("dm_init_and_scan() returned error %d\n", ret);
drivers/serial/Kconfig +1 -1
index b26ada38adaf..b11f3ff89eb6 100644
@@ -352,7 +352,7 @@ config ROCKCHIP_SERIAL
 	depends on DM_SERIAL && SPL_OF_PLATDATA
 	help
 	  Select this to enable a debug UART for Rockchip devices when using
-	  CONFIG_OF_PLATDATA (i.e. a compiled-in device tree replacemenmt).
+	  CONFIG_SPL_OF_PLATDATA (i.e. a compiled-in device tree replacemenmt).
 	  This uses the ns16550 driver, converting the platdata from of-platdata
 	  to the ns16550 format.
 
scripts/config_whitelist.txt +0 -1
index 1ad9f7e9e7ab..d7244c56ad8e 100644
@@ -2229,7 +2229,6 @@ CONFIG_ODROID_REV_AIN
 CONFIG_OFF_PADCONF
 CONFIG_OF_
 CONFIG_OF_IDE_FIXUP
-CONFIG_OF_PLATDATA
 CONFIG_OF_SPI
 CONFIG_OF_SPI_FLASH
 CONFIG_OF_STDOUT_PATH
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 Kconfig: CONFIG_OF_PLATDATA doesn't really exist

Quoted 4 lines · Tom Rini

There is no CONFIG_OF_PLATDATA, only CONFIG_SPL_OF_PLATDATA, so rename the two references to CONFIG_OF_PLATDATA to CONFIG_SPL_OF_PLATDATA.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170114/8cd766bd/attachment.sig>
#2 lore raw

PATCH 1/1 Kconfig: CONFIG_OF_PLATDATA doesn't really exist

In reply to Tom Rini
Quoted 9 lines · Tom Rini

There is no CONFIG_OF_PLATDATA, only CONFIG_SPL_OF_PLATDATA, so rename the two references to CONFIG_OF_PLATDATA to CONFIG_SPL_OF_PLATDATA.

---
 common/spl/spl.c             | 2 +-
 drivers/serial/Kconfig       | 2 +-
 scripts/config_whitelist.txt | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)