common: Drop linux/stringify.h from common header

Move this uncommon header out of the common header.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2020-05-10 11:40:09 -06:00 committed by Tom Rini
parent eb41d8a1be
commit 1af3c7f422
114 changed files with 171 additions and 1 deletions

View file

@ -4,6 +4,7 @@
*/
#include <linux/stddef.h>
#include <linux/stringify.h>
#ifdef CONFIG_CLK_DEBUG
#undef writel

View file

@ -4,6 +4,7 @@
*/
#include <linux/stddef.h>
#include <linux/stringify.h>
#ifdef CONFIG_CLK_DEBUG
#undef writel

View file

@ -19,6 +19,7 @@
#include <mmc.h>
#include <version.h>
#include <asm/io.h>
#include <linux/stringify.h>
static ulong fwenv_addr[MAX_FWENV_ADDR];
const char mystrerr[] = "ERROR: Failed to save factory info";

View file

@ -15,6 +15,7 @@
#include <net.h>
#include <spi.h>
#include <spi_flash.h>
#include <linux/stringify.h>
#include <u-boot/crc.h>
#include <uuid.h>
#include <linux/ctype.h>

View file

@ -10,6 +10,7 @@
#include <command.h>
#include <i2c.h>
#include <malloc.h>
#include <linux/stringify.h>
#include "ch7301.h"
#include "dp501.h"

View file

@ -14,6 +14,7 @@
#include <net.h>
#include <usb.h>
#include <watchdog.h>
#include <linux/stringify.h>
static int do_fastboot_udp(int argc, char *const argv[],
uintptr_t buf_addr, size_t buf_size)

View file

