mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-27 06:04:40 +08:00
Correct SPL uses of OF_BOARD
This converts 3 usages of this option to the non-SPL form, since there is no SPL_OF_BOARD defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Matthias Brugger <mbrugger@suse.com>
This commit is contained in:
parent
762592cb5c
commit
68be8d95de
@ -153,7 +153,7 @@ U_BOOT_DRIVER(pinctrl_bcm283x) = {
|
||||
.priv_auto = sizeof(struct bcm283x_pinctrl_priv),
|
||||
.ops = &bcm283x_pinctrl_ops,
|
||||
.probe = bcm283x_pinctl_probe,
|
||||
#if CONFIG_IS_ENABLED(OF_BOARD)
|
||||
#if IS_ENABLED(CONFIG_OF_BOARD)
|
||||
.flags = DM_FLAG_PRE_RELOC,
|
||||
#endif
|
||||
};
|
||||
|
@ -197,7 +197,7 @@ U_BOOT_DRIVER(serial_bcm283x_mu) = {
|
||||
.plat_auto = sizeof(struct bcm283x_mu_serial_plat),
|
||||
.probe = bcm283x_mu_serial_probe,
|
||||
.ops = &bcm283x_mu_serial_ops,
|
||||
#if !CONFIG_IS_ENABLED(OF_CONTROL) || CONFIG_IS_ENABLED(OF_BOARD)
|
||||
#if !CONFIG_IS_ENABLED(OF_CONTROL) || IS_ENABLED(CONFIG_OF_BOARD)
|
||||
.flags = DM_FLAG_PRE_RELOC,
|
||||
#endif
|
||||
.priv_auto = sizeof(struct bcm283x_mu_priv),
|
||||
|
@ -94,7 +94,7 @@ U_BOOT_DRIVER(bcm283x_pl011_uart) = {
|
||||
.probe = bcm283x_pl011_serial_probe,
|
||||
.plat_auto = sizeof(struct pl01x_serial_plat),
|
||||
.ops = &bcm283x_pl011_serial_ops,
|
||||
#if !CONFIG_IS_ENABLED(OF_CONTROL) || CONFIG_IS_ENABLED(OF_BOARD)
|
||||
#if !CONFIG_IS_ENABLED(OF_CONTROL) || IS_ENABLED(CONFIG_OF_BOARD)
|
||||
.flags = DM_FLAG_PRE_RELOC,
|
||||
#endif
|
||||
.priv_auto = sizeof(struct pl01x_priv),
|
||||
|
Loading…
Reference in New Issue
Block a user