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:
@@ -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 */
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <clk.h>
|
||||
#include <i2c.h>
|
||||
#include <reset.h>
|
||||
#include <linux/bitops.h>
|
||||
|
||||
struct i2c_regs {
|
||||
u32 ic_con; /* 0x00 */
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#endif
|
||||
#include <log.h>
|
||||
#include <asm/unaligned.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#ifdef CONFIG_DM_I2C
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user