Correct SPL use of TARGET_PG_WCOM_SELI8
Subsystems (9)
PATCH v2 152/169 Correct SPL use of TARGET_PG_WCOM_SELI8
This converts 1 usage of this option to the non-SPL form, since there is no SPL_TARGET_PG_WCOM_SELI8 defined in Kconfig
Aleksandar Gerasimovski <[email protected]>
---
(no changes since v1)
board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c +1 -1
@@ -71,7 +71,7 @@ int board_early_init_f(void)/* QRIO Configuration */ qrio_uprstreq (UPREQ_CORE_RST ); -#if CONFIG_IS_ENABLED (TARGET_PG_WCOM_SELI8 ) +#if IS_ENABLED (CONFIG_TARGET_PG_WCOM_SELI8 )qrio_prstcfg (KM_LIU_RST ,PRSTCFG_POWUP_UNIT_RST );qrio_wdmask (KM_LIU_RST , true);
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 153/169 Correct SPL use of TEE
This converts 1 usage of this option to the non-SPL form, since there is no SPL_TEE defined in Kconfig
---
(no changes since v1)
include/tee.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/tee.h +1 -1
@@ -328,7 +328,7 @@ bool tee_shm_is_registered(struct tee_shm *shm, struct udevice *dev);* Returns a probed TEE device of the first TEE device matched by the * match() callback or NULL. */ -#if CONFIG_IS_ENABLED (TEE ) +#if IS_ENABLED (CONFIG_TEE ) struct udevice *tee_find_device(struct udevice *start, int (*match)(struct tee_version_data *vers, const void *data),
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 155/169 Correct SPL use of TPM_RNG
In reply to Simon GlassThis converts 1 usage of this option to the non-SPL form, since there is no SPL_TPM_RNG defined in Kconfig
---
(no changes since v1)
drivers/tpm/tpm-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tpm/tpm-uclass.c +1 -1
@@ -156,7 +156,7 @@ static int tpm_uclass_post_probe(struct udevice *dev)const char *drv =TPM_RNG_DRV_NAME ;struct udevice *child; -if (CONFIG_IS_ENABLED (TPM_RNG )) { +if (IS_ENABLED (CONFIG_TPM_RNG )) { ret =device_find_first_child_by_uclass (dev,UCLASS_RNG , &child);
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 156/169 Correct SPL use of UDP_FUNCTION_FASTBOOT
In reply to Simon GlassThis converts 1 usage of this option to the non-SPL form, since there is no SPL_UDP_FUNCTION_FASTBOOT defined in Kconfig
---
(no changes since v1)
cmd/fastboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/fastboot.c +1 -1
@@ -21,7 +21,7 @@ static int do_fastboot_udp(int argc, char *const argv[], {int err; -if (!CONFIG_IS_ENABLED (UDP_FUNCTION_FASTBOOT )) { +if (!IS_ENABLED (CONFIG_UDP_FUNCTION_FASTBOOT )) {pr_err ("Fastboot UDP not enabled\n" );return CMD_RET_FAILURE ; }
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 157/169 Correct SPL use of USB_DWC3_MESON_G12A
In reply to Simon GlassThis converts 1 usage of this option to the non-SPL form, since there is no SPL_USB_DWC3_MESON_G12A defined in Kconfig
---
(no changes since v1)
arch/arm/mach-meson/board-g12a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-meson/board-g12a.c +1 -1
@@ -97,7 +97,7 @@ static struct mm_region g12a_mem_map[] = {struct mm_region *mem_map = g12a_mem_map; -#if CONFIG_IS_ENABLED (USB_DWC3_MESON_G12A ) && \ +#if IS_ENABLED (CONFIG_USB_DWC3_MESON_G12A ) && \CONFIG_IS_ENABLED (USB_GADGET_DWC2_OTG )static struct dwc2_plat_otg_data meson_g12a_dwc2_data;
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 158/169 Correct SPL uses of USB_DWC3_MESON_GXL
In reply to Simon GlassThis converts 2 usages of this option to the non-SPL form, since there is no SPL_USB_DWC3_MESON_GXL defined in Kconfig
---
(no changes since v1)
arch/arm/mach-meson/board-axg.c | 2 +- arch/arm/mach-meson/board-gx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-meson/board-axg.c +1 -1
@@ -91,7 +91,7 @@ static struct mm_region axg_mem_map[] = {struct mm_region *mem_map = axg_mem_map; -#if CONFIG_IS_ENABLED (USB_DWC3_MESON_GXL ) && \ +#if IS_ENABLED (CONFIG_USB_DWC3_MESON_GXL ) && \CONFIG_IS_ENABLED (USB_GADGET_DWC2_OTG )static struct dwc2_plat_otg_data meson_gx_dwc2_data;
arch/arm/mach-meson/board-gx.c +1 -1
@@ -109,7 +109,7 @@ static struct mm_region gx_mem_map[] = {struct mm_region *mem_map = gx_mem_map; -#if CONFIG_IS_ENABLED (USB_DWC3_MESON_GXL ) && \ +#if IS_ENABLED (CONFIG_USB_DWC3_MESON_GXL ) && \CONFIG_IS_ENABLED (USB_GADGET_DWC2_OTG )static struct dwc2_plat_otg_data meson_gx_dwc2_data;
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 159/169 Correct SPL use of USB_FUNCTION_FASTBOOT
In reply to Simon GlassThis converts 1 usage of this option to the non-SPL form, since there is no SPL_USB_FUNCTION_FASTBOOT defined in Kconfig
---
(no changes since v1)
cmd/fastboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/fastboot.c +1 -1
@@ -44,7 +44,7 @@ static int do_fastboot_usb(int argc, char *const argv[],char *endp;int ret; -if (!CONFIG_IS_ENABLED (USB_FUNCTION_FASTBOOT )) { +if (!IS_ENABLED (CONFIG_USB_FUNCTION_FASTBOOT )) {pr_err ("Fastboot USB not enabled\n" );return CMD_RET_FAILURE ; }
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 160/169 Correct SPL uses of USB_GADGET_DWC2_OTG
In reply to Simon GlassThis converts 3 usages of this option to the non-SPL form, since there is no SPL_USB_GADGET_DWC2_OTG defined in Kconfig
---
(no changes since v1)
arch/arm/mach-meson/board-axg.c | 2 +- arch/arm/mach-meson/board-g12a.c | 2 +- arch/arm/mach-meson/board-gx.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/mach-meson/board-axg.c +1 -1
@@ -92,7 +92,7 @@ static struct mm_region axg_mem_map[] = {struct mm_region *mem_map = axg_mem_map;#if IS_ENABLED (CONFIG_USB_DWC3_MESON_GXL ) && \ -CONFIG_IS_ENABLED (USB_GADGET_DWC2_OTG ) +IS_ENABLED (CONFIG_USB_GADGET_DWC2_OTG )static struct dwc2_plat_otg_data meson_gx_dwc2_data;int board_usb_init (int index,enum usb_init_type init)
arch/arm/mach-meson/board-g12a.c +1 -1
@@ -98,7 +98,7 @@ static struct mm_region g12a_mem_map[] = {struct mm_region *mem_map = g12a_mem_map;#if IS_ENABLED (CONFIG_USB_DWC3_MESON_G12A ) && \ -CONFIG_IS_ENABLED (USB_GADGET_DWC2_OTG ) +IS_ENABLED (CONFIG_USB_GADGET_DWC2_OTG )static struct dwc2_plat_otg_data meson_g12a_dwc2_data;int board_usb_init (int index,enum usb_init_type init)
arch/arm/mach-meson/board-gx.c +1 -1
@@ -110,7 +110,7 @@ static struct mm_region gx_mem_map[] = {struct mm_region *mem_map = gx_mem_map;#if IS_ENABLED (CONFIG_USB_DWC3_MESON_GXL ) && \ -CONFIG_IS_ENABLED (USB_GADGET_DWC2_OTG ) +IS_ENABLED (CONFIG_USB_GADGET_DWC2_OTG )static struct dwc2_plat_otg_data meson_gx_dwc2_data;int board_usb_init (int index,enum usb_init_type init)
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 162/169 Correct SPL uses of USB_MUSB_HOST
In reply to Simon GlassThis converts 2 usages of this option to the non-SPL form, since there is no SPL_USB_MUSB_HOST defined in Kconfig
---
(no changes since v1)
drivers/phy/phy-ab8500-usb.c | 2 +- drivers/usb/musb-new/omap2430.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/phy/phy-ab8500-usb.c +1 -1
@@ -19,7 +19,7 @@ static int ab8500_usb_phy_power_on(struct phy *phy)struct udevice *dev = phy->dev;uint set =AB8500_BIT_PHY_CTRL_DEVICE_EN ; -if (CONFIG_IS_ENABLED (USB_MUSB_HOST )) +if (IS_ENABLED (CONFIG_USB_MUSB_HOST )) set =AB8500_BIT_PHY_CTRL_HOST_EN ; return pmic_clrsetbits(dev->parent, AB8500_USB_PHY_CTRL_REG,
drivers/usb/musb-new/omap2430.c +1 -1
@@ -231,7 +231,7 @@ static int omap2430_musb_probe(struct udevice *dev) otg_board_data = &plat->otg_board_data; -if (CONFIG_IS_ENABLED (USB_MUSB_HOST )) { +if (IS_ENABLED (CONFIG_USB_MUSB_HOST )) {struct musb_host_data *host =dev_get_priv (dev);struct usb_bus_priv *priv =dev_get_uclass_priv (dev);
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 163/169 Correct SPL uses of VIDEO
In reply to Simon GlassThis converts 2 usages of this option to the non-SPL form, since there is no SPL_VIDEO defined in Kconfig
---
(no changes since v1)
cmd/cls.c | 2 +- common/fdt_simplefb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
cmd/cls.c +1 -1
@@ -19,7 +19,7 @@ static int do_video_clear(struct cmd_tbl *cmdtp, int flag, int argc,/* Send clear screen and home */ printf (CSI "2J" CSI "1;1H" ); -if (CONFIG_IS_ENABLED (VIDEO ) && !CONFIG_IS_ENABLED (VIDEO_ANSI )) { +if (IS_ENABLED (CONFIG_VIDEO ) && !CONFIG_IS_ENABLED (VIDEO_ANSI )) {if (uclass_first_device_err (UCLASS_VIDEO , &dev))return CMD_RET_FAILURE ;if (video_clear (dev))
common/fdt_simplefb.c +1 -1
@@ -82,7 +82,7 @@ int fdt_simplefb_enable_existing_node(void *blob)return fdt_simplefb_configure_node (blob, off); } -#if CONFIG_IS_ENABLED (VIDEO ) +#if IS_ENABLED (CONFIG_VIDEO )int fdt_simplefb_enable_and_mem_rsv (void *blob) {struct fdt_memory mem;
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 164/169 Correct SPL use of VIDEO_ANSI
In reply to Simon GlassThis converts 1 usage of this option to the non-SPL form, since there is no SPL_VIDEO_ANSI defined in Kconfig
---
(no changes since v1)
cmd/cls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/cls.c +1 -1
@@ -19,7 +19,7 @@ static int do_video_clear(struct cmd_tbl *cmdtp, int flag, int argc,/* Send clear screen and home */ printf (CSI "2J" CSI "1;1H" ); -if (IS_ENABLED (CONFIG_VIDEO ) && !CONFIG_IS_ENABLED (VIDEO_ANSI )) { +if (IS_ENABLED (CONFIG_VIDEO ) && !IS_ENABLED (CONFIG_VIDEO_ANSI )) {if (uclass_first_device_err (UCLASS_VIDEO , &dev))return CMD_RET_FAILURE ;if (video_clear (dev))
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 166/169 Correct SPL use of VIDEO_BPP32
In reply to Simon GlassThis converts 1 usage of this option to the non-SPL form, since there is no SPL_VIDEO_BPP32 defined in Kconfig
---
(no changes since v1)
drivers/video/video-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/video-uclass.c +1 -1
@@ -203,7 +203,7 @@ u32 video_index_to_colour(struct video_priv *priv, unsigned int idx) }break ;case VIDEO_BPP32 : -if (CONFIG_IS_ENABLED (VIDEO_BPP32 )) { +if (IS_ENABLED (CONFIG_VIDEO_BPP32 )) {if (priv->format ==VIDEO_X2R10G10B10 )return (colours[idx].r <<22 ) | (colours[idx].g << 12) |
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 167/169 Correct SPL use of WATCHDOG_AUTOSTART
In reply to Simon GlassThis converts 1 usage of this option to the non-SPL form, since there is no SPL_WATCHDOG_AUTOSTART defined in Kconfig
---
(no changes since v1)
board/kontron/sl28/sl28.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/kontron/sl28/sl28.c +1 -1
@@ -157,7 +157,7 @@ int fsl_board_late_init(void)* If the watchdog isn't enabled at reset (which is a configuration * option) disabling it doesn't hurt either. */ -if (!CONFIG_IS_ENABLED (WATCHDOG_AUTOSTART )) +if (!IS_ENABLED (CONFIG_WATCHDOG_AUTOSTART ))stop_recovery_watchdog ();return 0 ;
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 168/169 Correct SPL uses of XEN_SERIAL
In reply to Simon GlassThis converts 4 usages of this option to the non-SPL form, since there is no SPL_XEN_SERIAL defined in Kconfig
---
(no changes since v1)
drivers/xen/events.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/xen/events.c +4 -4
@@ -23,9 +23,9 @@#include <xen/events.h> #include <xen/hvm.h> -#if CONFIG_IS_ENABLED (XEN_SERIAL ) +#if IS_ENABLED (CONFIG_XEN_SERIAL )extern u32 console_evtchn; -#endif /* CONFIG_IS_ENABLED(XEN_SERIAL) */ +#endif /* IS_ENABLED(CONFIG_XEN_SERIAL) */ #define NR_EVS 1024
@@ -53,10 +53,10 @@ void unbind_all_ports(void)struct vcpu_info *vcpu_info = &s->vcpu_info[cpu];for (i =0 ; i <NR_EVS ; i++) { -#if CONFIG_IS_ENABLED (XEN_SERIAL ) +#if IS_ENABLED (CONFIG_XEN_SERIAL )if (i == console_evtchn)continue ; -#endif /* CONFIG_IS_ENABLED(XEN_SERIAL) */ +#endif /* IS_ENABLED(CONFIG_XEN_SERIAL) */ if (test_and_clear_bit (i, bound_ports)) {printf ("port %d still bound!\n" , i);
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog
PATCH v2 169/169 Correct SPL uses of ZYNQMP_FIRMWARE
In reply to Simon GlassThis converts 2 usages of this option to the non-SPL form, since there is no SPL_ZYNQMP_FIRMWARE defined in Kconfig
---
Changes in v2:
- Rebase to previous series
- Drop patch to add a Kconfig for SPL_EFI_LOADER et al
- Drop patch to add a Kconfig for SPL_GENERATE_ACPI_TABLE
drivers/spi/cadence_ospi_versal.c | 2 +- drivers/spi/cadence_qspi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/spi/cadence_ospi_versal.c +1 -1
@@ -216,7 +216,7 @@ int cadence_qspi_versal_flash_reset(struct udevice *dev)void cadence_qspi_apb_enable_linear_mode (bool enable) { -if (CONFIG_IS_ENABLED (ZYNQMP_FIRMWARE )) { +if (IS_ENABLED (CONFIG_ZYNQMP_FIRMWARE )) {if (enable)/* ahb read mode */ xilinx_pm_request(PM_IOCTL, PM_DEV_OSPI,
drivers/spi/cadence_qspi.c +1 -1
@@ -215,7 +215,7 @@ static int cadence_spi_probe(struct udevice *bus) priv->tchsh_ns = plat->tchsh_ns; priv->tslch_ns = plat->tslch_ns; -if (CONFIG_IS_ENABLED (ZYNQMP_FIRMWARE )) +if (IS_ENABLED (CONFIG_ZYNQMP_FIRMWARE ))xilinx_pm_request (PM_REQUEST_NODE ,PM_DEV_OSPI ,ZYNQMP_PM_CAPABILITY_ACCESS ,ZYNQMP_PM_MAX_QOS ,ZYNQMP_PM_REQUEST_ACK_NO ,NULL );
Signature · 1 line
2.39.1.519.gcb327c4b5f-goog