Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a4f2609 authored by Linus Walleij's avatar Linus Walleij
Browse files

ARM: ux500: de-globalize <mach/id.h>



This removes the file <mach/id.h> from the global kernel include
scope, making it a pure mach-ux500 detail. All ASIC specifics
needed by drivers shall henceforth be passed from either platform
data or the device tree.

Cc: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent b5bbd417
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@

#include <mach/hardware.h>
#include "board-mop500.h"
#include "id.h"

enum mop500_uib {
	STUIB,
+2 −1
Original line number Diff line number Diff line
@@ -10,7 +10,8 @@
#include <asm/cacheflush.h>
#include <asm/hardware/cache-l2x0.h>
#include <mach/hardware.h>
#include <mach/id.h>

#include "id.h"

static void __iomem *l2x0_base;

+2 −0
Original line number Diff line number Diff line
@@ -37,7 +37,9 @@

#include "devices-db8500.h"
#include "ste-dma40-db8500.h"

#include "board-mop500.h"
#include "id.h"

/* minimum static i/o mapping required to boot U8500 platforms */
static struct map_desc u8500_uart_io_desc[] __initdata = {
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@
#include <mach/devices.h>

#include "board-mop500.h"
#include "id.h"

void __iomem *_PRCMU_BASE;

+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@
#include <mach/hardware.h>
#include <mach/setup.h>

#include "id.h"

struct dbx500_asic_id dbx500_id;

static unsigned int ux500_read_asicid(phys_addr_t addr)
Loading