#include <irq_func.h>
#include <log.h>
#include <asm/cache.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
static int cleanup_before_linux(void)
{
#include <command.h>
#include <asm/system.h>
#include <asm/cache.h>
-#include <asm/global_data.h>
#include <asm/sections.h>
#include <asm/io.h>
#include <asm/arch/nexell.h>
#include <asm/arch/tieoff.h>
#include <cpu_func.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#ifndef CONFIG_ARCH_CPU_INIT
#error must be define the macro "CONFIG_ARCH_CPU_INIT"
#endif
#include <linux/err.h>
#include <asm/io.h>
#include <asm/arch/scu_ast2600.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
void board_init_f(ulong dummy)
{
* Copyright 2018 NXP
*/
-#include <asm/global_data.h>
#include <linux/errno.h>
#include <asm/arch/clock.h>
-DECLARE_GLOBAL_DATA_PTR;
-
u32 mxc_get_clock(enum mxc_clock clk)
{
switch (clk) {
#include <log.h>
#include <firmware/imx/sci/sci.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <dm/ofnode.h>
#include <fdt_support.h>
#include <linux/libfdt.h>
#include <cpu.h>
#include <dm.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static bool check_owned_resource(sc_rsrc_t rsrc_id)
{
bool owned;
*/
#include <log.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/iomux.h>
#include <firmware/imx/sci/sci.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/*
* configures a single pad in the iomuxer
*/
#include <asm/arch/clock.h>
#include <asm/arch/imx-regs.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <div64.h>
#include <errno.h>
#include <linux/delay.h>
#include <phy.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static struct anamix_pll *ana_pll = (struct anamix_pll *)ANATOP_BASE_ADDR;
static u32 get_root_clk(enum clk_root_index clock_id);
#include <asm/arch/cgc.h>
#include <asm/arch/clock.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
#include <hang.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static struct cgc1_regs *cgc1_regs = (struct cgc1_regs *)0x292C0000UL;
static struct cgc2_regs *cgc2_regs = (struct cgc2_regs *)0x2da60000UL;
#include <asm/arch/pcc.h>
#include <asm/arch/cgc.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define PLL_USB_EN_USB_CLKS_MASK (0x01 << 6)
#define PLL_USB_PWR_MASK (0x01 << 12)
#define PLL_USB_ENABLE_MASK (0x01 << 13)
#include <asm/arch/imx-regs.h>
#include <asm/arch/ccm_regs.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <div64.h>
#include <errno.h>
#include <log.h>
#include <phy.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static struct anatop_reg *ana_regs = (struct anatop_reg *)ANATOP_BASE_ADDR;
static struct imx_intpll_rate_table imx9_intpll_tbl[] = {
#include <asm/arch/clock.h>
#include <asm/arch/imx-regs.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <linux/iopoll.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static struct ccm_reg *ccm_reg = (struct ccm_reg *)CCM_BASE_ADDR;
static enum ccm_clk_src clk_root_mux[][4] = {
#include <lmb.h>
#include <log.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <asm/io.h>
#include <asm/mach-imx/regs-common.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* 1 second delay should be plenty of time for block reset. */
#define RESET_MAX_TIMEOUT 1000000
#include <image.h>
#include <imx_container.h>
#include <log.h>
-#include <asm/global_data.h>
#include <linux/libfdt.h>
#include <spl.h>
#include <asm/arch/sys_proto.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Caller need ensure the offset and size to align with page size */
ulong spl_romapi_raw_seekable_read(u32 offset, u32 size, void *buf)
{
#include <asm/arch/eth.h>
#include <asm/arch/axg.h>
#include <asm/arch/mem.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/armv8/mmu.h>
#include <linux/sizes.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int meson_get_boot_device(void)
{
return readl(AXG_AO_SEC_GP_CFG0) & AXG_AO_BOOT_DEVICE;
#include <asm/arch/g12a.h>
#include <asm/arch/mem.h>
#include <asm/arch/meson-vpu.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/armv8/mmu.h>
#include <linux/sizes.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int meson_get_boot_device(void)
{
return readl(G12A_AO_SEC_GP_CFG0) & G12A_AO_BOOT_DEVICE;
#include <asm/arch/gx.h>
#include <asm/arch/mem.h>
#include <asm/arch/meson-vpu.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/armv8/mmu.h>
#include <linux/printk.h>
#include <linux/sizes.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int meson_get_boot_device(void)
{
return readl(GX_AO_SEC_GP_CFG0) & GX_AO_BOOT_DEVICE;
#include <malloc.h>
#include <asm/arch/clock_manager.h>
#include <asm/arch/system_manager.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <dt-bindings/clock/agilex-clock.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static ulong cm_get_rate_dm(u32 id)
{
struct udevice *dev;
#include <stdio.h>
#include <time.h>
#include <vsprintf.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <asm/arch/system_manager.h>
#include <dt-bindings/clock/agilex5-clock.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static ulong cm_get_rate_dm(u32 id)
{
struct udevice *dev;
#include <asm/arch/clock_manager.h>
#include <asm/arch/system_manager.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <clk.h>
#include <dm.h>
#include <dt-bindings/clock/n5x-clock.h>
#include <malloc.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static ulong cm_get_rate_dm(u32 id)
{
struct udevice *dev;
#include <compiler.h>
#include <dm/device.h>
#include <linux/errno.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/clock_manager.h>
#include <asm/arch/handoff_soc64.h>
#include <asm/arch/system_manager.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/*
* function to write the bypass register which requires a poll of the
* busy bit
#include <asm/arch/mailbox_s10.h>
#include <asm/arch/smc_api.h>
#include <asm/arch/system_manager.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/secure.h>
#include <asm/system.h>
#include <hang.h>
#include <wait_bit.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define MBOX_READL(reg) \
readl(SOCFPGA_MAILBOX_ADDRESS + (reg))
#include <config.h>
#include <cpu_func.h>
#include <init.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <env.h>
#include <errno.h>
#include <dt-bindings/reset/altr,rst-mgr.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static struct pl310_regs *const pl310 =
(struct pl310_regs *)CFG_SYS_PL310_BASE;
static struct nic301_registers *nic301_regs =
#include <asm/arch/system_manager.h>
#include <asm/io.h>
#include <asm/system.h>
-#include <asm/global_data.h>
#include <mach/clock_manager.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Agilex5 Sub Device Jtag ID List */
#define A3690_JTAG_ID 0x036090DD
#define A3694_JTAG_ID 0x436090DD
*/
#include <asm/armv8/mmu.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
#if IS_ENABLED(CONFIG_TARGET_SOCFPGA_AGILEX5)
static struct mm_region socfpga_agilex5_mem_map[] = {
#include <errno.h>
#include <hang.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/secure.h>
#include <asm/arch/reset_manager.h>
#include <linux/intel-smc.h>
#include <wait_bit.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define TIMEOUT_300MS 300
/* F2S manager registers */
#include <init.h>
#include <log.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/utils.h>
#include <hang.h>
#include <wdt.h>
#include <dm/uclass.h>
-DECLARE_GLOBAL_DATA_PTR;
-
u32 reset_flag(u32 flag)
{
/* Check rstmgr.stat for warm reset status */
*/
#include <init.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <hang.h>
#include <spl.h>
#include <wdt.h>
#include <dm/uclass.h>
-DECLARE_GLOBAL_DATA_PTR;
-
u32 reset_flag(u32 flag)
{
/* Check rstmgr.stat for warm reset status */
#include <asm/arch/misc.h>
#include <asm/arch/reset_manager.h>
#include <asm/arch/system_manager.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/u-boot.h>
#include <asm/utils.h>
#include <dm/uclass.h>
-DECLARE_GLOBAL_DATA_PTR;
-
void board_init_f(ulong dummy)
{
int ret;
#include <hang.h>
#include <init.h>
#include <log.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/utils.h>
#include <image.h>
#include <dm/uclass.h>
#include <linux/bitops.h>
-DECLARE_GLOBAL_DATA_PTR;
-
u32 spl_boot_device(void)
{
const u32 bsel = readl(socfpga_get_sysmgr_addr() +
#include <asm/arch/misc.h>
#include <asm/arch/reset_manager.h>
#include <asm/arch/system_manager.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/utils.h>
#include <dm/uclass.h>
#include <spl.h>
#include <watchdog.h>
-DECLARE_GLOBAL_DATA_PTR;
-
void board_init_f(ulong dummy)
{
int ret;
#include <hang.h>
#include <init.h>
#include <log.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/utils.h>
#include <debug_uart.h>
#include <watchdog.h>
#include <dm/uclass.h>
-DECLARE_GLOBAL_DATA_PTR;
-
void board_init_f(ulong dummy)
{
const struct cm_config *cm_default_cfg = cm_get_default_config();
#include <asm/arch/handoff_soc64.h>
#include <asm/arch/system_manager.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <linux/bitfield.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#if IS_ENABLED(CONFIG_TARGET_SOCFPGA_AGILEX5)
/*
* Setting RESET_PULSE_OVERRIDE bit for successful reset staggering pulse
#include <image.h>
#include <log.h>
#include <asm/cache.h>
-#include <asm/global_data.h>
#include <u-boot/zlib.h>
#include <asm/byteorder.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static void boot_jump_linux(struct bootm_headers *images, int flag)
{
void (*thekernel)(char *cmdline, ulong rd, ulong dt);
* Based on QSDK
*/
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/addrspace.h>
#include <asm/types.h>
DDR_CTL_CONFIG_MISC_SRC1_SRAM_SYNC_SET(0x1) | \
DDR_CTL_CONFIG_MISC_SRC2_SRAM_SYNC_SET(0x1)
-DECLARE_GLOBAL_DATA_PTR;
-
void qca956x_ddr_init(void)
{
u32 ddr_config, ddr_config2, ddr_config3, mod_val, \
*/
#include <init.h>
-#include <asm/global_data.h>
#include <linux/bitops.h>
#include <asm/io.h>
#include <mach/tlb.h>
#include <mach/ddr.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#if CFG_SYS_SDRAM_SIZE <= SZ_64M
#define MSCC_RAM_TLB_SIZE SZ_64M
#define MSCC_ATTRIB2 MMU_REGIO_INVAL
#include <asm/addrspace.h>
#include <asm/cacheops.h>
-#include <asm/global_data.h>
#include <linux/bitops.h>
#include <linux/io.h>
#include <mach/mc.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define COARSE_MIN_START 6
#define FINE_MIN_START 15
#define COARSE_MAX_START 7
#include <mach/cvmx-helper-pki.h>
#include <mach/cvmx-helper-pko.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define CVMX_PKO_NQ_PER_PORT_MAX 32
static cvmx_pko_return_value_t cvmx_pko2_config_port(short ipd_port,
#include <image.h>
#include <irq_func.h>
#include <log.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
#define NIOS_MAGIC 0x534f494e /* enable command line and initrd passing */
#include <init.h>
#include <log.h>
#include <spl.h>
-#include <asm/global_data.h>
#include <asm/system.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#if CONFIG_IS_ENABLED(RAM_SUPPORT)
struct legacy_img_hdr *spl_get_load_buffer(ssize_t offset, size_t size)
{
#include <fdtdec.h>
#include <init.h>
-#include <asm/global_data.h>
#include <linux/sizes.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int dram_init(void)
{
return fdtdec_setup_mem_size_base();
#include <fdtdec.h>
#include <init.h>
-#include <asm/global_data.h>
#include <linux/sizes.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int dram_init(void)
{
return fdtdec_setup_mem_size_base();
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
*/
-#include <asm/global_data.h>
#include <fdtdec.h>
#include <init.h>
#include <linux/sizes.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int dram_init(void)
{
return fdtdec_setup_mem_size_base();
#include <log.h>
#include <init.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define TH1520_SUBSYS_CLK (void __iomem *)(0xffff011000 + 0x220)
#define TH1520_SUBSYS_CLK_VO_EN BIT(2)
#define TH1520_SUBSYS_CLK_VI_EN BIT(1)
#include <env.h>
#include <image.h>
#include <asm/byteorder.h>
-#include <asm/global_data.h>
#include <asm/zimage.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#ifdef CONFIG_SH_SDRAM_OFFSET
#define GET_INITRD_START(initrd, linux) (initrd - linux + CONFIG_SH_SDRAM_OFFSET)
#else
#include <asm/cpu.h>
#include <asm/cpu_common.h>
#include <asm/cpu_x86.h>
-#include <asm/global_data.h>
#include <asm/msr.h>
#include <asm/msr-index.h>
#include <asm/mtrr.h>
#include <asm/turbo.h>
#include <asm/arch/model_206ax.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static void enable_vmx(void)
{
struct cpuid_result regs;
*/
#include <init.h>
-#include <asm/global_data.h>
#include <linux/errno.h>
#include <asm/mtrr.h>
#include <asm/u-boot-x86.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int init_cache_f_r(void)
{
bool do_mtrr = CONFIG_IS_ENABLED(X86_32BIT_INIT) ||
#include <asm/bootm.h>
#include <asm/bootparam.h>
#include <asm/efi.h>
-#include <asm/global_data.h>
#ifdef CONFIG_SYS_COREBOOT
#include <asm/arch/timestamp.h>
#endif
#include <linux/ctype.h>
#include <linux/libfdt.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/*
* Memory lay-out:
*
#include <clock_legacy.h>
#include <time.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
#include <linux/stringify.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#if XCHAL_HAVE_CCOUNT
static ulong get_ccount(void)
{
#include <asm/arch/clock.h>
#include <asm/arch/sys_proto.h>
#include <asm/arch/mem.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/gpio.h>
#include <asm/emif.h>
/* -- defines for used GPIO Hardware -- */
#define PER_RESET (2 * 32 + 0)
-DECLARE_GLOBAL_DATA_PTR;
-
#if defined(CONFIG_XPL_BUILD)
static const struct ddr_data ddr3_data = {
.datardsratio0 = MT41K256M16HA125E_RD_DQS,
#include <env.h>
#include <fdtdec.h>
#include <i2c.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
#include "bur_common.h"
-DECLARE_GLOBAL_DATA_PTR;
-
/* --------------------------------------------------------------------------*/
int ft_board_setup(void *blob, struct bd_info *bd)
* https://spdx.org/licenses
*/
-#include <asm/global_data.h>
#include <asm/ptrace.h>
#include <asm/system.h>
#include <asm/arch/smc.h>
-DECLARE_GLOBAL_DATA_PTR;
-
ssize_t smc_dram_size(unsigned int node)
{
struct pt_regs regs;
* https://spdx.org/licenses
*/
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/psci.h>
#include <asm/ptrace.h>
#include <asm/system.h>
#include <asm/arch/smc.h>
-DECLARE_GLOBAL_DATA_PTR;
-
ssize_t smc_dram_size(unsigned int node)
{
struct pt_regs regs;
#include <linux/kernel.h>
#include <power/pmic.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#ifdef CONFIG_NAND_MXS
static void setup_gpmi_nand(void)
{
#include <power/pmic.h>
#include <power/pca9450.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
#ifdef CONFIG_SPL_BOOTROM_SUPPORT
#include <asm/arch/sys_proto.h>
/* #include <power-domain.h> */
-DECLARE_GLOBAL_DATA_PTR;
-
#define UART_PAD_CTRL ((SC_PAD_CONFIG_OUT_IN << PADRING_CONFIG_SHIFT) | \
(SC_PAD_ISO_OFF << PADRING_LPCONFIG_SHIFT) | \
(SC_PAD_28FDSOI_DSE_DV_HIGH << PADRING_DSE_SHIFT) | \
#include <env.h>
#include <errno.h>
#include <init.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
#include <linux/libfdt.h>
#include <asm/io.h>
#include <asm/arch/iomux.h>
#include <asm/arch/sys_proto.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define UART_PAD_CTRL ((SC_PAD_CONFIG_OUT_IN << PADRING_CONFIG_SHIFT) | \
(SC_PAD_ISO_OFF << PADRING_LPCONFIG_SHIFT) | \
(SC_PAD_28FDSOI_DSE_DV_HIGH << PADRING_DSE_SHIFT) | \
*/
#include <asm/csr.h>
-#include <asm/global_data.h>
#include <asm/sbi.h>
#include <config.h>
#include <cpu_func.h>
#include <net.h>
#include <spl.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int dram_init(void)
{
return fdtdec_setup_mem_size_base();
#include <errno.h>
#include <net.h>
#include <netdev.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <linux/compiler.h>
#include <linux/sizes.h>
#include <virtio.h>
#endif
-DECLARE_GLOBAL_DATA_PTR;
-
static const struct pl01x_serial_plat serial_plat = {
.base = V2M_UART0,
.type = TYPE_PL011,
#include <init.h>
#include <log.h>
#include <spl.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/mach-imx/iomux-v3.h>
#include <asm/arch/clock.h>
#include <power/pmic.h>
#include <power/bd71837.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
switch (boot_dev_spl) {
#include <log.h>
#include <asm/io.h>
#include <errno.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/ddr.h>
#include <asm/arch/imx8mn_pins.h>
#include <dm/uclass-internal.h>
#include <dm/device-internal.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
return BOOT_DEVICE_BOOTROM;
#include <init.h>
#include <log.h>
#include <spl.h>
-#include <asm/global_data.h>
#include <asm/arch/clock.h>
#include <asm/arch/imx8mp_pins.h>
#include <asm/arch/sys_proto.h>
#include <dm/uclass.h>
#include <dm/device.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
return BOOT_DEVICE_BOOTROM;
#include <fdt_support.h>
#include <spl.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct efi_fw_image fw_images[] = {
{
.image_type_id = BEAGLEBONEAI64_TIBOOT3_IMAGE_GUID,
#include <asm/arch/hardware.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct efi_fw_image fw_images[] = {
{
.image_type_id = BEAGLEPLAY_TIBOOT3_IMAGE_GUID,
#include <log.h>
#include <ram.h>
#include <serial.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/armv7m.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int dram_init(void)
{
return fdtdec_setup_mem_size_base();
#include <init.h>
#include <miiphy.h>
#include <netdev.h>
-#include <asm/global_data.h>
#include <asm/arch/clock.h>
#include <asm/arch/sys_proto.h>
#include <asm/io.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static int setup_fec(void)
{
struct iomuxc_gpr_base_regs *gpr =
#include <init.h>
#include <log.h>
#include <spl.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/mach-imx/iomux-v3.h>
#include <asm/arch/clock.h>
#include <power/pmic.h>
#include <power/pca9450.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
switch (boot_dev_spl) {
#include "ddr/ddr.h"
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
switch (boot_dev_spl) {
#include <init.h>
#include <smbios.h>
#include <asm/cb_sysinfo.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
int board_early_init_r(void)
{
#include "../common/common.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define ADDR_CPLD_R_RESET ((unsigned short __iomem *)CONFIG_CPLD_BASE)
#define ADDR_CPLD_R_ETAT ((unsigned short __iomem *)(CONFIG_CPLD_BASE + 2))
#define ADDR_CPLD_R_TYPE ((unsigned char __iomem *)(CONFIG_CPLD_BASE + 3))
#include "../common/common.h"
-DECLARE_GLOBAL_DATA_PTR;
-
int board_late_init(void)
{
struct udevice *dev;
#include "../common/common.h"
-DECLARE_GLOBAL_DATA_PTR;
-
int data_modul_imx_edm_sbc_board_power_init(void)
{
struct udevice *dev;
#include "../common/common.h"
-DECLARE_GLOBAL_DATA_PTR;
-
static void dmo_setup_second_mac_address(void)
{
u8 enetaddr[6];
#include "../common/common.h"
-DECLARE_GLOBAL_DATA_PTR;
-
int data_modul_imx_edm_sbc_board_power_init(void)
{
struct udevice *dev;
#include "lpddr4_timing.h"
-DECLARE_GLOBAL_DATA_PTR;
-
u8 dh_get_memcfg(void)
{
struct gpio_desc gpio[4];
#include "../common/dh_common.h"
#include "../common/dh_imx.h"
-DECLARE_GLOBAL_DATA_PTR;
-
int mach_cpu_init(void)
{
icache_enable();
#include "lpddr4_timing.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define UART_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_FSEL1)
#define WDOG_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_ODE | PAD_CTL_PUE | PAD_CTL_PE)
#include <asm/arch/ddr.h>
#include <asm/arch/imx8mp_pins.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/mach-imx/boot_mode.h>
#include <asm/sections.h>
#include <dm/device.h>
#include <power/pmic.h>
#include <spl.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
return BOOT_DEVICE_BOOTROM;
#include <virtio_types.h>
#include <virtio.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#if IS_ENABLED(CONFIG_MTD_NOR_FLASH)
int is_flash_available(void)
{
#include <asm/mach-imx/gpio.h>
#include <asm/mach-imx/iomux-v3.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#if IS_ENABLED(CONFIG_FEC_MXC)
#define FEC_RST_PAD IMX_GPIO_NR(3, 7)
#include <asm/arch/ddr.h>
#include <asm/sections.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
switch (boot_dev_spl) {
#include <miiphy.h>
#include <netdev.h>
#include <linux/delay.h>
-#include <asm/global_data.h>
#include <asm/mach-imx/iomux-v3.h>
#include <asm-generic/gpio.h>
#include <asm/arch/imx8mp_pins.h>
#include <asm/arch/sys_proto.h>
#include <asm/mach-imx/gpio.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static void setup_fec(void)
{
struct iomuxc_gpr_base_regs *gpr =
#include <init.h>
#include <log.h>
#include <spl.h>
-#include <asm/global_data.h>
#include <asm/arch/clock.h>
#include <asm/arch/imx8mp_pins.h>
#include <asm/arch/sys_proto.h>
#include <power/pmic.h>
#include <power/pca9450.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
return BOOT_DEVICE_BOOTROM;
#include <sysinfo.h>
#include <tpm-v1.h>
#include <video_osd.h>
-#include <asm/global_data.h>
#include "../common/ihs_mdio.h"
#include "../../../drivers/sysinfo/gazerbeam.h"
-DECLARE_GLOBAL_DATA_PTR;
-
struct ihs_mdio_info ihs_mdio_info[] = {
{ .fpga = NULL, .name = "ihs0", .base = 0x58 },
{ .fpga = NULL, .name = "ihs1", .base = 0x58 },
#include <init.h>
#include <malloc.h>
#include <errno.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <miiphy.h>
#include <netdev.h>
#include <asm/arch/clock.h>
#include <spl.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define UART_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_FSEL1)
#define WDOG_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_HYS | PAD_CTL_PUE)
#include <init.h>
#include <net.h>
#include <scsi.h>
-#include <asm/global_data.h>
#include <linux/sizes.h>
#include <asm/io.h>
#define HB_SCU_A9_PWR_DORMANT 2
#define HB_SCU_A9_PWR_OFF 3
-DECLARE_GLOBAL_DATA_PTR;
-
void cphy_disable_overrides(void);
/*
#include <asm/arch/imx-regs.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/mach-imx/boot_mode.h>
#include <dm/uclass.h>
#include "../common/hw-uid.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#if IS_ENABLED(CONFIG_KONTRON_HW_UID)
struct uid_otp_loc uid_otp_locations[] = {
{
#include <asm/arch/clock.h>
#include <asm/arch/imx-regs.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/mach-imx/boot_mode.h>
#include <dm/uclass.h>
#include "../common/hw-uid.h"
-DECLARE_GLOBAL_DATA_PTR;
-
int board_early_init_f(void)
{
return 0;
#include <linux/delay.h>
#include <linux/kernel.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define UART_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_FSEL1)
#define WDOG_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_HYS | PAD_CTL_PUE)
#include <init.h>
#include <malloc.h>
#include <errno.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <miiphy.h>
#include <netdev.h>
#include <linux/delay.h>
#include <power/pmic.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define WDOG_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_HYS | PAD_CTL_PUE)
static iomux_v3_cfg_t const wdog_pads[] = {
#include <asm-generic/gpio.h>
#include <linux/delay.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static void setup_fec(void)
{
struct iomuxc_gpr_base_regs *gpr =
#include <log.h>
#include <mmc.h>
#include <spl.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/clock.h>
#include <asm/arch/ddr.h>
#include <power/pmic.h>
#include <power/rn5t567_pmic.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
return BOOT_DEVICE_BOOTROM;
#include <init.h>
#include <log.h>
#include <spl.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/mach-imx/iomux-v3.h>
#include <asm/arch/clock.h>
#include <power/pmic.h>
#include <power/pca9450.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
switch (boot_dev_spl) {
#include <env.h>
#include <errno.h>
#include <init.h>
-#include <asm/global_data.h>
#include <linux/libfdt.h>
#include <fdt_support.h>
#include <asm/io.h>
#include <asm/arch/iomux.h>
#include <asm/arch/sys_proto.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define UART_PAD_CTRL ((SC_PAD_CONFIG_OUT_IN << PADRING_CONFIG_SHIFT) | \
(SC_PAD_ISO_OFF << PADRING_LPCONFIG_SHIFT) | \
(SC_PAD_28FDSOI_DSE_DV_HIGH << PADRING_DSE_SHIFT) | \
#include <env.h>
#include <errno.h>
#include <init.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
#include <linux/libfdt.h>
#include <fsl_esdhc_imx.h>
#include <asm/arch/iomux.h>
#include <asm/arch/sys_proto.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define GPIO_PAD_CTRL ((SC_PAD_CONFIG_NORMAL << PADRING_CONFIG_SHIFT) | \
(SC_PAD_ISO_OFF << PADRING_LPCONFIG_SHIFT) | \
(SC_PAD_28FDSOI_DSE_DV_HIGH << PADRING_DSE_SHIFT) | \
#include <asm/arch/ddr.h>
#include <asm/arch/imx8mp_pins.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/mach-imx/boot_mode.h>
#include <asm/mach-imx/gpio.h>
#include <asm/mach-imx/mxc_i2c.h>
#include "../common/imx8m_som_detection.h"
#endif
-DECLARE_GLOBAL_DATA_PTR;
-
#define EEPROM_ADDR 0x51
int spl_board_boot_device(enum boot_device boot_dev_spl)
*/
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/mach-imx/boot_mode.h>
#include <env.h>
#include <miiphy.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static int setup_fec(void)
{
struct iomuxc_gpr_base_regs *gpr =
#include <asm/arch/ddr.h>
#include <asm/arch/imx8mm_pins.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/mach-imx/boot_mode.h>
#include <asm/mach-imx/iomux-v3.h>
#include <asm/sections.h>
#include "../common/imx8m_som_detection.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define EEPROM_ADDR 0x51
#define EEPROM_ADDR_FALLBACK 0x59
*/
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/mach-imx/boot_mode.h>
#include <env.h>
#include "../common/imx8m_som_detection.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define EEPROM_ADDR 0x51
#define EEPROM_ADDR_FALLBACK 0x59
#include <asm/arch/ddr.h>
#include <asm/arch/imx8mp_pins.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/mach-imx/boot_mode.h>
#include <asm/mach-imx/gpio.h>
#include <asm/mach-imx/mxc_i2c.h>
#include "lpddr4_timing.h"
#include "../common/imx8m_som_detection.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define EEPROM_ADDR 0x51
#define EEPROM_ADDR_FALLBACK 0x59
*/
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/mach-imx/boot_mode.h>
#include <env.h>
#include <fdt_support.h>
#include "../common/imx93_som_detection.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define EEPROM_ADDR 0x50
int board_init(void)
#include <asm/arch/clock.h>
#include <asm/arch/imx8mp_pins.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/mach-imx/gpio.h>
#include <asm/mach-imx/iomux-v3.h>
#include <env.h>
#include <miiphy.h>
#include <netdev.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static void setup_fec(void)
{
struct iomuxc_gpr_base_regs *gpr =
#include <asm/arch/ddr.h>
#include <asm/arch/imx8mp_pins.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/mach-imx/boot_mode.h>
#include <asm/sections.h>
#include <dm/device.h>
#include <power/pmic.h>
#include <spl.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
return BOOT_DEVICE_BOOTROM;
#include <usb/xhci.h>
#include "librem5.h"
-DECLARE_GLOBAL_DATA_PTR;
-
int board_early_init_f(void)
{
return 0;
#include <linux/usb/gadget.h>
#include "librem5.h"
-DECLARE_GLOBAL_DATA_PTR;
-
void spl_dram_init(void)
{
/* ddr init */
#include <net.h>
#include <usb.h>
#include <asm/cache.h>
-#include <asm/global_data.h>
#include <asm/gpio.h>
#include <fdt_support.h>
#include <linux/delay.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static u32 msm_board_serial(void)
{
struct mmc *mmc_dev;
#include <init.h>
#include <env.h>
#include <asm/cache.h>
-#include <asm/global_data.h>
#include <linux/arm-smccc.h>
#include <linux/psci.h>
#include <dm.h>
/* Strength (sdc1) */
#define SDC1_HDRV_PULL_CTL_REG (TLMM_BASE_ADDR + 0x0012D000)
-DECLARE_GLOBAL_DATA_PTR;
-
static void sdhci_power_init(void)
{
const u32 TLMM_PULL_MASK = 0x3;
#include <fdt_support.h>
#include <hang.h>
#include <init.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <dm/uclass-internal.h>
#include <asm/arch/renesas.h>
#include <asm-generic/u-boot.h>
#include <linux/libfdt.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* If the firmware passed a device tree use it for e.g. U-Boot DRAM setup. */
extern u64 rcar_atf_boot_args[];
#include <asm/arch/renesas.h>
#include <asm/arch/sys_proto.h>
#include <asm/armv8/mmu.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/mach-types.h>
#include <asm/processor.h>
#include <image.h>
#include <linux/errno.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static void init_generic_timer(void)
{
const u32 freq = CONFIG_SYS_CLK_FREQ;
#include <asm/arch/renesas.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/mach-types.h>
#include <asm/processor.h>
#include <asm-generic/u-boot.h>
#include <linux/errno.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static void init_generic_timer(void)
{
const u32 freq = CONFIG_SYS_CLK_FREQ;
#include <asm/arch/sys_proto.h>
#include <asm/arch/clock.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define UART_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_FSEL1)
#define WDOG_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_HYS | PAD_CTL_PUE)
#include <env.h>
#include <fdtdec.h>
#include <log.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <errno.h>
#include <i2c.h>
#include <samsung/misc.h>
#include <tmu.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static int exynos_set_regulator(const char *name, uint uv)
{
struct udevice *dev;
#include <command.h>
#include <env.h>
#include <libtizen.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
#include <linux/printk.h>
#include <samsung/misc.h>
#include <power/pmic.h>
#include <mmc.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#ifdef CONFIG_SET_DFU_ALT_INFO
void set_dfu_alt_info(char *interface, char *devstr)
{
#include <env.h>
#include <init.h>
#include <log.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/stm32.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int dram_init(void)
{
int rv;
#include <env.h>
#include <init.h>
#include <log.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/stm32.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int dram_init(void)
{
int rv;
#include <env.h>
#include <init.h>
#include <log.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/stm32.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int dram_init(void)
{
int rv;
#include <spl.h>
#include <splash.h>
#include <video.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/armv7m.h>
#include <asm/arch/stm32.h>
#include <asm/gpio.h>
#include <linux/delay.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int dram_init(void)
{
#ifndef CONFIG_XPL_BUILD
#include <dm.h>
#include <init.h>
#include <log.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
int dram_init(void)
{
#include <dm.h>
#include <init.h>
#include <log.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
int dram_init(void)
{
#include <dm.h>
#include <init.h>
#include <log.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
int dram_init(void)
{
#include <dm.h>
#include <init.h>
#include <log.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
int dram_init(void)
{
#include <init.h>
#include <malloc.h>
#include <errno.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <miiphy.h>
#include <netdev.h>
#include <spl.h>
#include <power/pmic.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define UART_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_FSEL1)
#define WDOG_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_HYS | PAD_CTL_PUE)
#define board_is_am62x_lp_skevm() board_ti_k3_is("AM62-LP-SKEVM")
#define board_is_am62x_sip_skevm() board_ti_k3_is("AM62SIP-SKEVM")
-DECLARE_GLOBAL_DATA_PTR;
-
#if CONFIG_IS_ENABLED(SPLASH_SCREEN)
static struct splash_location default_splash_locations[] = {
{
#define board_is_am64x_skevm() (board_ti_k3_is("AM64-SKEVM") || \
board_ti_k3_is("AM64B-SKEVM"))
-DECLARE_GLOBAL_DATA_PTR;
-
struct efi_fw_image fw_images[] = {
{
.image_type_id = AM64X_SK_TIBOOT3_IMAGE_GUID,
#include <asm/arch/k3-ddr.h>
#include "../common/fdt_ops.h"
-DECLARE_GLOBAL_DATA_PTR;
-
struct efi_fw_image fw_images[] = {
{
.image_type_id = AM69_SK_TIBOOT3_IMAGE_GUID,
#include <cpu_func.h>
#include <init.h>
-#include <asm/global_data.h>
#include <asm/arch/clock.h>
#include <asm/arch/imx8-pins.h>
#include "../common/tdx-cfg-block.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define UART_PAD_CTRL ((SC_PAD_CONFIG_OUT_IN << PADRING_CONFIG_SHIFT) | \
(SC_PAD_ISO_OFF << PADRING_LPCONFIG_SHIFT) | \
(SC_PAD_28FDSOI_DSE_DV_HIGH << PADRING_DSE_SHIFT) | \
#include <asm/arch/pinmux.h>
#include <asm/arch-tegra/ap.h>
#include <asm/arch-tegra/tegra.h>
-#include <asm/global_data.h>
#include <asm/gpio.h>
#include <asm/io.h>
#include <dm.h>
#include "pinmux-config-apalis_t30.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define PMU_I2C_ADDRESS 0x2D
#define MAX_I2C_RETRY 3
#include <cpu_func.h>
#include <init.h>
-#include <asm/global_data.h>
#include <asm/arch/clock.h>
#include <asm/arch/imx8-pins.h>
#include "../common/tdx-cfg-block.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define UART_PAD_CTRL ((SC_PAD_CONFIG_OUT_IN << PADRING_CONFIG_SHIFT) | \
(SC_PAD_ISO_OFF << PADRING_LPCONFIG_SHIFT) | \
(SC_PAD_28FDSOI_DSE_DV_HIGH << PADRING_DSE_SHIFT) | \
#include <asm/arch-tegra/ap.h>
#include <asm/arch-tegra/board.h>
#include <asm/arch-tegra/tegra.h>
-#include <asm/global_data.h>
#include <asm/gpio.h>
#include <asm/io.h>
#include <i2c.h>
#include <linux/delay.h>
#include "../common/tdx-common.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define PMU_I2C_ADDRESS 0x34
#define MAX_I2C_RETRY 3
#define PMU_SUPPLYENE 0x14
*/
#include <config.h>
-#include <asm/global_data.h>
#include "tdx-cfg-block.h"
#include "tdx-eeprom.h"
#include <nand.h>
#include <asm/mach-types.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define TAG_VALID 0xcf01
#define TAG_MAC 0x0000
#define TAG_CAR_SERIAL 0x0021
/* Copyright (C) 2024 Toradex */
#include <init.h>
-#include <asm/global_data.h>
#include <asm-generic/gpio.h>
#include <linux/errno.h>
#include "../common/tdx-cfg-block.h"
-DECLARE_GLOBAL_DATA_PTR;
-
int board_phys_sdram_size(phys_size_t *size)
{
if (!size)
#include <asm/arch/clock.h>
#include <asm/arch/ddr.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/mach-imx/boot_mode.h>
#include <dm/device.h>
#include <power/pmic.h>
#include "lpddr4_timing.h"
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
return BOOT_DEVICE_BOOTROM;
#include <asm/arch/ddr.h>
#include <asm/arch/imx8mm_pins.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/mach-imx/boot_mode.h>
#include <asm/mach-imx/iomux-v3.h>
#include <power/pmic.h>
#include <spl.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define I2C_PMIC_BUS_ID 1
int spl_board_boot_device(enum boot_device boot_dev_spl)
#include <init.h>
#include <asm/arch/clock.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <hang.h>
#include <i2c.h>
#include "../common/tdx-cfg-block.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define I2C_PMIC 0
enum pcb_rev_t {
#include <init.h>
#include <log.h>
#include <spl.h>
-#include <asm/global_data.h>
#include <asm/arch/clock.h>
#include <asm/arch/imx8mp_pins.h>
#include <asm/arch/sys_proto.h>
#include <power/pca9450.h>
#include "lpddr4_timing.h"
-DECLARE_GLOBAL_DATA_PTR;
-
int spl_board_boot_device(enum boot_device boot_dev_spl)
{
return BOOT_DEVICE_BOOTROM;
#include <asm/arch/imx8mp_pins.h>
#include <asm/arch/sys_proto.h>
#include <asm-generic/gpio.h>
-#include <asm/global_data.h>
#include <asm/mach-imx/gpio.h>
#include <asm/mach-imx/iomux-v3.h>
#include <errno.h>
#include "../common/tdx-cfg-block.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define UART_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_FSEL1)
/* Verdin UART_3, Console/Debug UART */
#include <log.h>
#include <part.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/hardware.h>
#include <asm/arch/sys_proto.h>
#include <u-boot/md5.h>
#include <zynq_bootimg.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define ZYNQ_IMAGE_PHDR_OFFSET 0x09C
#define ZYNQ_IMAGE_FSBL_LEN_OFFSET 0x040
#define ZYNQ_PART_HDR_CHKSUM_WORD_COUNT 0x0F
#include <mapmem.h>
#include <dm/uclass-internal.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int bootmeth_get_state_desc(struct udevice *dev, char *buf, int maxsize)
{
const struct bootmeth_ops *ops = bootmeth_get_ops(dev);
#include <dm.h>
#include <fdt_support.h>
-#include <asm/global_data.h>
#include <linux/libfdt.h>
#include <video.h>
#include <spl.h>
#include <bloblist.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static int fdt_simplefb_configure_node(void *blob, int off)
{
int xsize, ysize;
#include <log.h>
#include <malloc.h>
-#include <asm/global_data.h>
-DECLARE_GLOBAL_DATA_PTR;
#include <image.h>
#include <relocate.h>
#include <u-boot/ecdsa.h>
#include <fdt_support.h>
#endif
-#include <asm/global_data.h>
#include <linux/errno.h>
#include <asm/io.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Set this if we have less than 4 MB of malloc() space */
#if CONFIG_SYS_MALLOC_LEN < (4096 * 1024)
#define CONSERVE_MEMORY true
#include <bloblist.h>
#include <command.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
static int do_bloblist_info(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])
#include <mapmem.h>
#include <vsprintf.h>
#include <asm-generic/sections.h>
-#include <asm/global_data.h>
#include <linux/string.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static struct efi_device_path *test_image_path;
static struct efi_device_path *test_device_path;
#include <malloc.h>
#include <nand.h>
#include <asm/byteorder.h>
-#include <asm/global_data.h>
#include <linux/ctype.h>
#include <linux/err.h>
#include <u-boot/zlib.h>
#include <mapmem.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#if defined(CONFIG_CMD_IMI)
static int image_info(unsigned long addr);
#endif
#include <dm.h>
#include <rtc.h>
#include <i2c.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
static const char * const weekdays[] = {
"Sun", "Mon", "Tues", "Wednes", "Thurs", "Fri", "Satur",
#include <time.h>
#include <vsprintf.h>
#include <watchdog.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <linux/bitops.h>
#include <linux/compiler.h>
#include <linux/ctype.h>
#include <linux/delay.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Create a compile-time value */
#if MEM_SUPPORT_64BIT_DATA
#define HELP_Q ", .q"
#include <dm.h>
#include <fdtdec.h>
#include <sound.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
/* Initilaise sound subsystem */
static int do_init(struct cmd_tbl *cmdtp, int flag, int argc,
#include <env.h>
#include <image.h>
#include <log.h>
-#include <asm/global_data.h>
#include <linux/libfdt.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static const char **subcmd_list[] = {
[SPL_EXPORT_FDT] = (const char * []) {
#include <cli_hush.h>
#include <command.h> /* find_cmd */
#include <vsprintf.h>
-#include <asm/global_data.h>
#endif
#ifndef __U_BOOT__
#include <ctype.h> /* isalpha, isdigit */
#endif
#ifdef __U_BOOT__
-DECLARE_GLOBAL_DATA_PTR;
-
#define EXIT_SUCCESS 0
#define EOF -1
#define syntax() syntax_err()
#include <serial.h>
#include <splash.h>
#include <i2c.h>
-#include <asm/global_data.h>
#include <dm/device-internal.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static struct stdio_dev devs;
struct stdio_dev *stdio_devices[] = { NULL, NULL, NULL };
char *stdio_names[MAX_FILES] = { "stdin", "stdout", "stderr" };
#include <os.h>
#include <malloc.h>
#include <sandbox_host.h>
-#include <asm/global_data.h>
#include <dm/device_compat.h>
#include <dm/device-internal.h>
#include <linux/errno.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static unsigned long host_block_read(struct udevice *dev,
lbaint_t start, lbaint_t blkcnt,
void *buffer)
#include <power/pmic.h>
#include <power/pfuze100_pmic.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define PFUZE_BC_MAGIC 0xdead
struct bootcount_pmic_priv {
#include <cache.h>
#include <dm.h>
#include <errno.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
static int sandbox_get_info(struct udevice *dev, struct cache_info *info)
{
#include <log.h>
#include <wait_bit.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/system.h>
#include <clk-uclass.h>
#include <asm/arch/clock_manager.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct socfpga_clk_plat {
void __iomem *regs;
int pllgrp;
#include <stdio.h>
#include <time.h>
#include <vsprintf.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/system.h>
#include <dm/lists.h>
#include <wait_bit.h>
#include <clk-uclass.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define CLKMGR_CTRL_SWCTRLBTCLKEN_MASK BIT(8)
#define CLKMGR_CTRL_SWCTRLBTCLKSEL_MASK BIT(9)
*/
#include <asm/arch/clock_manager.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include "clk-mem-n5x.h"
#include <clk-uclass.h>
#include <dm/util.h>
#include <dt-bindings/clock/n5x-clock.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct socfpga_mem_clk_plat {
void __iomem *regs;
};
*/
#include <asm/arch/clock_manager.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <clk-uclass.h>
#include <dm.h>
#include <dm/util.h>
#include <dt-bindings/clock/n5x-clock.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct socfpga_clk_plat {
void __iomem *regs;
};
#include <asm/arch-rockchip/clock.h>
#include <asm/arch-rockchip/cru_px30.h>
#include <asm/arch-rockchip/hardware.h>
-#include <asm/global_data.h>
#include <dm/device-internal.h>
#include <dm/lists.h>
#include <dt-bindings/clock/px30-cru.h>
#include <linux/bitops.h>
#include <linux/delay.h>
-DECLARE_GLOBAL_DATA_PTR;
-
enum {
VCO_MAX_HZ = 3200U * 1000000,
VCO_MIN_HZ = 800 * 1000000,
#include <log.h>
#include <malloc.h>
#include <syscon.h>
-#include <asm/global_data.h>
#include <asm/arch-rockchip/clock.h>
#include <asm/arch-rockchip/cru_rk3308.h>
#include <asm/arch-rockchip/hardware.h>
#include <dt-bindings/clock/rk3308-cru.h>
#include <linux/bitops.h>
-DECLARE_GLOBAL_DATA_PTR;
-
enum {
VCO_MAX_HZ = 3200U * 1000000,
VCO_MIN_HZ = 800 * 1000000,
#include <dt-bindings/clock/rockchip,rk3528-cru.h>
#include <linux/delay.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define DIV_TO_RATE(input_rate, div) ((input_rate) / ((div) + 1))
/*
#include <dm/lists.h>
#include <dt-bindings/clock/rk3568-cru.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#if CONFIG_IS_ENABLED(OF_PLATDATA)
struct rk3568_clk_plat {
struct dtd_rockchip_rk3568_cru dtd;
#include <dt-bindings/clock/rockchip,rk3576-cru.h>
#include <linux/delay.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define DIV_TO_RATE(input_rate, div) ((input_rate) / ((div) + 1))
static struct rockchip_pll_rate_table rk3576_24m_pll_rates[] = {
#include <dm/lists.h>
#include <dt-bindings/clock/rockchip,rk3588-cru.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define DIV_TO_RATE(input_rate, div) ((input_rate) / ((div) + 1))
static struct rockchip_pll_rate_table rk3588_pll_rates[] = {
#include <log.h>
#include <malloc.h>
#include <syscon.h>
-#include <asm/global_data.h>
#include <asm/arch-rockchip/clock.h>
#include <asm/arch-rockchip/cru_rv1108.h>
#include <asm/arch-rockchip/hardware.h>
#include <linux/delay.h>
#include <linux/stringify.h>
-DECLARE_GLOBAL_DATA_PTR;
-
enum {
VCO_MAX_HZ = 2400U * 1000000,
VCO_MIN_HZ = 600 * 1000000,
#include <dm/lists.h>
#include <dt-bindings/clock/rockchip,rv1126-cru.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define RV1126_CPUCLK_RATE(_rate, _aclk_div, _pclk_div) \
{ \
.rate = _rate##U, \
#include <asm/armv8/cpu.h>
#include <asm/cache.h>
#include <asm/io.h>
-#include <asm/global_data.h>
#include <asm/system.h>
#include <asm-generic/sections.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include "armv8_cpu.h"
-DECLARE_GLOBAL_DATA_PTR;
-
struct bcm_plat {
u64 release_addr;
};
#include <linux/err.h>
#include <relocate.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int cpu_probe_all(void)
{
int ret = uclass_probe_all(UCLASS_CPU);
#include <cpu.h>
#include <dm.h>
#include <thermal.h>
-#include <asm/global_data.h>
#include <asm/ptrace.h>
#include <asm/system.h>
#include <firmware/imx/sci/sci.h>
#include <linux/clk-provider.h>
#include <linux/psci.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define IMX_REV_LEN 4
struct cpu_imx_plat {
const char *name;
#include <dm.h>
#include <regmap.h>
#include <syscon.h>
-#include <asm/global_data.h>
#include <linux/err.h>
#include <linux/io.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct mtk_cpu_plat {
struct regmap *hwver;
};
#include <malloc.h>
#include <string.h>
#include <u-boot/uuid.h>
-#include <asm/global_data.h>
#include <dm/device-internal.h>
#include <dm/devres.h>
#include <dm/root.h>
#include <linux/errno.h>
#include <linux/sizes.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Error mapping declarations */
int ffa_to_std_errmap[MAX_NUMBER_FFA_ERR] = {
#include <arm_ffa_priv.h>
#include <dm.h>
#include <log.h>
-#include <asm/global_data.h>
#include <dm/device-internal.h>
#include <linux/errno.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/**
* invoke_ffa_fn() - SMC wrapper
* @args: FF-A ABI arguments to be copied to Xn registers
#include <dm.h>
#include <mapmem.h>
#include <string.h>
-#include <asm/global_data.h>
#include <asm/sandbox_arm_ffa.h>
#include <asm/sandbox_arm_ffa_priv.h>
#include <dm/device-internal.h>
#include <linux/errno.h>
#include <linux/sizes.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* The partitions (SPs) table */
static struct ffa_partition_desc sandbox_partitions[SANDBOX_PARTITIONS_CNT] = {
{
#include <arm_ffa.h>
#include <dm.h>
#include <log.h>
-#include <asm/global_data.h>
#include <asm/sandbox_arm_ffa_priv.h>
#include <dm/device-internal.h>
#include <linux/errno.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/**
* sandbox_ffa_discover() - perform sandbox FF-A discovery
* @dev: The sandbox FF-A bus device
#include <fdtdec.h>
#include <malloc.h>
#include <acpi/acpi_device.h>
-#include <asm/global_data.h>
#include <asm/gpio.h>
#include <dm/device_compat.h>
#include <linux/bug.h>
#include <linux/ctype.h>
#include <linux/delay.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define GPIO_ALLOC_BITS 32
/**
#include <dm.h>
#include <errno.h>
#include <malloc.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/gpio.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct nx_gpio_regs {
u32 data; /* Data register */
u32 outputenb; /* Output Enable register */
#include <log.h>
#include <asm/arch/clock.h>
#include <asm/arch/imx-regs.h>
-#include <asm/global_data.h>
#include <dm/device_compat.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <dm.h>
#include <dm/pinctrl.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define I2C_QUIRK_FLAG (1 << 0)
#define IMX_I2C_REGSHIFT 2
#include <asm/arch/reset.h>
#include <asm/arch/clk.h>
#include <asm/arch/nx_gpio.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
#define I2C_WRITE 0
#define DEFAULT_SPEED 100000 /* default I2C speed [Hz] */
-DECLARE_GLOBAL_DATA_PTR;
-
struct nx_i2c_regs {
uint iiccon;
uint iicstat;
* Andreas Larsson <andreas@gaisler.com>
*/
-#include <asm/global_data.h>
#include <asm/io.h>
#include <clk.h>
#include <dm.h>
u8 (*getreg)(struct ocores_i2c_bus *i2c, int reg);
};
-DECLARE_GLOBAL_DATA_PTR;
-
/* Boolean attribute values */
enum {
FALSE = 0,
#endif
#endif
#include <i2c.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
#if defined(CONFIG_SOFT_I2C_GPIO_SCL)
/* #define DEBUG_I2C */
-DECLARE_GLOBAL_DATA_PTR;
-
#ifndef I2C_SOFT_DECLARATIONS
# define I2C_SOFT_DECLARATIONS
#endif
#define SPEED_FM 400 // Fast Mode
#define SPEED_SM 100 // Standard Mode
-DECLARE_GLOBAL_DATA_PTR;
-
struct synquacer_i2c {
void __iomem *base;
unsigned long pclkrate;
/* This driver only exposes the status bits to keep with the
* polling methodology of u-boot.
*/
-DECLARE_GLOBAL_DATA_PTR;
-
#define IMX_MU_CHANS 24
#define IMX_MU_V2_PAR_OFF 0x4
#include <errno.h>
#include <atsha204a-i2c.h>
#include <log.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
#include <linux/bitrev.h>
#include <u-boot/crc.h>
#define ATSHA204A_TRANSACTION_RETRY 5
#define ATSHA204A_EXECTIME 5000
-DECLARE_GLOBAL_DATA_PTR;
-
static inline u16 atsha204a_crc16(const u8 *buffer, size_t len)
{
return bitrev16(crc16(0, buffer, len));
#include <fs.h>
#include <fs_loader.h>
#include <log.h>
-#include <asm/global_data.h>
#include <dm/device-internal.h>
#include <dm/root.h>
#include <linux/string.h>
#include <ubi_uboot.h>
#endif
-DECLARE_GLOBAL_DATA_PTR;
-
/**
* struct firmware - A place for storing firmware and its attribute data.
*
#include <fuse.h>
#include <firmware/imx/sci/sci.h>
#include <asm/arch/sys_proto.h>
-#include <asm/global_data.h>
#include <linux/arm-smccc.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define FSL_ECC_WORD_START_1 0x10
#define FSL_ECC_WORD_END_1 0x10F
#include <dwmmc.h>
#include <fdtdec.h>
-#include <asm/global_data.h>
#include <linux/libfdt.h>
#include <malloc.h>
#include <errno.h>
#define MIN_FREQ (400000)
-DECLARE_GLOBAL_DATA_PTR;
-
struct ca_mmc_plat {
struct mmc_config cfg;
struct mmc mmc;
const struct f_sdh30_data *data;
};
-DECLARE_GLOBAL_DATA_PTR;
-
static void f_sdh30_e51_init(struct udevice *dev)
{
struct f_sdh30_plat *plat = dev_get_plat(dev);
#include <malloc.h>
#include <mmc.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/unaligned.h>
#include <errno.h>
#else /* CONFIG_DM_MMC */
#include <dm.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static int jz_mmc_dm_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
struct mmc_data *data)
{
#include <reset.h>
#include <sdhci.h>
#include <wait_bit.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <linux/bitops.h>
#include <power/regulator.h>
u32 core_vendor_spec_capabilities0;
};
-DECLARE_GLOBAL_DATA_PTR;
-
static int msm_sdc_clk_init(struct udevice *dev)
{
struct msm_sdhc *prv = dev_get_priv(dev);
#include <dm.h>
#include <malloc.h>
#include <sdhci.h>
-#include <asm/global_data.h>
#include <linux/mbus.h>
#define MVSDH_NAME "mv_sdh"
#define SDHCI_WINDOW_CTRL(win) (0x4080 + ((win) << 4))
#define SDHCI_WINDOW_BASE(win) (0x4084 + ((win) << 4))
-DECLARE_GLOBAL_DATA_PTR;
-
struct mv_sdhci_plat {
struct mmc_config cfg;
struct mmc mmc;
#include <malloc.h>
#include <fdtdec.h>
#include <nand.h>
-#include <asm/global_data.h>
#include <dm/device_compat.h>
#include <dm/devres.h>
#include <linux/bitops.h>
#include "pxa3xx_nand.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define TIMEOUT_DRAIN_FIFO 5 /* in ms */
#define CHIP_DELAY_TIMEOUT 200
#define NAND_STOP_DELAY 40
*/
#include <log.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <memalign.h>
#include <nand.h>
#include <linux/printk.h>
#include "tegra_nand.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define NAND_CMD_TIMEOUT_MS 10
#define SKIPPED_SPARE_BYTES 4
#include <nvmxip.h>
#include <linux/errno.h>
-#include <asm/global_data.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define NVMXIP_QSPI_DRV_NAME "nvmxip_qspi"
/**
#include <malloc.h>
#include <spi.h>
#include <spi_flash.h>
-#include <asm/global_data.h>
#include <dm/device-internal.h>
#include <test/test.h>
#include "sf_internal.h"
-DECLARE_GLOBAL_DATA_PTR;
-
int spi_flash_read_dm(struct udevice *dev, u32 offset, size_t len, void *buf)
{
return log_ret(sf_get_ops(dev)->read(dev, offset, len, buf));
* Actions DWMAC specific glue layer
*/
-#include <asm/global_data.h>
#include <asm/io.h>
#include <dm.h>
#include <clk.h>
#define RMII_REF_CLK_MFP_CTL0 (0x0 << 6)
#define CLKO_25M_EN_MFP_CTL3 BIT(30)
-DECLARE_GLOBAL_DATA_PTR;
-
static void dwmac_board_setup(void)
{
clrbits_le32(MFP_CTL0, (RMII_TXD01_MFP_CTL0 | RMII_RXD01_MFP_CTL0 |
#include <net.h>
#include <netdev.h>
#include <asm/cache.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
#include <power/regulator.h>
#include "fec_mxc.h"
#include <eth_phy.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/*
* Timeout the transfer after 5 mS. This is usually a bit more, since
* the code in the tightloops this timeout is used in adds some overhead.
#include <net.h>
#include <phy.h>
#include <syscon.h>
-#include <asm/global_data.h>
#include <asm/arch-rockchip/periph.h>
#include <asm/arch-rockchip/clock.h>
#include <asm/arch-rockchip/hardware.h>
#include <linux/bitops.h>
#include "designware.h"
-DECLARE_GLOBAL_DATA_PTR;
#define DELAY_ENABLE(soc, tx, rx) \
(((tx) ? soc##_TXCLK_DLY_ENA_GMAC_ENABLE : soc##_TXCLK_DLY_ENA_GMAC_DISABLE) | \
((rx) ? soc##_RXCLK_DLY_ENA_GMAC_ENABLE : soc##_RXCLK_DLY_ENA_GMAC_DISABLE))
#include <config.h>
#include <malloc.h>
#include <asm/cache.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <dm/device_compat.h>
#include <dm/devres.h>
#include <linux/mbus.h>
#include <asm-generic/gpio.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define MVNETA_NR_CPUS 1
#define ETH_HLEN 14 /* Total octets in header */
#include <pci.h>
#include <pci_ids.h>
#include <phy.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <linux/ctype.h>
#include <linux/delay.h>
#define PCI_DEVICE_ID_OCTEONTX_SMI 0xA02B
-DECLARE_GLOBAL_DATA_PTR;
-
enum octeontx_smi_mode {
CLAUSE22 = 0,
CLAUSE45 = 1,
#include <phy.h>
#include <dm.h>
#include <fdt_support.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
static int fixedphy_probe(struct phy_device *phydev)
{
#include <miiphy.h>
#include <phy.h>
#include <errno.h>
-#include <asm/global_data.h>
#include <asm-generic/gpio.h>
#include <dm/device_compat.h>
#include <dm/of_extra.h>
#include <linux/err.h>
#include <linux/compiler.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Generic PHY support and helper functions */
/**
#include <dm.h>
#include <log.h>
#include <phy.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
#define ZYNQ_GMII2RGMII_REG 0x10
#define ZYNQ_GMII2RGMII_SPEED_MASK (BMCR_SPEED1000 | BMCR_SPEED100)
#include <env.h>
#include <malloc.h>
#include <net.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
static int reply_arp;
static struct in_addr arp_ip;
#include <log.h>
#include <malloc.h>
#include <asm/eth.h>
-#include <asm/global_data.h>
#include <asm/test.h>
#include <asm/types.h>
#define ICMP_ECHO_REPLY 0
#define IPPROTO_ICMP 1
-DECLARE_GLOBAL_DATA_PTR;
-
static const u8 null_ethaddr[6];
static bool skip_timeout;
*/
#include <command.h>
#include <console.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
#include <linux/printk.h>
#include "cpsw_mdio.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#ifdef KEYSTONE2_EMAC_GIG_ENABLE
#define emac_gigabit_enable(x) keystone2_eth_gigabit_enable(x)
#else
#include <log.h>
#include <net.h>
#include <malloc.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <phy.h>
#include <miiphy.h>
#include <linux/delay.h>
#include <eth_phy.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Link setup */
#define XAE_EMMC_LINKSPEED_MASK 0xC0000000 /* Link speed */
#define XAE_EMMC_LINKSPD_10 0x00000000 /* Link Speed mask for 10 Mbit */
#include <log.h>
#include <malloc.h>
#include <pci.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <linux/ioport.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/*
* This driver supports multiple types of operations / host bridges / busses:
*
#include <power-domain.h>
#include <reset.h>
#include <syscon.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm-generic/gpio.h>
#include <dm/device_compat.h>
#include "pcie_dw_common.h"
-DECLARE_GLOBAL_DATA_PTR;
-
/**
* struct meson_pcie - Amlogic Meson DW PCIe controller state
*
#include <syscon.h>
#include <malloc.h>
#include <power/regulator.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm-generic/gpio.h>
#include <dm/device_compat.h>
#include "pcie_dw_common.h"
-DECLARE_GLOBAL_DATA_PTR;
-
struct qcom_pcie;
struct qcom_pcie_ops {
#include <reset.h>
#include <syscon.h>
#include <asm/arch-rockchip/clock.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm-generic/gpio.h>
#include <dm/device_compat.h>
#include "pcie_dw_common.h"
-DECLARE_GLOBAL_DATA_PTR;
-
/**
* struct rk_pcie - RK DW PCIe controller state
*
#include <power-domain.h>
#include <regmap.h>
#include <syscon.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm-generic/gpio.h>
#include <dm/device_compat.h>
#include "pcie_dw_common.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define PCIE_VENDORID_MASK GENMASK(15, 0)
#define PCIE_DEVICEID_SHIFT 16
*/
#include <log.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <errno.h>
#include <malloc.h>
#endif
#include "pcie_layerscape.h"
-DECLARE_GLOBAL_DATA_PTR;
-
LIST_HEAD(ls_pcie_list);
unsigned int dbi_readl(struct ls_pcie *pcie, unsigned int offset)
#include <regmap.h>
#include <reset.h>
#include <syscon.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm-generic/gpio.h>
#include <dm/device_compat.h>
#define STG_SYSCON_RP_NEP_OFFSET 0xe8
#define STG_SYSCON_K_RP_NEP_MASK BIT(8)
-DECLARE_GLOBAL_DATA_PTR;
-
struct starfive_pcie {
struct pcie_plda plda;
struct clk_bulk clks;
#include <dm.h>
#include <errno.h>
-#include <asm/global_data.h>
#include <linux/log2.h>
#include <pci_ep.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int pci_ep_write_header(struct udevice *dev, uint fn, struct pci_ep_header *hdr)
{
struct pci_ep_ops *ops = pci_ep_get_ops(dev);
#include <dm.h>
#include <fdtdec.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <dm/device_compat.h>
#include <linux/err.h>
#define COMPHY_MAX_CHIP 4
-DECLARE_GLOBAL_DATA_PTR;
-
static const char *get_speed_string(u32 speed)
{
static const char * const speed_strings[] = {
* Written by Jean-Jacques Hiblot <jjhiblot@ti.com>
*/
-#include <asm/global_data.h>
#include <asm/io.h>
#include <dm.h>
#include <errno.h>
#define USB2PHY_USE_CHG_DET_REG BIT(29)
#define USB2PHY_DIS_CHG_DET BIT(28)
-DECLARE_GLOBAL_DATA_PTR;
-
struct omap_usb2_phy {
struct regmap *pwr_regmap;
ulong flags;
#include <clk.h>
#include <dm.h>
-#include <asm/global_data.h>
#include <dm/device_compat.h>
#include <generic-phy.h>
#include <reset.h>
#include <linux/iopoll.h>
#include <asm/arch-rockchip/clock.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/*
* The higher 16-bit of this register is used for write protection
* only if BIT(x + 16) set to 1 the BIT(x) can be written.
#include <clk.h>
#include <dm.h>
-#include <asm/global_data.h>
#include <dm/device_compat.h>
#include <dm/lists.h>
#include <generic-phy.h>
#include <linux/iopoll.h>
#include <asm/arch-rockchip/clock.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define usleep_range(a, b) udelay((b))
#define CMN_SSM_BANDGAP (0x21 << 2)
*/
#include <dm.h>
-#include <asm/global_data.h>
#include <dm/pinctrl.h>
#include <linux/bitops.h>
#include <linux/io.h>
#include "pinctrl-mtmips-common.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define AGPIO_OFS 0
#define GPIOMODE1_OFS 0x24
#define GPIOMODE2_OFS 0x28
#include <dm.h>
#include <errno.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include "pinctrl-nexell.h"
#include "pinctrl-s5pxx18.h"
-DECLARE_GLOBAL_DATA_PTR;
-
/* given a pin-name, return the address of pin config registers */
unsigned long pin_to_bank_base(struct udevice *dev, const char *pin_name,
u32 *pin)
#include <dm.h>
#include <errno.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <dm/pinctrl.h>
#include <dm/root.h>
#include "pinctrl-nexell.h"
#include "pinctrl-s5pxx18.h"
-DECLARE_GLOBAL_DATA_PTR;
-
static void nx_gpio_set_bit(u32 *value, u32 bit, int enable)
{
register u32 newvalue;
#include <malloc.h>
#include <mapmem.h>
-#include <asm/global_data.h>
#include <dm/device_compat.h>
#include <dm/devres.h>
#include <linux/bitops.h>
#include "pinctrl-imx.h"
-DECLARE_GLOBAL_DATA_PTR;
-
int imx_pinctrl_set_state_mmio(struct udevice *dev, struct udevice *config)
{
struct imx_pinctrl_priv *priv = dev_get_priv(dev);
#include <malloc.h>
#include <mapmem.h>
-#include <asm/global_data.h>
#include <dm/device_compat.h>
#include <dm/devres.h>
#include <linux/bitops.h>
#include "pinctrl-imx.h"
-DECLARE_GLOBAL_DATA_PTR;
-
int imx_pinctrl_set_state_common(struct udevice *dev, struct udevice *config,
int pin_size, u32 **pin_data, int *npins)
{
#include <asm/io.h>
#include <firmware/imx/sci/sci.h>
#include <misc.h>
-#include <asm/global_data.h>
#include <dm/device.h>
#include <dm/pinctrl.h>
#include "pinctrl-imx.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define PADRING_IFMUX_EN_SHIFT 31
#define PADRING_IFMUX_EN_MASK BIT(31)
#define PADRING_GP_EN_SHIFT 30
*/
#include <log.h>
-#include <asm/global_data.h>
#include <dm/device_compat.h>
#include <dm/devres.h>
#include <linux/io.h>
#include <dm/read.h>
#include "pinctrl-mxs.h"
-DECLARE_GLOBAL_DATA_PTR;
-
struct mxs_pinctrl_priv {
void __iomem *base;
const struct mxs_regs *regs;
#include <dm.h>
#include <malloc.h>
#include <power-domain-uclass.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/mach-imx/sys_proto.h>
#include <dm/device-internal.h>
#include <dt-bindings/power/imx8mp-power.h>
#include <dt-bindings/power/imx8mq-power.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define GPC_PGC_CPU_MAPPING 0x0ec
#define IMX8MP_GPC_PGC_CPU_MAPPING 0x1cc
#include <dm.h>
#include <i2c.h>
#include <log.h>
-#include <asm/global_data.h>
#include <linux/printk.h>
#include <power/pmic.h>
#include <power/regulator.h>
#include <power/bd71837.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static const struct pmic_child_info pmic_children_info[] = {
/* buck */
{ .prefix = "b", .driver = BD718XX_REGULATOR_DRIVER},
#include <errno.h>
#include <fsl_pmic.h>
#include <i2c.h>
-#include <asm/global_data.h>
#include <power/pmic.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static int mc34708_reg_count(struct udevice *dev)
{
return PMIC_NUM_OF_REGS;
#include <power/pmic.h>
#include <power/regulator.h>
#include <power/mp5416.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
static const struct pmic_child_info pmic_children_info[] = {
/* buck */
#include <dm/lists.h>
#include <i2c.h>
#include <log.h>
-#include <asm/global_data.h>
#include <linux/delay.h>
#include <linux/printk.h>
#include <power/pmic.h>
#include <power/pca9450.h>
#include <sysreset.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static const struct pmic_child_info pmic_children_info[] = {
/* buck */
{ .prefix = "b", .driver = PCA9450_REGULATOR_DRIVER},
#include <errno.h>
#include <log.h>
#include <pwm.h>
-#include <asm/global_data.h>
#include <dm/device_compat.h>
#include <power/regulator.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct pwm_regulator_info {
/* pwm id corresponding to the PWM driver */
int pwm_id;
#include <dm.h>
#include <pwm.h>
#include <regmap.h>
-#include <asm/global_data.h>
#include <linux/io.h>
#include <linux/log2.h>
#include <linux/bitfield.h>
#define PWM_SIFIVE_CHANNEL_ENABLE_VAL 0
#define PWM_SIFIVE_CHANNEL_DISABLE_VAL 0xffff
-DECLARE_GLOBAL_DATA_PTR;
-
struct pwm_sifive_regs {
unsigned long cfg;
unsigned long cnt;
#include <pwm.h>
#include <regmap.h>
#include <syscon.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch-rockchip/pwm.h>
#include <linux/bitops.h>
#include <power/regulator.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct rockchip_pwm_data {
struct rockchip_pwm_regs regs;
unsigned int prescaler;
#include <pwm.h>
#include <regmap.h>
#include <syscon.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/pwm.h>
#include <power/regulator.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define OSC_24MHZ 24000000
struct sunxi_pwm_priv {
#include <log.h>
#include <rand.h>
#include <watchdog.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <linux/log2.h>
#include "stm32mp1_tests.h"
#define PATTERN_DEFAULT "-"
-DECLARE_GLOBAL_DATA_PTR;
-
static int get_bufsize(char *string, int argc, char *argv[], int arg_nb,
size_t *bufsize, size_t default_size, size_t min_size)
{
#include <reboot-mode/reboot-mode-gpio.h>
#include <reboot-mode/reboot-mode.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static int reboot_mode_get(struct udevice *dev, u32 *buf)
{
int ret;
#include <reboot-mode/reboot-mode.h>
#include <rtc.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static int reboot_mode_get(struct udevice *dev, u32 *buf)
{
if (!buf)
#include <linux/compat.h>
#include <linux/printk.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct resource_table {
u32 ver;
u32 num;
#include <reset.h>
#include <spl.h>
#include <watchdog.h>
-#include <asm/global_data.h>
#include <linux/err.h>
#include <linux/types.h>
#include <asm/io.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define UART_LCRVAL UART_LCR_8N1 /* 8 data, 1 stop, no parity */
#define UART_MCRVAL (UART_MCR_DTR | \
UART_MCR_RTS) /* RTS/DTR */
#include <os.h>
#include <serial.h>
#include <video.h>
-#include <asm/global_data.h>
#include <linux/compiler.h>
#include <asm/serial.h>
#include <asm/state.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static size_t _sandbox_serial_written = 1;
static bool sandbox_serial_enabled = true;
#define ERXS BIT(8)
#define ETXS BIT(9)
-DECLARE_GLOBAL_DATA_PTR;
-
struct uart4_reg {
u32 revid;
u32 control;
#include <fdtdec.h>
#include <log.h>
#include <watchdog.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <linux/compiler.h>
#include <serial.h>
#include <linux/err.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define HTIF_DATA_BITS 48
#define HTIF_DATA_MASK ((1ULL << HTIF_DATA_BITS) - 1)
#define HTIF_DATA_SHIFT 0
#include <dm.h>
#include <serial.h>
#include <watchdog.h>
-#include <asm/global_data.h>
#include <linux/bug.h>
#include <xen/interface/io/console.h>
#include <xen/interface/io/ring.h>
-DECLARE_GLOBAL_DATA_PTR;
-
u32 console_evtchn;
/*
#include <errno.h>
#include <dm.h>
-#include <asm/global_data.h>
#include <dm/device_compat.h>
#include <dm/devres.h>
#include <dm/of_access.h>
#include <linux/sizes.h>
#include <smem.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/*
* The Qualcomm shared memory system is an allocate-only heap structure that
* consists of one of more memory areas that can be accessed by the processors
#include <spi.h>
#include <spi-mem.h>
#include <reset.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
struct ca_sflash_regs {
u32 idr; /* 0x00:Flash word ID Register */
#include <linux/sizes.h>
#include <asm/gpio.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/*
* QSPI Control register mask defines
*/
#include <spi.h>
#include <clk.h>
#include <wait_bit.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <dm/device_compat.h>
#include <linux/bitops.h>
#include <asm/gpio.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define MVEBU_SPI_A3700_XFER_RDY BIT(1)
#define MVEBU_SPI_A3700_FIFO_FLUSH BIT(9)
#define MVEBU_SPI_A3700_BYTE_LEN BIT(5)
#include <spi.h>
#include <time.h>
#include <malloc.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <linux/bitops.h>
#include <omap3_spi.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct omap2_mcspi_platform_config {
unsigned int regs_offset;
};
#include <fdt_support.h>
#include <reset.h>
#include <wait_bit.h>
-#include <asm/global_data.h>
#include <dm/device_compat.h>
#include <linux/bitops.h>
#include <linux/iopoll.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* sun4i spi registers */
#define SUN4I_RXDATA_REG 0x00
#define SUN4I_TXDATA_REG 0x04
#define TXBIT 1
#define RXBIT 2
-DECLARE_GLOBAL_DATA_PTR;
-
struct synquacer_spi_plat {
void __iomem *base;
bool aces, rtm;
#include <spi.h>
#include <spi-mem.h>
#include <dm/device_compat.h>
-#include <asm/global_data.h>
#include <dm/device-internal.h>
#include <dm/uclass-internal.h>
#include <dm/lists.h>
#include <dm/util.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define SPI_DEFAULT_SPEED_HZ 100000
static int spi_set_speed_mode(struct udevice *bus, int speed, int mode)
#include <dm.h>
#include <log.h>
#include <time.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/clock.h>
#include <asm/arch-tegra/clk_rst.h>
#include <linux/delay.h>
#include "tegra_spi.h"
-DECLARE_GLOBAL_DATA_PTR;
-
/* COMMAND1 */
#define QSPI_CMD1_GO BIT(31)
#define QSPI_CMD1_M_S BIT(30)
#include <dm.h>
#include <errno.h>
#include <fdtdec.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <dm/device_compat.h>
#include <spmi/spmi.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* PMIC Arbiter configuration registers */
#define PMIC_ARB_VERSION 0x0000
#define PMIC_ARB_VERSION_V2_MIN 0x20010000
*/
#include <config.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/clock.h>
#include <asm/arch/sys_proto.h>
#include <malloc.h>
#include <thermal.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define SITES_MAX 16
#define FLAGS_VER2 0x1
#define FLAGS_VER3 0x2
#include <clock_legacy.h>
#include <malloc.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <dm.h>
#include <clk.h>
#define OSTM_CTL 0x20
#define OSTM_CTL_D BIT(1)
-DECLARE_GLOBAL_DATA_PTR;
-
struct ostm_priv {
fdt_addr_t regs;
};
#include <dm.h>
#include <init.h>
#include <log.h>
-#include <asm/global_data.h>
#include <dm/ofnode.h>
#include <mapmem.h>
#include <dt-structs.h>
#include <timer.h>
#include <asm/io.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define SP804_TIMERX_LOAD 0x00
#define SP804_TIMERX_VALUE 0x04
#define SP804_TIMERX_CONTROL 0x08
*/
#include <dm.h>
-#include <asm/global_data.h>
#include <linux/printk.h>
#include <linux/usb/otg.h>
#include <linux/usb/ch9.h>
#include <linux/usb/phy.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static const char *const usb_dr_modes[] = {
[USB_DR_MODE_UNKNOWN] = "",
[USB_DR_MODE_HOST] = "host",
#include <hang.h>
#include <log.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include "../gadget/dwc2_udc_otg_priv.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#define BIT_WRITEABLE_SHIFT 16
struct usb2phy_reg {
#include <usb/tcpm.h>
#include "tcpm-internal.h"
-DECLARE_GLOBAL_DATA_PTR;
-
const char * const tcpm_states[] = {
FOREACH_TCPM_STATE(GENERATE_TCPM_STRING)
};
#include <panel.h>
#include <spi.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Register Address */
#define HX8238D_OUTPUT_CTRL_ADDR 0x01
#define HX8238D_LCD_AC_CTRL_ADDR 0x02
#include "ipu_regs.h"
#include "mxcfb.h"
#include <asm/cache.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/mach-imx/video.h>
#include <linux/err.h>
#include <dm/devres.h>
#include <video.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static int mxcfb_map_video_memory(struct fb_info *fbi);
static int mxcfb_unmap_video_memory(struct fb_info *fbi);
#include <linux/compat.h>
#include <linux/err.h>
#include <video.h> /* For struct video_uc_plat */
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/display.h>
#include <asm/arch/display_dev.h>
#include "videomodes.h"
-DECLARE_GLOBAL_DATA_PTR;
-
#if !defined(CONFIG_DM) && !defined(CONFIG_OF_CONTROL)
static struct nx_display_dev *dp_dev;
#endif
#include <panel.h>
#include <regmap.h>
#include <syscon.h>
-#include <asm/global_data.h>
#include <asm/gpio.h>
#include <asm/arch-rockchip/clock.h>
#include <asm/arch-rockchip/grf_rk3288.h>
#include <dt-bindings/clock/rk3288-cru.h>
#include <dt-bindings/video/rk3288.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/**
* struct rk_lvds_priv - private rockchip lvds display driver info
*
#include <log.h>
#include <panel.h>
#include <regmap.h>
-#include <asm/global_data.h>
#include "rk_mipi.h"
#include <syscon.h>
#include <asm/gpio.h>
#include <asm/arch-rockchip/grf_rk3399.h>
#include <asm/arch-rockchip/rockchip_mipi_dsi.h>
-DECLARE_GLOBAL_DATA_PTR;
-
int rk_mipi_read_timing(struct udevice *dev,
struct display_timing *timing)
{
#include <fdtdec.h>
#include <log.h>
#include <video.h>
-#include <asm/global_data.h>
#include <asm/sdl.h>
#include <asm/state.h>
#include <asm/u-boot-sandbox.h>
#include <dm/device-internal.h>
#include <dm/test.h>
-DECLARE_GLOBAL_DATA_PTR;
-
enum {
/* Default LCD size we support */
LCD_MAX_WIDTH = 1366,
#include "tidss_regs.h"
#include "tidss_oldi.h"
-DECLARE_GLOBAL_DATA_PTR;
-
/* Panel parameters */
enum {
LCD_MAX_WIDTH = 1920,
#include <linux/delay.h>
#include <linux/ioport.h>
#include <dm/device_compat.h>
-#include <asm/global_data.h>
#include "zynqmp_dpsub.h"
-DECLARE_GLOBAL_DATA_PTR;
-
/* Maximum supported resolution */
#define WIDTH 1024
#define HEIGHT 768
#include <dm.h>
#include <wdt.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>
#include <asm/arch/soc.h>
#include <dm/device_compat.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct a37xx_wdt {
void __iomem *sel_reg;
void __iomem *reg;
*/
#include <log.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <asm/arch/at91_wdt.h>
#include <div64.h>
#include <errno.h>
#include <wdt.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/*
* AT91SAM9 watchdog runs a 12bit counter @ 256Hz,
* use this to convert a watchdog
#include <dm.h>
#include <wdt.h>
-#include <asm/global_data.h>
#include <linux/bitops.h>
#include <linux/io.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct mt762x_wdt {
void __iomem *regs;
};
#include <clk.h>
#include <log.h>
#include <wdt.h>
-#include <asm/global_data.h>
#include <linux/bitops.h>
#include <linux/kernel.h>
#include <asm/io.h>
#include <asm/arch/cpu.h>
#include <asm/arch/soc.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct orion_wdt_priv {
void __iomem *reg;
int wdt_counter_offset;
* Copyright 2020 NXP
*/
-#include <asm/global_data.h>
#include <asm/io.h>
#include <dm/device.h>
#include <dm/fdtaddr.h>
#include <watchdog.h>
#include <wdt.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* SBSA Generic Watchdog register definitions */
/* refresh frame */
#define SBSA_GWDT_WRR 0x000
#include <sysreset.h>
#include <time.h>
#include <wdt.h>
-#include <asm/global_data.h>
#include <dm/device-internal.h>
#include <dm/lists.h>
#include <linux/kernel.h>
-DECLARE_GLOBAL_DATA_PTR;
-
#define WATCHDOG_TIMEOUT_SECS (CONFIG_WATCHDOG_TIMEOUT_MSECS / 1000)
struct wdt_priv {
#include <ubifs_uboot.h>
#include <btrfs.h>
#include <asm/cache.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include <div64.h>
#include <linux/math64.h>
#include <erofs.h>
#include <exfat.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static struct blk_desc *fs_dev_desc;
static int fs_dev_part;
static struct disk_partition fs_partition;
#include <log.h>
#include <malloc.h>
#include <memalign.h>
-#include <asm/global_data.h>
#include "ubifs.h"
#include <part.h>
#include <dm/devres.h>
#include <abuf.h>
#endif
-DECLARE_GLOBAL_DATA_PTR;
-
/* compress.c */
/*
#define _RELOCATE_H_
#ifndef USE_HOSTCC
-#include <asm/global_data.h>
-DECLARE_GLOBAL_DATA_PTR;
#endif
/**
#include <mapmem.h>
#include <sort.h>
#include <sysreset.h>
-#include <asm/global_data.h>
#include <u-boot/uuid.h>
#include <asm/sections.h>
#include <crypto/pkcs7_parser.h>
#include <linux/err.h>
-DECLARE_GLOBAL_DATA_PTR;
-
const efi_guid_t efi_guid_capsule_report = EFI_CAPSULE_REPORT_GUID;
static const efi_guid_t efi_guid_firmware_management_capsule_id =
EFI_FIRMWARE_MANAGEMENT_CAPSULE_ID_GUID;
#include <malloc.h>
#include <mapmem.h>
#include <video.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
static const efi_guid_t efi_gop_guid = EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID;
#include <efi_rng.h>
#include <log.h>
#include <rng.h>
-#include <asm/global_data.h>
-
-DECLARE_GLOBAL_DATA_PTR;
const efi_guid_t efi_guid_rng_protocol = EFI_RNG_PROTOCOL_GUID;
#include <log.h>
#include <net.h>
#include <nvmem.h>
-#include <asm/global_data.h>
#include <dm/device-internal.h>
#include <dm/uclass-internal.h>
#include <net/pcap.h>
#include "eth_internal.h"
#include <eth_phy.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/**
* struct eth_device_priv - private structure for each Ethernet device
*
#include <mapmem.h>
#include <net.h>
#include <net6.h>
-#include <asm/global_data.h>
#include <net/tftp.h>
#include "bootp.h"
-DECLARE_GLOBAL_DATA_PTR;
-
/*
* We cannot use the 'tftpput' command in xPL phases. Given how the
* support is integrated in the code, this is how we disable that support
* Copyright Duncan Hare <dh@synoia.com> 2017
*/
-#include <asm/global_data.h>
#include <command.h>
#include <display_options.h>
#include <env.h>
#include <net/wget.h>
#include <stdlib.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* The default, change with environment variable 'httpdstp' */
#define SERVER_PORT 80
#include <console.h>
#include <mapmem.h>
-#include <asm/global_data.h>
#include <test/ut.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Declare a new exit test */
#define EXIT_TEST(_name, _flags) UNIT_TEST(_name, _flags, exit)
*/
#include <command.h>
-#include <asm/global_data.h>
#include <display_options.h>
#include <test/lib.h>
#include <test/test.h>
#include <test/ut.h>
-DECLARE_GLOBAL_DATA_PTR;
-
struct test_data {
char *cmd;
char *expected;
* Copyright 2022, Samuel Dionne-Riel <samuel@dionne-riel.com>
*/
-#include <asm/global_data.h>
#include <test/lib.h>
#include <test/ut.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static int lib_test_hush_pause(struct unit_test_state *uts)
{
/* Test default message */
#include <part.h>
#include <sandbox_host.h>
#include <usb.h>
-#include <asm/global_data.h>
#include <asm/state.h>
#include <dm/test.h>
#include <test/test.h>
#include <test/ut.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Test that block devices can be created */
static int dm_test_blk_base(struct unit_test_state *uts)
{
#include <dm/test.h>
#include <test/ut.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Basic test of the i3c uclass */
static int dm_test_i3c_base(struct unit_test_state *uts)
{
#include <command.h>
#include <display_options.h>
-#include <asm/global_data.h>
#include <test/lib.h>
#include <test/test.h>
#include <test/ut.h>
-DECLARE_GLOBAL_DATA_PTR;
-
static int test_print_freq(struct unit_test_state *uts,
uint64_t freq, char *expected)
{
#include <console.h>
#include <log.h>
#include <vsprintf.h>
-#include <asm/global_data.h>
#include <test/log.h>
#include <test/ut.h>
-DECLARE_GLOBAL_DATA_PTR;
-
/* Test invalid options */
static int log_test_filter_invalid(struct unit_test_state *uts)
{