Home
last modified time | relevance | path

Searched refs:IS_ENABLED (Results 1 – 25 of 112) sorted by relevance

12345

/openbmc/u-boot/arch/arm/mach-sunxi/
H A Dspl_spi_sunxi.c97 if (IS_ENABLED(CONFIG_MACH_SUN4I) || IS_ENABLED(CONFIG_MACH_SUN7I)) in spi0_pinmux_setup()
109 if (IS_ENABLED(CONFIG_SUNXI_GEN_SUN6I)) in spi0_enable_clock()
117 writel(SPI0_CLK_DIV_BY_4, IS_ENABLED(CONFIG_SUNXI_GEN_SUN6I) ? in spi0_enable_clock()
122 if (IS_ENABLED(CONFIG_SUNXI_GEN_SUN6I)) { in spi0_enable_clock()
142 if (IS_ENABLED(CONFIG_SUNXI_GEN_SUN6I)) in spi0_disable_clock()
156 if (IS_ENABLED(CONFIG_SUNXI_GEN_SUN6I)) in spi0_disable_clock()
165 if (IS_ENABLED(CONFIG_MACH_SUN50I)) in spi0_init()
176 if (IS_ENABLED(CONFIG_SUNXI_GEN_SUN6I)) in spi0_deinit()
236 if (IS_ENABLED(CONFIG_SUNXI_GEN_SUN6I)) { in spi0_read_data()
285 if (IS_ENABLED(CONFIG_SPL_LOAD_FIT) && in spl_spi_load_image()
/openbmc/u-boot/common/
H A Dmain.c29 if (IS_ENABLED(CONFIG_AUTOBOOT_KEYED)) in run_preboot_environment_command()
34 if (IS_ENABLED(CONFIG_AUTOBOOT_KEYED)) in run_preboot_environment_command()
47 if (IS_ENABLED(CONFIG_VERSION_VARIABLE)) in main_loop()
54 if (IS_ENABLED(CONFIG_UPDATE_TFTP)) in main_loop()
/openbmc/u-boot/drivers/clk/rockchip/
H A Dclk_rk3368.c49 #if IS_ENABLED(CONFIG_SPL_BUILD) || IS_ENABLED(CONFIG_TPL_BUILD)
87 #if IS_ENABLED(CONFIG_SPL_BUILD) || IS_ENABLED(CONFIG_TPL_BUILD)
129 #if IS_ENABLED(CONFIG_SPL_BUILD) || IS_ENABLED(CONFIG_TPL_BUILD)
156 #if !IS_ENABLED(CONFIG_SPL_BUILD) || CONFIG_IS_ENABLED(MMC_SUPPORT)
281 #if IS_ENABLED(CONFIG_TPL_BUILD)
468 #if !IS_ENABLED(CONFIG_SPL_BUILD) || CONFIG_IS_ENABLED(MMC_SUPPORT) in rk3368_clk_get_rate()
494 #if IS_ENABLED(CONFIG_TPL_BUILD) in rk3368_clk_set_rate()
499 #if !IS_ENABLED(CONFIG_SPL_BUILD) || CONFIG_IS_ENABLED(MMC_SUPPORT) in rk3368_clk_set_rate()
604 #if IS_ENABLED(CONFIG_SPL_BUILD) || IS_ENABLED(CONFIG_TPL_BUILD) in rk3368_clk_probe()
/openbmc/u-boot/include/
H A Dspl.h39 if (IS_ENABLED(CONFIG_TPL)) { in u_boot_first_phase()
40 if (IS_ENABLED(CONFIG_TPL_BUILD)) in u_boot_first_phase()
42 } else if (IS_ENABLED(CONFIG_SPL)) { in u_boot_first_phase()
43 if (IS_ENABLED(CONFIG_SPL_BUILD)) in u_boot_first_phase()
H A Dtpm_api.h326 return IS_ENABLED(CONFIG_TPM_V1) && tpm_get_version(dev) == TPM_V1; in tpm_is_v1()
331 return IS_ENABLED(CONFIG_TPM_V2) && tpm_get_version(dev) == TPM_V2; in tpm_is_v2()
/openbmc/u-boot/drivers/ram/
H A Dmpc83xx_sdram.c117 if (!IS_ENABLED(CONFIG_VERY_BIG_RAM)) in get_effective_memsize()
172 if (!IS_ENABLED(CONFIG_MPC8360) && in mpc83xx_sdram_static_init()
173 !IS_ENABLED(CONFIG_MPC837x)) { in mpc83xx_sdram_static_init()
182 if (!IS_ENABLED(CONFIG_MPC830x) && in mpc83xx_sdram_static_init()
183 !IS_ENABLED(CONFIG_MPC831x) && in mpc83xx_sdram_static_init()
184 !IS_ENABLED(CONFIG_MPC8360) && in mpc83xx_sdram_static_init()
185 !IS_ENABLED(CONFIG_MPC837x)) { in mpc83xx_sdram_static_init()
203 if (!IS_ENABLED(CONFIG_MPC8360) && in mpc83xx_sdram_static_init()
204 !IS_ENABLED(CONFIG_MPC837x)) { in mpc83xx_sdram_static_init()
213 if (!IS_ENABLED(CONFIG_MPC830x) && in mpc83xx_sdram_static_init()
[all …]
/openbmc/u-boot/arch/arc/include/asm/
H A Darcregs.h120 return IS_ENABLED(CONFIG_ISA_ARCV2); in is_isa_arcv2()
125 return IS_ENABLED(CONFIG_ISA_ARCOMPACT); in is_isa_arcompact()
H A Dcache.h40 return IS_ENABLED(CONFIG_ARC_DBG_IOC_ENABLE); in is_ioc_enabled()
/openbmc/u-boot/arch/arm/mach-keystone/
H A Dmon.c135 if (!(IS_ENABLED(CONFIG_SPL_BUILD) && in board_fit_image_post_process()
136 IS_ENABLED(CONFIG_SPL_YMODEM_SUPPORT) && in board_fit_image_post_process()
/openbmc/u-boot/board/samsung/common/
H A Dboard.c255 if (IS_ENABLED(CONFIG_BOARD_TYPES)) { in checkboard()
258 if (IS_ENABLED(CONFIG_DISPLAY_BOARDINFO_LATE)) { in checkboard()
301 if (IS_ENABLED(CONFIG_BOARD_TYPES) && in misc_init_r()
302 !IS_ENABLED(CONFIG_DISPLAY_BOARDINFO_LATE)) { in misc_init_r()
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/
H A Dspl.c47 if ((IS_ENABLED(CONFIG_ASPEED_HACE_V1) || IS_ENABLED(CONFIG_ASPEED_HACE)) && in spl_board_init()
/openbmc/u-boot/arch/arm/mach-meson/
H A Dboard-gx.c53 if (IS_ENABLED(CONFIG_MESON_GX) && in meson_init_reserved_memory()
128 if (IS_ENABLED(CONFIG_MESON_GXL) && in meson_eth_init()
/openbmc/u-boot/common/spl/
H A Dspl_fit.c187 if (IS_ENABLED(CONFIG_SPL_FPGA_SUPPORT) || in spl_load_fit_image()
188 (IS_ENABLED(CONFIG_SPL_OS_BOOT) && IS_ENABLED(CONFIG_SPL_GZIP))) { in spl_load_fit_image()
195 if (IS_ENABLED(CONFIG_SPL_OS_BOOT) && IS_ENABLED(CONFIG_SPL_GZIP)) { in spl_load_fit_image()
255 if (IS_ENABLED(CONFIG_SPL_GZIP) && image_comp == IH_COMP_GZIP) { in spl_load_fit_image()
H A Dspl_spi.c112 if (IS_ENABLED(CONFIG_SPL_LOAD_FIT_FULL) && in spl_spi_load_image()
121 } else if (IS_ENABLED(CONFIG_SPL_LOAD_FIT) && in spl_spi_load_image()
H A Dspl_fat.c72 if (IS_ENABLED(CONFIG_SPL_LOAD_FIT_FULL) && in spl_load_image_fat()
83 } else if (IS_ENABLED(CONFIG_SPL_LOAD_FIT) && in spl_load_image_fat()
/openbmc/u-boot/board/freescale/imx8qxp_mek/
H A Dimx8qxp_mek.c66 #if IS_ENABLED(CONFIG_DM_GPIO)
89 #if IS_ENABLED(CONFIG_FEC_MXC)
/openbmc/u-boot/drivers/firmware/
H A Dpsci.c100 #if IS_ENABLED(CONFIG_EFI_LOADER) && IS_ENABLED(CONFIG_PSCI_RESET)
/openbmc/u-boot/drivers/video/
H A Dsimple_panel.c55 if (IS_ENABLED(CONFIG_DM_REGULATOR)) { in simple_panel_ofdata_to_platdata()
88 if (IS_ENABLED(CONFIG_DM_REGULATOR) && priv->reg) { in simple_panel_probe()
/openbmc/u-boot/arch/x86/cpu/
H A Dlapic.c67 if (!IS_ENABLED(CONFIG_INTEL_QUARK)) { in enable_lapic()
81 if (!IS_ENABLED(CONFIG_INTEL_QUARK)) { in disable_lapic()
/openbmc/u-boot/drivers/i2c/muxes/
H A Dpca954x.c124 if (IS_ENABLED(CONFIG_DM_GPIO)) { in pca954x_probe()
145 if (IS_ENABLED(CONFIG_DM_GPIO)) { in pca954x_remove()
/openbmc/u-boot/board/mscc/servalt/
H A Dservalt.c23 if (IS_ENABLED(CONFIG_LED)) in board_early_init_r()
/openbmc/u-boot/board/sunxi/
H A Ddram_sun4i_auto.c12 .odt_en = IS_ENABLED(CONFIG_DRAM_ODT_EN),
H A Ddram_sun5i_auto.c15 .odt_en = IS_ENABLED(CONFIG_DRAM_ODT_EN),
/openbmc/u-boot/board/eets/pdu001/
H A Dboard.c100 if (IS_ENABLED(CONFIG_RUN_LED_RED)) in set_run_led()
102 else if (IS_ENABLED(CONFIG_RUN_LED_GREEN)) in set_run_led()
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/
H A D0038-corstone1000-introduce-EFI-authenticated-capsule-upd.patch40 + if (IS_ENABLED(CONFIG_EFI_CAPSULE_AUTHENTICATE) &&
51 + if (IS_ENABLED(CONFIG_EFI_CAPSULE_AUTHENTICATE) &&

12345