diff mbox

[U-Boot] Kconfig: CONFIG_OF_PLATDATA doesn't really exist

Message ID 1484414499-13557-1-git-send-email-trini@konsulko.com
State Accepted
Commit 7f73ca484f792a0d2a7ee09860c32f3d02b3030d
Delegated to: Tom Rini
Headers show

Commit Message

Tom Rini Jan. 14, 2017, 5:21 p.m. UTC
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.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 common/spl/spl.c             | 2 +-
 drivers/serial/Kconfig       | 2 +-
 scripts/config_whitelist.txt | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)

Comments

Tom Rini Jan. 14, 2017, 8:58 p.m. UTC | #1
On Sat, Jan 14, 2017 at 12:21:39PM -0500, Tom Rini wrote:

> 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.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
Simon Glass Jan. 16, 2017, 2:50 a.m. UTC | #2
On 14 January 2017 at 10:21, Tom Rini <trini@konsulko.com> wrote:
> 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.
>
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
>  common/spl/spl.c             | 2 +-
>  drivers/serial/Kconfig       | 2 +-
>  scripts/config_whitelist.txt | 1 -
>  3 files changed, 2 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox

Patch

diff --git a/common/spl/spl.c b/common/spl/spl.c
index a76ea3a60342..e512ee03effa 100644
--- a/common/spl/spl.c
+++ b/common/spl/spl.c
@@ -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);
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index b26ada38adaf..b11f3ff89eb6 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -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.
 
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 1ad9f7e9e7ab..d7244c56ad8e 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -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