Skip to content

Commit

Permalink
ARM: tegra: move irammap.h to mach-tegra
Browse files Browse the repository at this point in the history
Nothing outside mach-tegra uses this file, so there's no need for it to
be in <mach/>.

Since uncompress.h and debug-macro.S remain in include/mach, they need
to include "../../irammap.h" becaue of this change. Both these usages
will be removed shortly, when Tegra's DEBUG_LL implementation is updated
not to pass information through IRAM.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
  • Loading branch information
Stephen Warren committed Nov 5, 2012
1 parent 2be39c0 commit bb1de88
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/include/mach/debug-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <linux/serial_reg.h>

#include "../../iomap.h"
#include <mach/irammap.h>
#include "../../irammap.h"

.macro addruart, rp, rv, tmp
adr \rp, 99f @ actual addr of 99f
Expand Down
3 changes: 1 addition & 2 deletions arch/arm/mach-tegra/include/mach/uncompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@
#include <linux/types.h>
#include <linux/serial_reg.h>

#include <mach/irammap.h>

#include "../../iomap.h"
#include "../../irammap.h"

#define BIT(x) (1 << (x))
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions arch/arm/mach-tegra/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
#include <asm/cacheflush.h>
#include <asm/hardware/cache-l2x0.h>

#include <mach/irammap.h>

#include "iomap.h"
#include "irammap.h"
#include "reset.h"
#include "fuse.h"

Expand Down

0 comments on commit bb1de88

Please sign in to comment.