1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-11-01 19:05:51 +01:00

common: Drop linux/bitops.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:13 -06:00
committed by Tom Rini
parent f09f1ecbe7
commit cd93d625fd
749 changed files with 940 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
#ifndef _AT91_I2C_H
#define _AT91_I2C_H
#include <linux/bitops.h>
#define TWI_CR_START BIT(0) /* Send a Start Condition */
#define TWI_CR_MSEN BIT(2) /* Master Transfer Enable */
#define TWI_CR_STOP BIT(1) /* Send a Stop Condition */

View File

@@ -10,6 +10,7 @@
#include <clk.h>
#include <i2c.h>
#include <reset.h>
#include <linux/bitops.h>
struct i2c_regs {
u32 ic_con; /* 0x00 */

View File

@@ -10,6 +10,7 @@
#include <common.h>
#include <dm.h>
#include <log.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/types.h>
#include <linux/io.h>

View File

@@ -11,6 +11,7 @@
#include <i2c.h>
#include <asm/io.h>
#include <clk.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/io.h>

View File

@@ -14,6 +14,7 @@
#endif
#include <log.h>
#include <asm/unaligned.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#ifdef CONFIG_DM_I2C

View File

@@ -8,6 +8,7 @@
#include <clk.h>
#include <dm.h>
#include <i2c.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/err.h>

View File

@@ -18,6 +18,7 @@
#include <asm/io.h>
#include <wait_bit.h>
#include <dm/device_compat.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#define RCAR_I2C_ICSCR 0x00 /* slave ctrl */

View File

@@ -14,6 +14,7 @@
#include <dm.h>
#include <i2c.h>
#include <asm/io.h>
#include <linux/bitops.h>
#include <linux/delay.h>
struct rcar_iic_priv {

View File

@@ -9,6 +9,7 @@
#include <i2c.h>
#include <log.h>
#include <reset.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <dm/device.h>

View File

@@ -9,6 +9,7 @@
#include <log.h>
#include <misc.h>
#include <asm/arch-tegra/bpmp_abi.h>
#include <linux/bitops.h>
DECLARE_GLOBAL_DATA_PTR;