mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00: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:
parent
f09f1ecbe7
commit
cd93d625fd
749 changed files with 940 additions and 6 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <init.h>
|
||||
#include <linux/bitops.h>
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <asm/types.h>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <linux/bitops.h>
|
||||
|
||||
void mscc_gpio_set_alternate(int gpio, int mode)
|
||||
{
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <asm/cacheops.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/reboot.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <mach/common.h>
|
||||
|
||||
#define MIPS_VCOREIII_MEMORY_DDR3
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
#ifndef _MSCC_JR2_DEVCPU_GCB_H_
|
||||
#define _MSCC_JR2_DEVCPU_GCB_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
|
||||
#define PERF_GPR 0x4
|
||||
|
||||
#define PERF_SOFT_RST 0x8
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
#ifndef _MSCC_JR2_DEVCPU_GCB_MIIM_REGS_H_
|
||||
#define _MSCC_JR2_DEVCPU_GCB_MIIM_REGS_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
|
||||
#define MIIM_MII_STATUS(gi) (0xc8 + (gi * 36))
|
||||
#define MIIM_MII_CMD(gi) (0xd0 + (gi * 36))
|
||||
#define MIIM_MII_DATA(gi) (0xd4 + (gi * 36))
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
#ifndef _MSCC_JR2_ICPU_CFG_H_
|
||||
#define _MSCC_JR2_ICPU_CFG_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
|
||||
#define ICPU_GPR(x) (0x4 * (x))
|
||||
#define ICPU_GPR_RSZ 0x4
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#ifndef _MSCC_OCELOT_DEVCPU_GCB_H_
|
||||
#define _MSCC_OCELOT_DEVCPU_GCB_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
#define PERF_SOFT_RST 0x90
|
||||
|
||||
#define PERF_SOFT_RST_SOFT_SWC_RST BIT(1)
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#ifndef _MSCC_LUTON_MIIM_REGS_H_
|
||||
#define _MSCC_LUTON_MIIM_REGS_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
#define MIIM_MII_STATUS(gi) (0xa0 + (gi * 36))
|
||||
#define MIIM_MII_CMD(gi) (0xa8 + (gi * 36))
|
||||
#define MIIM_MII_DATA(gi) (0xac + (gi * 36))
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#ifndef _MSCC_OCELOT_ICPU_CFG_H_
|
||||
#define _MSCC_OCELOT_ICPU_CFG_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
#define ICPU_GPR(x) (0x4 * (x))
|
||||
#define ICPU_GPR_RSZ 0x4
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#ifndef _MSCC_OCELOT_DEVCPU_GCB_H_
|
||||
#define _MSCC_OCELOT_DEVCPU_GCB_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
#define PERF_SOFT_RST 0x8
|
||||
|
||||
#define PERF_SOFT_RST_SOFT_NON_CFG_RST BIT(2)
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#ifndef _MSCC_OCELOT_DEVCPU_GCB_MIIM_REGS_H_
|
||||
#define _MSCC_OCELOT_DEVCPU_GCB_MIIM_REGS_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
#define MIIM_MII_STATUS(gi) (0x9c + (gi * 36))
|
||||
#define MIIM_MII_CMD(gi) (0xa4 + (gi * 36))
|
||||
#define MIIM_MII_DATA(gi) (0xa8 + (gi * 36))
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#ifndef _MSCC_OCELOT_ICPU_CFG_H_
|
||||
#define _MSCC_OCELOT_ICPU_CFG_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
#define ICPU_GPR(x) (0x4 * (x))
|
||||
#define ICPU_GPR_RSZ 0x4
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#ifndef _MSCC_SERVAL_DEVCPU_GCB_H_
|
||||
#define _MSCC_SERVAL_DEVCPU_GCB_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
#define CHIP_ID 0x0
|
||||
|
||||
#define PERF_GPR 0x4
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#ifndef _MSCC_SERVAL_DEVCPU_GCB_MIIM_REGS_H_
|
||||
#define _MSCC_SERVAL_DEVCPU_GCB_MIIM_REGS_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
#define MIIM_MII_STATUS(gi) (0x5c + (gi * 36))
|
||||
#define MIIM_MII_CMD(gi) (0x64 + (gi * 36))
|
||||
#define MIIM_MII_DATA(gi) (0x68 + (gi * 36))
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#ifndef _MSCC_SERVAL_ICPU_CFG_H_
|
||||
#define _MSCC_SERVAL_ICPU_CFG_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
#define ICPU_GPR(x) (0x4 * (x))
|
||||
#define ICPU_GPR_RSZ 0x8
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#ifndef _MSCC_SERVALT_DEVCPU_GCB_H_
|
||||
#define _MSCC_SERVALT_DEVCPU_GCB_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
#define PERF_GPR 0x4
|
||||
|
||||
#define PERF_SOFT_RST 0x8
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#ifndef _MSCC_SERVALT_DEVCPU_GCB_MIIM_REGS_H_
|
||||
#define _MSCC_SERVALT_DEVCPU_GCB_MIIM_REGS_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
#define MIIM_MII_STATUS(gi) (0xc4 + (gi * 36))
|
||||
#define MIIM_MII_CMD(gi) (0xcc + (gi * 36))
|
||||
#define MIIM_MII_DATA(gi) (0xd0 + (gi * 36))
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#ifndef _MSCC_SERVALT_ICPU_CFG_H_
|
||||
#define _MSCC_SERVALT_ICPU_CFG_H_
|
||||
|
||||
#include <linux/bitops.h>
|
||||
#define ICPU_GPR(x) (0x4 * (x))
|
||||
#define ICPU_GPR_RSZ 0x8
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#define __ASM_MACH_TLB_H
|
||||
|
||||
#include <asm/mipsregs.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <mach/common.h>
|
||||
#include <linux/sizes.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue