diff options
author | Simon Glass <sjg@chromium.org> | 2024-09-29 19:49:48 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-11 11:44:48 -0600 |
commit | 371dc068bbf50c6ed6146c04ec83b644bcc79249 (patch) | |
tree | edad3a36155bccf380c703c2c81e2c0a9ab210a4 /drivers/gpio/tegra_gpio.c | |
parent | dac3ce976a9b06be5aadbd857c4b64a8c521c6d4 (diff) |
drivers: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD
Use the new symbol to refer to any 'SPL' build, including TPL and VPL
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio/tegra_gpio.c')
-rw-r--r-- | drivers/gpio/tegra_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/tegra_gpio.c b/drivers/gpio/tegra_gpio.c index 0c40d36c41e..6cafffaad92 100644 --- a/drivers/gpio/tegra_gpio.c +++ b/drivers/gpio/tegra_gpio.c @@ -323,7 +323,7 @@ static int gpio_tegra_bind(struct udevice *parent) return 0; /* TODO(sjg@chromium.org): Remove once SPL supports device tree */ -#ifdef CONFIG_SPL_BUILD +#ifdef CONFIG_XPL_BUILD ctlr = (struct gpio_ctlr *)NV_PA_GPIO_BASE; bank_count = TEGRA_GPIO_BANKS; #else |