diff options
author | Simon Glass <sjg@chromium.org> | 2021-08-07 07:24:04 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-09-25 09:46:15 -0600 |
commit | 95397385091da9d0d3acd7e69199ae23114ac22c (patch) | |
tree | 6e1aae135d09408f32f16c8195e1af185a5b132b /drivers/misc | |
parent | 414cc15144f69b66d12aa8881192e34862bc6042 (diff) | |
download | u-boot-95397385091da9d0d3acd7e69199ae23114ac22c.zip u-boot-95397385091da9d0d3acd7e69199ae23114ac22c.tar.gz u-boot-95397385091da9d0d3acd7e69199ae23114ac22c.tar.bz2 |
treewide: Use OF_REAL instead of !OF_PLATDATA
Now that we have a 'positive' Kconfig option, use this instead of the
negative one, which is harder to understand.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/cros_ec.c | 2 | ||||
-rw-r--r-- | drivers/misc/p2sb-uclass.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c index 2a15094..1bbc0f9 100644 --- a/drivers/misc/cros_ec.c +++ b/drivers/misc/cros_ec.c @@ -1671,7 +1671,7 @@ UCLASS_DRIVER(cros_ec) = { .id = UCLASS_CROS_EC, .name = "cros-ec", .per_device_auto = sizeof(struct cros_ec_dev), -#if !CONFIG_IS_ENABLED(OF_PLATDATA) +#if CONFIG_IS_ENABLED(OF_REAL) .post_bind = dm_scan_fdt_dev, #endif .flags = DM_UC_FLAG_ALLOC_PRIV_DMA, diff --git a/drivers/misc/p2sb-uclass.c b/drivers/misc/p2sb-uclass.c index 94d273d..98d58b3 100644 --- a/drivers/misc/p2sb-uclass.c +++ b/drivers/misc/p2sb-uclass.c @@ -183,7 +183,7 @@ int p2sb_set_port_id(struct udevice *dev, int portid) static int p2sb_child_post_bind(struct udevice *dev) { -#if !CONFIG_IS_ENABLED(OF_PLATDATA) +#if CONFIG_IS_ENABLED(OF_REAL) struct p2sb_child_plat *pplat = dev_get_parent_plat(dev); int ret; u32 pid; |