Skip to content

Commit

Permalink
ARM: picoxcell: remove dependency on mach/* headers
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
[Jamie Iles: rework to fold picoxcell_soc.h in common.c]
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
  • Loading branch information
Rob Herring committed Sep 14, 2012
1 parent 360a0ca commit 06413f1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 56 deletions.
13 changes: 7 additions & 6 deletions arch/arm/mach-picoxcell/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@
#include <asm/hardware/vic.h>
#include <asm/mach/map.h>

#include <mach/map.h>
#include <mach/picoxcell_soc.h>

#include "common.h"

#define WDT_CTRL_REG_EN_MASK (1 << 0)
#define WDT_CTRL_REG_OFFS (0x00)
#define WDT_TIMEOUT_REG_OFFS (0x04)
#define PHYS_TO_IO(x) (((x) & 0x00ffffff) | 0xfe000000)
#define PICOXCELL_PERIPH_BASE 0x80000000
#define PICOXCELL_PERIPH_LENGTH SZ_4M

#define WDT_CTRL_REG_EN_MASK (1 << 0)
#define WDT_CTRL_REG_OFFS (0x00)
#define WDT_TIMEOUT_REG_OFFS (0x04)
static void __iomem *wdt_regs;

/*
Expand Down
25 changes: 0 additions & 25 deletions arch/arm/mach-picoxcell/include/mach/map.h

This file was deleted.

25 changes: 0 additions & 25 deletions arch/arm/mach-picoxcell/include/mach/picoxcell_soc.h

This file was deleted.

0 comments on commit 06413f1

Please sign in to comment.