common: Drop linux/printk.h from common header

This old patch was marked as deferred. Bring it back to life, to continue
towards the removal of common.h

Move this out of the common header and include it only where needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2023-09-14 18:21:46 -06:00 committed by Tom Rini
parent b05a184379
commit 1e94b46f73
312 changed files with 317 additions and 3 deletions

View file

@ -9,6 +9,7 @@
#include <asm/gic-v3.h> #include <asm/gic-v3.h>
#include <asm/io.h> #include <asm/io.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/printk.h>
#include <linux/sizes.h> #include <linux/sizes.h>
static u32 lpi_id_bits; static u32 lpi_id_bits;

View file

@ -11,6 +11,7 @@
#include <dm/ofnode.h> #include <dm/ofnode.h>
#include <fdt_support.h> #include <fdt_support.h>
#include <linux/libfdt.h> #include <linux/libfdt.h>
#include <linux/printk.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -13,6 +13,7 @@
#include <log.h> #include <log.h>
#include <spl.h> #include <spl.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <linux/printk.h>
#include "common.h" #include "common.h"
#include <dm.h> #include <dm.h>
#include <remoteproc.h> #include <remoteproc.h>

View file

@ -15,6 +15,7 @@
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/armv8/mmu.h> #include <asm/armv8/mmu.h>
#include <linux/printk.h>
#include <linux/sizes.h> #include <linux/sizes.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -42,6 +42,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include <linux/printk.h>
#include <linux/usb/ch9.h> #include <linux/usb/ch9.h>
#include <linux/usb/gadget.h> #include <linux/usb/gadget.h>
#include <linux/usb/musb.h> #include <linux/usb/musb.h>

View file