@ -17,6 +17,7 @@
#include <dm/lists.h>
#include <dt-bindings/clock/rk3036-cru.h>
#include <linux/log2.h>
#include <linux/stringify.h>
enum {
VCO_MAX_HZ = 2400U * 1000000,

View file

@ -24,6 +24,7 @@
#include <dm/uclass-internal.h>
#include <linux/err.h>
#include <linux/log2.h>
#include <linux/stringify.h>
enum rk3188_clk_type {
RK3188_CRU,

View file

@ -17,6 +17,7 @@
#include <dm/lists.h>
#include <dt-bindings/clock/rk3228-cru.h>
#include <linux/log2.h>
#include <linux/stringify.h>
enum {
VCO_MAX_HZ = 3200U * 1000000,

View file

@ -25,6 +25,7 @@
#include <dm/uclass-internal.h>
#include <linux/err.h>
#include <linux/log2.h>
#include <linux/stringify.h>
DECLARE_GLOBAL_DATA_PTR;

View file

@ -21,6 +21,7 @@
#include <asm/io.h>
#include <dm/lists.h>
#include <dt-bindings/clock/rk3368-cru.h>
#include <linux/stringify.h>
#if CONFIG_IS_ENABLED(OF_PLATDATA)
struct rk3368_clk_plat {

View file

@ -18,6 +18,7 @@
#include <asm/arch-rockchip/hardware.h>
#include <dm/lists.h>
#include <dt-bindings/clock/rv1108-cru.h>
#include <linux/stringify.h>
DECLARE_GLOBAL_DATA_PTR;

View file

@ -38,6 +38,7 @@
#include <linux/err.h>
#include "ubifs.h"
#include <ubi_uboot.h>
#include <linux/stringify.h>
#include <mtd/ubi-user.h>
struct dentry;

View file

@ -21,7 +21,6 @@
#include <linux/types.h>
#include <linux/printk.h>
#include <linux/string.h>
#include <linux/stringify.h>
#include <stdarg.h>
#include <stdio.h>
#include <linux/kernel.h>

View file

@ -6,6 +6,8 @@
#ifndef __CONFIG_FSL_CHAIN_TRUST_H
#define __CONFIG_FSL_CHAIN_TRUST_H
#include <linux/stringify.h>
#ifdef CONFIG_CHAIN_OF_TRUST
#ifndef CONFIG_EXTRA_ENV

View file

@ -6,6 +6,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/*
* B4860 QDS board configuration file
*/

View file

@ -10,6 +10,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#ifdef CONFIG_SPIFLASH
#define CONFIG_RAMBOOT_SPIFLASH
#define CONFIG_RESET_VECTOR_ADDRESS 0x110bfffc

View file

@ -13,6 +13,8 @@
#ifndef _M52277EVB_H
#define _M52277EVB_H
#include <linux/stringify.h>
/*
* High Level Configuration Options
* (easy to change)

View file

@ -6,6 +6,8 @@
#ifndef _M5253DEMO_H
#define _M5253DEMO_H
#include <linux/stringify.h>
#define CONFIG_MCFTMR
#define CONFIG_MCFUART

View file

@ -13,6 +13,8 @@
#ifndef _M5373EVB_H
#define _M5373EVB_H
#include <linux/stringify.h>
/*
* High Level Configuration Options
* (easy to change)

View file

@ -13,6 +13,8 @@
#ifndef _M54418TWR_H
#define _M54418TWR_H
#include <linux/stringify.h>
/*
* High Level Configuration Options
* (easy to change)

View file

@ -13,6 +13,8 @@
#ifndef _M54451EVB_H
#define _M54451EVB_H
#include <linux/stringify.h>
/*
* High Level Configuration Options
* (easy to change)

View file

@ -13,6 +13,8 @@
#ifndef _M54455EVB_H
#define _M54455EVB_H
#include <linux/stringify.h>
/*
* High Level Configuration Options
* (easy to change)

View file

@ -8,6 +8,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/*
* High Level Configuration Options
*/

View file

@ -9,6 +9,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/*
* High Level Configuration Options
*/

View file

@ -18,6 +18,7 @@
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE /* start of monitor */
#endif
#include <linux/stringify.h>
#define CONFIG_PCI_INDIRECT_BRIDGE
/*

View file

@ -9,6 +9,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/*
* High Level Configuration Options
*/

View file

@ -52,6 +52,7 @@
#define CONFIG_SYS_USB_HOST /* use the EHCI USB controller */
#endif
#include <linux/stringify.h>
#define CONFIG_RTC_DS1337
#define CONFIG_SYS_I2C

View file

@ -8,6 +8,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/*
* High Level Configuration Options
*/

View file

@ -10,6 +10,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#include "../board/freescale/common/ics307_clk.h"
#ifdef CONFIG_SDCARD

View file

@ -22,6 +22,7 @@
#define CONFIG_INTERRUPTS /* enable pci, srio, ddr interrupts */
#ifndef __ASSEMBLY__
#include <linux/stringify.h>
extern unsigned long get_board_sys_clk(unsigned long dummy);
#endif
#define CONFIG_SYS_CLK_FREQ get_board_sys_clk(0) /* sysclk for MPC85xx */

View file

@ -27,6 +27,7 @@
#define CONFIG_FSL_VIA
#ifndef __ASSEMBLY__
#include <linux/stringify.h>
extern unsigned long get_clock_freq(void);
#endif
#define CONFIG_SYS_CLK_FREQ get_clock_freq() /* sysclk for MPC85xx */

View file

@ -10,6 +10,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#include "../board/freescale/common/ics307_clk.h"
#ifndef CONFIG_RESET_VECTOR_ADDRESS

View file

@ -10,6 +10,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/* High Level Configuration Options */
#define CONFIG_LINUX_RESET_VEC 0x100 /* Reset vector used by Linux */

View file

@ -15,6 +15,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/* High Level Configuration Options */
#define CONFIG_LINUX_RESET_VEC 0x100 /* Reset vector used by Linux */
#define CONFIG_ADDR_MAP 1 /* Use addr map */

View file

@ -11,6 +11,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#include <asm/config_mpc85xx.h>
#define CONFIG_NAND_FSL_IFC

View file

@ -8,6 +8,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#include "../board/freescale/common/ics307_clk.h"
#ifdef CONFIG_SDCARD

View file

@ -9,6 +9,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#ifndef CONFIG_SYS_MONITOR_BASE
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE /* start of monitor */
#endif

View file

@ -56,6 +56,7 @@
#ifndef __ASSEMBLY__
unsigned long get_board_sys_clk(unsigned long dummy);
#include <linux/stringify.h>
#endif
#define CONFIG_SYS_CLK_FREQ get_board_sys_clk(0)

View file

@ -11,6 +11,8 @@
#ifndef __T1024QDS_H
#define __T1024QDS_H
#include <linux/stringify.h>
/* High Level Configuration Options */
#define CONFIG_SYS_BOOK3E_HV /* Category E.HV supported */
#define CONFIG_ENABLE_36BIT_PHYS

View file

@ -11,6 +11,8 @@
#ifndef __T1024RDB_H
#define __T1024RDB_H
#include <linux/stringify.h>
/* High Level Configuration Options */
#define CONFIG_SYS_BOOK3E_HV /* Category E.HV supported */
#define CONFIG_ENABLE_36BIT_PHYS

View file

@ -24,6 +24,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/*
* T1040 QDS board configuration file
*/

View file

@ -7,6 +7,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/*
* T104x RDB board configuration file
*/

View file

@ -11,6 +11,8 @@
#ifndef __T208xQDS_H
#define __T208xQDS_H
#include <linux/stringify.h>
#define CONFIG_ICS307_REFCLK_HZ 25000000 /* ICS307 ref clk freq */
#if defined(CONFIG_ARCH_T2080)
#define CONFIG_FSL_SATA_V2

View file

@ -11,6 +11,8 @@
#ifndef __T2080RDB_H
#define __T2080RDB_H
#include <linux/stringify.h>
#define CONFIG_ICS307_REFCLK_HZ 25000000 /* ICS307 ref clk freq */
#define CONFIG_FSL_SATA_V2

View file

@ -9,6 +9,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#define CONFIG_FSL_SATA_V2
#define CONFIG_PCIE4

View file

@ -10,6 +10,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#define CONFIG_FSL_SATA_V2
#define CONFIG_PCIE4

View file

@ -13,6 +13,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/*** Arcturus FirmWare Environment */
#define MAX_SERIAL_SIZE 15

View file

@ -8,6 +8,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#include "mx6_common.h"
#undef CONFIG_DISPLAY_BOARDINFO

View file

@ -9,6 +9,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#define CONFIG_ENV_VERSION 10
#define CONFIG_BOARD_NAME apf27

View file

@ -10,6 +10,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/*
* SoC must be defined first, before hardware.h is included.
* In this case SoC is defined in boards.cfg.
@ -178,6 +180,7 @@
AT91_WDT_MR_WDD(0xfff))
#endif
#include <linux/stringify.h>
#endif
/* NAND flash */

View file

@ -15,6 +15,7 @@
#ifndef __ASSEMBLY__
#include <linux/stringify.h>
#include <linux/types.h>
struct bcmstb_boot_parameters {

View file

@ -13,6 +13,7 @@
#include <configs/bur_cfg_common.h>
#include <configs/bur_am335x_common.h>
#include <linux/stringify.h>
/* ------------------------------------------------------------------------- */
/* memory */
#define CONFIG_SYS_MALLOC_LEN (5 * 1024 * 1024)

View file

@ -14,6 +14,7 @@
#include <configs/bur_cfg_common.h>
#include <configs/bur_am335x_common.h>
#include <linux/stringify.h>
/* ------------------------------------------------------------------------- */
#define CONFIG_BOARD_TYPES

View file

@ -13,6 +13,7 @@
#include <configs/bur_cfg_common.h>
#include <configs/bur_am335x_common.h>
#include <linux/stringify.h>
/* ------------------------------------------------------------------------- */
#if !defined(CONFIG_AM335X_LCD)
#define CONFIG_AM335X_LCD

View file

@ -12,6 +12,8 @@
#ifndef __CONFIG_CGTQMX6EVAL_H
#define __CONFIG_CGTQMX6EVAL_H
#include <linux/stringify.h>
#include "mx6_common.h"
#define CONFIG_MACH_TYPE 4122

View file

@ -6,6 +6,8 @@
#ifndef _CONFIG_CLEARFOG_H
#define _CONFIG_CLEARFOG_H
#include <linux/stringify.h>
/*
* High Level Configuration Options (easy to change)
*/

View file

@ -8,6 +8,7 @@
#include <asm/arch/imx-regs.h>
#include <linux/sizes.h>
#include <linux/stringify.h>
#define CONFIG_REMAKE_ELF

View file

@ -8,6 +8,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#include "mx6_common.h"
#undef CONFIG_DISPLAY_BOARDINFO

View file

@ -26,6 +26,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#ifdef CONFIG_SDCARD
#define CONFIG_RAMBOOT_SDCARD
#endif

View file

@ -10,6 +10,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#include "../board/freescale/common/ics307_clk.h"
#ifdef CONFIG_RAMBOOT_PBL

View file

@ -6,6 +6,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#if !defined(CONFIG_ARCH_P5020) && !defined(CONFIG_ARCH_P5040)
#error Must call Cyrus CONFIG with a specific CPU enabled.
#endif

View file

@ -7,6 +7,7 @@
#define __DART_6UL_H
#include <linux/sizes.h>
#include <linux/stringify.h>
#include "mx6_common.h"
/* SPL options */

View file

@ -8,6 +8,8 @@
#ifndef __EL6Q_COMMON_CONFIG_H
#define __EL6Q_COMMON_CONFIG_H
#include <linux/stringify.h>
#define CONFIG_BOARD_NAME EL6Q
#include "mx6_common.h"

View file

@ -14,6 +14,7 @@
#include <asm/arch/cpu.h> /* get chip and board defs */
#include <linux/sizes.h>
#include <linux/stringify.h>
#define CONFIG_SKIP_LOWLEVEL_INIT

View file

@ -7,6 +7,7 @@
#define _CONFIG_HELIOS4_H
#include <linux/sizes.h>
#include <linux/stringify.h>
/*
* High Level Configuration Options (easy to change)

View file

@ -8,6 +8,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/*
* High Level Configuration Options
*/

View file

@ -11,6 +11,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/*
* High Level Configuration Options
*/

View file

@ -10,6 +10,7 @@
#define __IMX6_ENGICAM_CONFIG_H
#include <linux/sizes.h>
#include <linux/stringify.h>
#include "mx6_common.h"
/* Size of malloc() pool */

View file

@ -7,6 +7,7 @@
#define __IMX8MM_EVK_H
#include <linux/sizes.h>
#include <linux/stringify.h>
#include <asm/arch/imx-regs.h>
#ifdef CONFIG_SECURE_BOOT

View file

@ -7,6 +7,7 @@
#define __IMX8MN_EVK_H
#include <linux/sizes.h>
#include <linux/stringify.h>
#include <asm/arch/imx-regs.h>
#ifdef CONFIG_SECURE_BOOT

View file

@ -7,6 +7,7 @@
#define __IMX8MP_EVK_H
#include <linux/sizes.h>
#include <linux/stringify.h>
#include <asm/arch/imx-regs.h>
#ifdef CONFIG_SECURE_BOOT

View file

@ -7,6 +7,7 @@
#define __IMX8M_EVK_H
#include <linux/sizes.h>
#include <linux/stringify.h>
#include <asm/arch/imx-regs.h>
#define CONFIG_SPL_MAX_SIZE (124 * 1024)

View file

@ -7,6 +7,7 @@
#define __IMX8QM_MEK_H
#include <linux/sizes.h>
#include <linux/stringify.h>
#include <asm/arch/imx-regs.h>
#ifdef CONFIG_SPL_BUILD

View file

@ -7,6 +7,7 @@
#define __IMX8QM_ROM7720_H
#include <linux/sizes.h>
#include <linux/stringify.h>
#include <asm/arch/imx-regs.h>
#define CONFIG_REMAKE_ELF
@ -173,4 +174,5 @@
#define CONFIG_FEC_XCV_TYPE RGMII
#define FEC_QUIRK_ENET_MAC
#include <linux/stringify.h>
#endif /* __IMX8QM_ROM7720_H */

View file

@ -7,6 +7,7 @@
#define __IMX8QXP_MEK_H
#include <linux/sizes.h>
#include <linux/stringify.h>
#include <asm/arch/imx-regs.h>
#ifdef CONFIG_SPL_BUILD

View file

@ -7,6 +7,8 @@
#ifndef __CONFIG_KEYMILE_H
#define __CONFIG_KEYMILE_H
#include <linux/stringify.h>
/*
* Miscellaneous configurable options
*/

View file

@ -1,6 +1,7 @@
/*
* Internal Definitions
*/
#include <linux/stringify.h>
#define BOOTFLASH_START 0xF0000000
/*

View file

@ -104,6 +104,7 @@
#ifndef __ASSEMBLY__
#include <asm/arch/gpio.h>
#include <linux/stringify.h>
extern void __set_direction(unsigned pin, int high);
void set_sda(int state);
void set_scl(int state);

View file

@ -10,6 +10,7 @@
#include <asm/arch/imx-regs.h>
#include <linux/sizes.h>
#include <linux/stringify.h>
#include "mx6_common.h"
/* SPL options */

View file

@ -8,6 +8,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/*
* High Level Configuration Options
*/

View file

@ -16,6 +16,8 @@
#ifndef _MV_COMMON_H
#define _MV_COMMON_H
#include <linux/stringify.h>
/*
* High Level Configuration Options (easy to change)
*/

View file

@ -6,6 +6,8 @@
#ifndef __MX6_COMMON_H
#define __MX6_COMMON_H
#include <linux/stringify.h>
#if (defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL))
#define CONFIG_SC_TIMER_CLK 8000000 /* 8Mhz */
#define COUNTER_FREQUENCY CONFIG_SC_TIMER_CLK

View file

@ -7,6 +7,8 @@
#ifndef __MX6CUBOXI_CONFIG_H
#define __MX6CUBOXI_CONFIG_H
#include <linux/stringify.h>
#include "mx6_common.h"
#include "imx6_spl.h"

View file

@ -8,6 +8,8 @@
#ifndef __MX6QSABRE_COMMON_CONFIG_H
#define __MX6QSABRE_COMMON_CONFIG_H
#include <linux/stringify.h>
#include "mx6_common.h"
#define CONFIG_IMX_THERMAL

View file

@ -135,4 +135,5 @@
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
#endif
#include <linux/stringify.h>
#endif /* __CONFIG_H */

View file

@ -8,6 +8,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#include "mx6_common.h"
#ifdef CONFIG_SPL

View file

@ -9,6 +9,7 @@
#include <asm/arch/imx-regs.h>
#include <linux/sizes.h>
#include <linux/stringify.h>
#include "mx6_common.h"
#include <asm/mach-imx/gpio.h>

View file

@ -10,6 +10,7 @@
#include <asm/arch/imx-regs.h>
#include <linux/sizes.h>
#include <linux/stringify.h>
#include "mx6_common.h"
#include <asm/mach-imx/gpio.h>

View file

@ -9,6 +9,7 @@
#define __MX7_COMMON_H
#include <linux/sizes.h>
#include <linux/stringify.h>
#include <asm/arch/imx-regs.h>
#include <asm/mach-imx/gpio.h>

View file

@ -113,6 +113,7 @@
DISTRO_BOOT_DEV_DHCP(func)
#include <config_distro_bootcmd.h>
#include <linux/stringify.h>
#define CONFIG_EXTRA_ENV_SETTINGS \
"console=ttymxc1\0" \

View file

@ -10,6 +10,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#if defined(CONFIG_TARGET_P1020MBG)
#define CONFIG_BOARDNAME "P1020MBG-PC"
#define CONFIG_VSC7385_ENET

View file

@ -9,6 +9,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
#if defined(CONFIG_TWR_P1025)
#define CONFIG_BOARDNAME "TWR-P1025"
#define CONFIG_SYS_LBC_LBCR 0x00080000 /* Conversion of LBC addr */

View file

@ -10,6 +10,7 @@
#define __PCL063_ULL_H
#include <linux/sizes.h>
#include <linux/stringify.h>
#include "mx6_common.h"
/* SPL options */

View file

@ -10,6 +10,7 @@
#include <asm/arch/imx-regs.h>
#include <linux/sizes.h>
#include <linux/stringify.h>
#define CONFIG_SKIP_LOWLEVEL_INIT

View file

@ -111,6 +111,7 @@
func(DHCP, dhcp, na)
#include <config_distro_bootcmd.h>
#include <linux/stringify.h>
#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
#define CONFIG_SYS_HZ 1000

View file

@ -108,6 +108,7 @@
func(DHCP, dhcp, na)
#include <config_distro_bootcmd.h>
#include <linux/stringify.h>
#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
#define CONFIG_SYS_HZ 1000

View file

@ -144,6 +144,7 @@
"run distro_bootcmd"
#include <config_distro_bootcmd.h>
#include <linux/stringify.h>
/* Miscellaneous configurable options */
#define CONFIG_SYS_PROMPT "=> "

View file

@ -12,6 +12,8 @@
#ifndef __CONFIG_H
#define __CONFIG_H
#include <linux/stringify.h>
/*
* Top level Makefile configuration choices
*/

View file

@ -7,6 +7,7 @@
#define __CONFIG_SOCFPGA_SECU1_H__
#include <asm/arch/base_addr_ac5.h>
#include <linux/stringify.h>
/* Call misc_init_r */
#define CONFIG_MISC_INIT_R

Some files were not shown because too many files have changed in this diff Show more