@ -9,6 +9,7 @@
#include <asm/setup.h> #include <asm/setup.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>
#include <asm/omap_common.h> #include <asm/omap_common.h>
#include <linux/printk.h>
static void do_cancel_out(u32 *num, u32 *den, u32 factor) static void do_cancel_out(u32 *num, u32 *den, u32 factor)
{ {

View file

@ -12,6 +12,7 @@
#include <asm/arch-rockchip/boot_mode.h> #include <asm/arch-rockchip/boot_mode.h>
#include <dm/device.h> #include <dm/device.h>
#include <dm/uclass.h> #include <dm/uclass.h>
#include <linux/printk.h>
#if (CONFIG_ROCKCHIP_BOOT_MODE_REG == 0) #if (CONFIG_ROCKCHIP_BOOT_MODE_REG == 0)

View file

@ -17,6 +17,7 @@
#include <asm/arch-rockchip/hardware.h> #include <asm/arch-rockchip/hardware.h>
#include <dm/ofnode.h> #include <dm/ofnode.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/printk.h>
#define GRF_BASE 0x20008000 #define GRF_BASE 0x20008000

View file

@ -20,6 +20,7 @@
#include <asm/arch-rockchip/grf_rk3399.h> #include <asm/arch-rockchip/grf_rk3399.h>
#include <asm/arch-rockchip/hardware.h> #include <asm/arch-rockchip/hardware.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/printk.h>
#include <power/regulator.h> #include <power/regulator.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -25,6 +25,7 @@
#include <asm/arch/nic301.h> #include <asm/arch/nic301.h>
#include <asm/arch/scu.h> #include <asm/arch/scu.h>
#include <asm/pl310.h> #include <asm/pl310.h>
#include <linux/printk.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -18,6 +18,7 @@
#include <dm/device_compat.h> #include <dm/device_compat.h>
#include <linux/arm-smccc.h> #include <linux/arm-smccc.h>
#include <linux/iopoll.h> #include <linux/iopoll.h>
#include <linux/printk.h>
#define BSEC_OTP_MAX_VALUE 95 #define BSEC_OTP_MAX_VALUE 95
#define BSEC_OTP_UPPER_START 32 #define BSEC_OTP_UPPER_START 32

View file

@ -11,6 +11,7 @@
#include <asm/arch/bsec.h> #include <asm/arch/bsec.h>
#include <dm/device.h> #include <dm/device.h>
#include <dm/uclass.h> #include <dm/uclass.h>
#include <linux/printk.h>
/* /*
* Closed device: OTP0 * Closed device: OTP0

View file

@ -8,6 +8,7 @@
#include <dfu.h> #include <dfu.h>
#include <image.h> #include <image.h>
#include <asm/arch/stm32prog.h> #include <asm/arch/stm32prog.h>
#include <linux/printk.h>
#include "stm32prog.h" #include "stm32prog.h"
struct stm32prog_data *stm32prog_data; struct stm32prog_data *stm32prog_data;

View file

@ -20,6 +20,7 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/list_sort.h> #include <linux/list_sort.h>
#include <linux/mtd/mtd.h> #include <linux/mtd/mtd.h>
#include <linux/printk.h>
#include <linux/sizes.h> #include <linux/sizes.h>
#include "stm32prog.h" #include "stm32prog.h"

View file

@ -6,6 +6,8 @@
#ifndef _STM32PROG_H_ #ifndef _STM32PROG_H_
#define _STM32PROG_H_ #define _STM32PROG_H_
#include <linux/printk.h>
/* - phase defines ------------------------------------------------*/ /* - phase defines ------------------------------------------------*/
#define PHASE_FLASHLAYOUT 0x00 #define PHASE_FLASHLAYOUT 0x00
#define PHASE_FIRST_USER 0x10 #define PHASE_FIRST_USER 0x10

View file

@ -14,6 +14,7 @@
#include <dm/lists.h> #include <dm/lists.h>
#include <dm/device-internal.h> #include <dm/device-internal.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include "stm32prog.h" #include "stm32prog.h"

View file

@ -9,6 +9,7 @@
#include <usb.h> #include <usb.h>
#include <asm/arch/stm32prog.h> #include <asm/arch/stm32prog.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>
#include <linux/printk.h>
#include "stm32prog.h" #include "stm32prog.h"
static int stm32prog_set_phase(struct stm32prog_data *data, u8 phase, static int stm32prog_set_phase(struct stm32prog_data *data, u8 phase,

View file

@ -15,6 +15,7 @@
#include <lmb.h> #include <lmb.h>
#include <misc.h> #include <misc.h>
#include <net.h> #include <net.h>
#include <spl.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch/stm32.h> #include <asm/arch/stm32.h>
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>
@ -22,7 +23,7 @@
#include <dm/device.h> #include <dm/device.h>
#include <dm/uclass.h> #include <dm/uclass.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <spl.h> #include <linux/printk.h>
/* /*
* early TLB into the .data section so that it not get cleared * early TLB into the .data section so that it not get cleared

View file

@ -7,6 +7,7 @@
#define __STM32MP1_SMC_H__ #define __STM32MP1_SMC_H__
#include <linux/arm-smccc.h> #include <linux/arm-smccc.h>
#include <linux/printk.h>
/* /*
* SMC function IDs for STM32 Service queries * SMC function IDs for STM32 Service queries

View file

@ -15,6 +15,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <linux/printk.h>
#include <linux/ctype.h> #include <linux/ctype.h>
#include <linux/sizes.h> #include <linux/sizes.h>

View file

@ -8,6 +8,7 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/arch-tegra/ivc.h> #include <asm/arch-tegra/ivc.h>
#include <linux/bug.h> #include <linux/bug.h>
#include <linux/printk.h>
#define TEGRA_IVC_ALIGN 64 #define TEGRA_IVC_ALIGN 64

View file

@ -11,6 +11,7 @@
#include <dm/of_access.h> #include <dm/of_access.h>
#include <dm/ofnode.h> #include <dm/ofnode.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include "../xusb-padctl-common.h" #include "../xusb-padctl-common.h"

View file

@ -19,6 +19,7 @@
#include <div64.h> #include <div64.h>
#include <fdtdec.h> #include <fdtdec.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
#include <dt-bindings/clock/tegra20-car.h> #include <dt-bindings/clock/tegra20-car.h>

View file

@ -12,6 +12,7 @@
#include <dm/of_access.h> #include <dm/of_access.h>
#include <dm/ofnode.h> #include <dm/ofnode.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
#include "../xusb-padctl-common.h" #include "../xusb-padctl-common.h"

View file

@ -18,6 +18,7 @@
#include <div64.h> #include <div64.h>
#include <fdtdec.h> #include <fdtdec.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
#include <dt-bindings/clock/tegra30-car.h> #include <dt-bindings/clock/tegra30-car.h>

View file

@ -8,6 +8,7 @@
#include <common.h> #include <common.h>
#include <errno.h> #include <errno.h>
#include <log.h> #include <log.h>
#include <linux/printk.h>
#include "xusb-padctl-common.h" #include "xusb-padctl-common.h"

View file

@ -12,6 +12,7 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/log2.h> #include <linux/log2.h>
#include <linux/printk.h>
#include "../init.h" #include "../init.h"
#include "../sg-regs.h" #include "../sg-regs.h"

View file

@ -7,6 +7,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/printk.h>
#include "../init.h" #include "../init.h"
#include "../sc-regs.h" #include "../sc-regs.h"

View file

@ -7,6 +7,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/printk.h>
#include "../init.h" #include "../init.h"
#include "../sc-regs.h" #include "../sc-regs.h"

View file

@ -7,6 +7,7 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/printk.h>
#include <linux/sizes.h> #include <linux/sizes.h>
#include <asm/processor.h> #include <asm/processor.h>

View file

@ -7,6 +7,7 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/printk.h>
#include <linux/sizes.h> #include <linux/sizes.h>
#include <asm/processor.h> #include <asm/processor.h>

View file

@ -7,6 +7,7 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/printk.h>
#include <linux/sizes.h> #include <linux/sizes.h>
#include <asm/processor.h> #include <asm/processor.h>

View file

@ -7,6 +7,7 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/printk.h>
#include <linux/sizes.h> #include <linux/sizes.h>
#include "sg-regs.h" #include "sg-regs.h"

View file

@ -7,6 +7,7 @@
#include <debug_uart.h> #include <debug_uart.h>
#include <hang.h> #include <hang.h>
#include <spl.h> #include <spl.h>
#include <linux/printk.h>
#include "init.h" #include "init.h"
#include "micro-support-card.h" #include "micro-support-card.h"

View file

@ -10,6 +10,7 @@
#include <asm/barrier.h> #include <asm/barrier.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/smp.h> #include <asm/smp.h>
#include <linux/printk.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -13,6 +13,7 @@
#include <asm/cpu.h> #include <asm/cpu.h>
#include <asm/scu.h> #include <asm/scu.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/printk.h>
#define BUFCFG_OFFSET 0x100 #define BUFCFG_OFFSET 0x100

View file

@ -9,6 +9,7 @@
#include <asm/e820.h> #include <asm/e820.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <asm/sfi.h> #include <asm/sfi.h>
#include <linux/printk.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -34,6 +34,7 @@
#include <phy.h> #include <phy.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
#include <power/regulator.h> #include <power/regulator.h>
#include <remoteproc.h> #include <remoteproc.h>
#include <reset.h> #include <reset.h>

View file

@ -8,6 +8,7 @@
#include <init.h> #include <init.h>
#include <log.h> #include <log.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <linux/printk.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -16,6 +16,7 @@
#include <wait_bit.h> #include <wait_bit.h>
#include <miiphy.h> #include <miiphy.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/printk.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -7,6 +7,7 @@
#include <common.h> #include <common.h>
#include <dm.h> #include <dm.h>
#include <log.h> #include <log.h>
#include <linux/printk.h>
#include <power/as3722.h> #include <power/as3722.h>
#include <power/pmic.h> #include <power/pmic.h>

View file

@ -12,6 +12,7 @@
#include <asm/arch-rockchip/grf_rk3399.h> #include <asm/arch-rockchip/grf_rk3399.h>
#include <asm/arch-rockchip/hardware.h> #include <asm/arch-rockchip/hardware.h>
#include <asm/arch-rockchip/misc.h> #include <asm/arch-rockchip/misc.h>
#include <linux/printk.h>
#include <power/regulator.h> #include <power/regulator.h>
#define GRF_IO_VSEL_BT565_SHIFT 0 #define GRF_IO_VSEL_BT565_SHIFT 0

View file

@ -26,6 +26,7 @@
#include <asm/arch/pinmux.h> #include <asm/arch/pinmux.h>
#include <asm/arch/power.h> #include <asm/arch/power.h>
#include <asm/arch/sromc.h> #include <asm/arch/sromc.h>
#include <linux/printk.h>
#include <power/pmic.h> #include <power/pmic.h>
#include <power/max77686_pmic.h> #include <power/max77686_pmic.h>
#include <power/regulator.h> #include <power/regulator.h>

View file

@ -10,6 +10,7 @@
#include <libtizen.h> #include <libtizen.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
#include <samsung/misc.h> #include <samsung/misc.h>
#include <errno.h> #include <errno.h>
#include <version.h> #include <version.h>

View file

@ -13,6 +13,7 @@
#include <asm/arch/mmc.h> #include <asm/arch/mmc.h>
#include <dm.h> #include <dm.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
#include <power/pmic.h> #include <power/pmic.h>
#include <usb/dwc2_udc.h> #include <usb/dwc2_udc.h>
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>

View file

@ -15,6 +15,7 @@
#include <asm/arch/cpu.h> #include <asm/arch/cpu.h>
#include <dm.h> #include <dm.h>
#include <env.h> #include <env.h>
#include <linux/printk.h>
#include <power/pmic.h> #include <power/pmic.h>
#include <power/regulator.h> #include <power/regulator.h>
#include <power/max77686_pmic.h> #include <power/max77686_pmic.h>

View file

@ -14,6 +14,7 @@
#include <mtd.h> #include <mtd.h>
#include <mtd_node.h> #include <mtd_node.h>
#include <asm/arch/stm32prog.h> #include <asm/arch/stm32prog.h>
#include <linux/printk.h>
#define DFU_ALT_BUF_LEN SZ_1K #define DFU_ALT_BUF_LEN SZ_1K

View file

@ -44,6 +44,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/iopoll.h> #include <linux/iopoll.h>
#include <linux/printk.h>
#include <power/regulator.h> #include <power/regulator.h>
#include <usb/dwc2_udc.h> #include <usb/dwc2_udc.h>

View file

@ -33,6 +33,7 @@
#include <asm/arch/sys_proto.h> #include <asm/arch/sys_proto.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
#ifndef CONFIG_ARM64 #ifndef CONFIG_ARM64
#include <asm/armv7.h> #include <asm/armv7.h>
#endif #endif

View file

@ -8,6 +8,7 @@
#include <log.h> #include <log.h>
#include <malloc.h> #include <malloc.h>
#include <dm/device.h> #include <dm/device.h>
#include <linux/printk.h>
#include "clk-lib.h" #include "clk-lib.h"

View file

@ -7,6 +7,7 @@
#include "env-lib.h" #include "env-lib.h"
#include <env.h> #include <env.h>
#include <log.h> #include <log.h>
#include <linux/printk.h>
#define MAX_CMD_LEN 25 #define MAX_CMD_LEN 25

View file

@ -20,6 +20,7 @@
#include <asm/omap_common.h> #include <asm/omap_common.h>
#include <env.h> #include <env.h>
#include <spl.h> #include <spl.h>
#include <linux/printk.h>
#include "../common/board_detect.h" #include "../common/board_detect.h"

View file

@ -19,6 +19,7 @@
#include <mmc.h> #include <mmc.h>
#include <errno.h> #include <errno.h>
#include <malloc.h> #include <malloc.h>
#include <linux/printk.h>
#include "board_detect.h" #include "board_detect.h"

View file

@ -22,6 +22,7 @@
#include <spl.h> #include <spl.h>
#include <dm.h> #include <dm.h>
#include <dm/uclass-internal.h> #include <dm/uclass-internal.h>
#include <linux/printk.h>
#include "../common/board_detect.h" #include "../common/board_detect.h"

View file

@ -17,6 +17,7 @@
#include <fdt_support.h> #include <fdt_support.h>
#include <pci_tegra.h> #include <pci_tegra.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
#include <power/as3722.h> #include <power/as3722.h>
#include <power/pmic.h> #include <power/pmic.h>

View file

@ -7,6 +7,7 @@
#include <command.h> #include <command.h>
#include <dm.h> #include <dm.h>
#include <adc.h> #include <adc.h>
#include <linux/printk.h>
static int do_adc_list(struct cmd_tbl *cmdtp, int flag, int argc, static int do_adc_list(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[]) char *const argv[])

View file

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

View file

@ -36,6 +36,7 @@
#include <mapmem.h> #include <mapmem.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/printk.h>
#include <u-boot/crc.h> #include <u-boot/crc.h>
#include <linux/stddef.h> #include <linux/stddef.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>

View file

@ -12,6 +12,7 @@
#include <common.h> #include <common.h>
#include <command.h> #include <command.h>
#include <malloc.h> #include <malloc.h>
#include <linux/printk.h>
#include <linux/compat.h> #include <linux/compat.h>
#include <linux/mtd/mtd.h> #include <linux/mtd/mtd.h>

View file

@ -8,6 +8,7 @@
#include <errno.h> #include <errno.h>
#include <dm.h> #include <dm.h>
#include <dm/uclass-internal.h> #include <dm/uclass-internal.h>
#include <linux/printk.h>
#include <power/regulator.h> #include <power/regulator.h>
#define LIMIT_DEVNAME 20 #define LIMIT_DEVNAME 20

View file

@ -12,6 +12,7 @@
#include <dfu.h> #include <dfu.h>
#include <g_dnl.h> #include <g_dnl.h>
#include <usb.h> #include <usb.h>
#include <linux/printk.h>
int do_thor_down(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) int do_thor_down(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{ {

View file

@ -8,6 +8,7 @@
#include <cpu_func.h> #include <cpu_func.h>
#include <log.h> #include <log.h>
#include <tpm-v1.h> #include <tpm-v1.h>
#include <linux/printk.h>
#include "tpm-user-utils.h" #include "tpm-user-utils.h"
#include <tpm_api.h> #include <tpm_api.h>

View file

@ -11,6 +11,7 @@
#include <g_dnl.h> #include <g_dnl.h>
#include <sdp.h> #include <sdp.h>
#include <usb.h> #include <usb.h>
#include <linux/printk.h>
static int do_sdp(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) static int do_sdp(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{ {

View file

@ -18,6 +18,7 @@
#include <usb_mass_storage.h> #include <usb_mass_storage.h>
#include <watchdog.h> #include <watchdog.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
static int ums_read_sector(struct ums *ums_dev, static int ums_read_sector(struct ums *ums_dev,
ulong start, lbaint_t blkcnt, void *buf) ulong start, lbaint_t blkcnt, void *buf)

View file

@ -19,6 +19,7 @@
#include <g_dnl.h> #include <g_dnl.h>
#include <usb.h> #include <usb.h>
#include <net.h> #include <net.h>
#include <linux/printk.h>
int run_usb_dnl_gadget(int usbctrl_index, char *usb_dnl_gadget) int run_usb_dnl_gadget(int usbctrl_index, char *usb_dnl_gadget)
{ {

View file

@ -15,6 +15,7 @@
#include <g_dnl.h> #include <g_dnl.h>
#include <usb.h> #include <usb.h>
#include <dfu.h> #include <dfu.h>
#include <linux/printk.h>
static int run_dfu(int usb_index, char *interface, char *devstring) static int run_dfu(int usb_index, char *interface, char *devstring)
{ {

View file

@ -17,6 +17,7 @@
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/global_data.h> #include <asm/global_data.h>
#include <linux/libfdt.h> #include <linux/libfdt.h>
#include <linux/printk.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -15,6 +15,7 @@
#include <asm/smp.h> #include <asm/smp.h>
#include <opensbi.h> #include <opensbi.h>
#include <linux/libfdt.h> #include <linux/libfdt.h>
#include <linux/printk.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -10,6 +10,7 @@
#include <usb.h> #include <usb.h>
#include <g_dnl.h> #include <g_dnl.h>
#include <sdp.h> #include <sdp.h>
#include <linux/printk.h>
static int spl_sdp_load_image(struct spl_image_info *spl_image, static int spl_sdp_load_image(struct spl_image_info *spl_image,
struct spl_boot_device *bootdev) struct spl_boot_device *bootdev)

View file

@ -9,6 +9,7 @@
#include <common.h> #include <common.h>
#include <cpu_func.h> #include <cpu_func.h>
#include <image.h> #include <image.h>
#include <linux/printk.h>
#include <command.h> #include <command.h>
#include <env.h> #include <env.h>

View file

@ -29,6 +29,7 @@
#include <dm/ofnode.h> #include <dm/ofnode.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include <linux/ctype.h> #include <linux/ctype.h>
#include <linux/printk.h>
#include <u-boot/crc.h> #include <u-boot/crc.h>
/* GUID for basic data partitons */ /* GUID for basic data partitons */

View file

@ -15,6 +15,7 @@
#include <dm/uclass-internal.h> #include <dm/uclass-internal.h>
#include <adc.h> #include <adc.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
#include <power/regulator.h> #include <power/regulator.h>
#define ADC_UCLASS_PLATDATA_SIZE sizeof(struct adc_uclass_plat) #define ADC_UCLASS_PLATDATA_SIZE sizeof(struct adc_uclass_plat)

View file

@ -8,6 +8,7 @@
#include <dm.h> #include <dm.h>
#include <adc.h> #include <adc.h>
#include <asm/arch/adc.h> #include <asm/arch/adc.h>
#include <linux/printk.h>
struct exynos_adc_priv { struct exynos_adc_priv {
int active_channel; int active_channel;

View file

@ -18,6 +18,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/math64.h> #include <linux/math64.h>
#include <linux/bitfield.h> #include <linux/bitfield.h>
#include <linux/printk.h>
#include <power/regulator.h> #include <power/regulator.h>
#define MESON_SAR_ADC_REG0 0x00 #define MESON_SAR_ADC_REG0 0x00

View file

@ -13,6 +13,7 @@
#include <asm/io.h> #include <asm/io.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/printk.h>
#include <power/regulator.h> #include <power/regulator.h>
#define SARADC_CTRL_CHN_MASK GENMASK(2, 0) #define SARADC_CTRL_CHN_MASK GENMASK(2, 0)

View file

@ -8,6 +8,7 @@
#include <dm.h> #include <dm.h>
#include <adc.h> #include <adc.h>
#include <sandbox-adc.h> #include <sandbox-adc.h>
#include <linux/printk.h>
/** /**
* struct sandbox_adc_priv - sandbox ADC device's operation status and data * struct sandbox_adc_priv - sandbox ADC device's operation status and data

View file

@ -18,6 +18,7 @@
#endif #endif
#include <asm/io.h> #include <asm/io.h>
#include <generic-phy.h> #include <generic-phy.h>
#include <linux/printk.h>
struct dwc_ahci_priv { struct dwc_ahci_priv {
void *base; void *base;

View file

@ -43,6 +43,7 @@
/* checks to be enabled for "runtime" */ /* checks to be enabled for "runtime" */
#include <linux/printk.h>
#define CHECK_IP_FETCH_F 0x1 #define CHECK_IP_FETCH_F 0x1
#define CHECK_SP_ACCESS_F 0x2 #define CHECK_SP_ACCESS_F 0x2
#define CHECK_MEM_ACCESS_F 0x4 /*using regular linear pointer */ #define CHECK_MEM_ACCESS_F 0x4 /*using regular linear pointer */

View file

@ -41,6 +41,7 @@
/*---------------------- Macros and type definitions ----------------------*/ /*---------------------- Macros and type definitions ----------------------*/
#include <linux/printk.h>
#pragma pack(1) #pragma pack(1)
/* /*

View file

@ -40,6 +40,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <common.h> #include <common.h>
#include <linux/ctype.h> #include <linux/ctype.h>
#include <linux/printk.h>
#include "x86emu/x86emui.h" #include "x86emu/x86emui.h"
/*----------------------------- Implementation ----------------------------*/ /*----------------------------- Implementation ----------------------------*/

View file

@ -37,6 +37,7 @@
* *
****************************************************************************/ ****************************************************************************/
#include <common.h> #include <common.h>
#include <linux/printk.h>
#include "x86emu/x86emui.h" #include "x86emu/x86emui.h"
/*----------------------------- Implementation ----------------------------*/ /*----------------------------- Implementation ----------------------------*/

View file

@ -73,6 +73,7 @@
****************************************************************************/ ****************************************************************************/
#include <common.h> #include <common.h>
#include <linux/printk.h>
#include "x86emu/x86emui.h" #include "x86emu/x86emui.h"
/*----------------------------- Implementation ----------------------------*/ /*----------------------------- Implementation ----------------------------*/

View file

@ -43,6 +43,7 @@
#include <common.h> #include <common.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include <linux/printk.h>
#include "x86emu/x86emui.h" #include "x86emu/x86emui.h"
/*----------------------------- Implementation ----------------------------*/ /*----------------------------- Implementation ----------------------------*/

View file

@ -40,6 +40,7 @@
****************************************************************************/ ****************************************************************************/
#include <common.h> #include <common.h>
#include <linux/printk.h>
#include "x86emu/x86emui.h" #include "x86emu/x86emui.h"
/*------------------------- Global Variables ------------------------------*/ /*------------------------- Global Variables ------------------------------*/

View file

@ -10,6 +10,7 @@
#include <errno.h> #include <errno.h>
#include <bootcount.h> #include <bootcount.h>
#include <log.h> #include <log.h>
#include <linux/printk.h>
int dm_bootcount_get(struct udevice *dev, u32 *bootcount) int dm_bootcount_get(struct udevice *dev, u32 *bootcount)
{ {

View file

@ -26,6 +26,7 @@
#include <linux/log2.h> #include <linux/log2.h>
#include <linux/math64.h> #include <linux/math64.h>
#include <linux/clk/analogbits-wrpll-cln28hpc.h> #include <linux/clk/analogbits-wrpll-cln28hpc.h>
#include <linux/printk.h>
/* MIN_INPUT_FREQ: minimum input clock frequency, in Hz (Fref_min) */ /* MIN_INPUT_FREQ: minimum input clock frequency, in Hz (Fref_min) */
#define MIN_INPUT_FREQ 7000000 #define MIN_INPUT_FREQ 7000000

View file

@ -28,6 +28,7 @@
#include <linux/log2.h> #include <linux/log2.h>
#include <div64.h> #include <div64.h>
#include <clk.h> #include <clk.h>
#include <linux/printk.h>
#include "clk.h" #include "clk.h"
#define UBOOT_DM_CLK_CCF_DIVIDER "ccf_clk_divider" #define UBOOT_DM_CLK_CCF_DIVIDER "ccf_clk_divider"

View file

@ -21,6 +21,7 @@
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/clk-provider.h> #include <linux/clk-provider.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/printk.h>
#include "clk.h" #include "clk.h"

View file

@ -19,6 +19,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/io.h> #include <linux/io.h>
#include <asm/arcregs.h> #include <asm/arcregs.h>
#include <linux/printk.h>
#include <dt-bindings/clock/snps,hsdk-cgu.h> #include <dt-bindings/clock/snps,hsdk-cgu.h>

View file

@ -36,6 +36,7 @@
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/clk-provider.h> #include <linux/clk-provider.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/printk.h>
#include "clk.h" #include "clk.h"

View file

@ -10,6 +10,7 @@
#include <regmap.h> #include <regmap.h>
#include <syscon.h> #include <syscon.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/printk.h>
struct clk_boston { struct clk_boston {
struct regmap *regmap; struct regmap *regmap;

View file

@ -18,6 +18,7 @@
#include <linux/iopoll.h> #include <linux/iopoll.h>
#include <clk.h> #include <clk.h>
#include <div64.h> #include <div64.h>
#include <linux/printk.h>
#include "clk.h" #include "clk.h"

View file

@ -23,6 +23,7 @@
#include <dm/lists.h> #include <dm/lists.h>
#include <dt-bindings/clock/rk3368-cru.h> #include <dt-bindings/clock/rk3368-cru.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
#include <linux/stringify.h> #include <linux/stringify.h>
#if CONFIG_IS_ENABLED(OF_PLATDATA) #if CONFIG_IS_ENABLED(OF_PLATDATA)

View file

@ -24,6 +24,7 @@
#include <dt-bindings/clock/rk3399-cru.h> #include <dt-bindings/clock/rk3399-cru.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/printk.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -33,6 +33,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/list.h> #include <linux/list.h>
#include <power-domain.h> #include <power-domain.h>
#include <linux/printk.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -14,6 +14,7 @@
#include <dm/of_addr.h> #include <dm/of_addr.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/printk.h>
/* Max address size we deal with */ /* Max address size we deal with */
#define OF_MAX_ADDR_CELLS 4 #define OF_MAX_ADDR_CELLS 4

View file

@ -29,6 +29,7 @@
#include <dm/uclass-internal.h> #include <dm/uclass-internal.h>
#include <dm/util.h> #include <dm/util.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/printk.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View file

@ -17,6 +17,7 @@
#include <hash.h> #include <hash.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include <linux/printk.h>
LIST_HEAD(dfu_list); LIST_HEAD(dfu_list);
static int dfu_alt_num; static int dfu_alt_num;

View file

@ -17,6 +17,7 @@
#include <mmc.h> #include <mmc.h>
#include <part.h> #include <part.h>
#include <command.h> #include <command.h>
#include <linux/printk.h>
static unsigned char *dfu_file_buf; static unsigned char *dfu_file_buf;
static u64 dfu_file_buf_len; static u64 dfu_file_buf_len;

View file

@ -13,6 +13,7 @@
#include <mapmem.h> #include <mapmem.h>
#include <errno.h> #include <errno.h>
#include <dfu.h> #include <dfu.h>
#include <linux/printk.h>
static int dfu_transfer_medium_ram(enum dfu_op op, struct dfu_entity *dfu, static int dfu_transfer_medium_ram(enum dfu_op op, struct dfu_entity *dfu,
u64 offset, void *buf, long *len) u64 offset, void *buf, long *len)

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