coresight: move cp14.h to include/asm/hardware

Move cp14.h to include/asm/hardware so that it can be used by code
inside mach-msm as well as drivers/coresight.

Change-Id: I3f5cd6e1768378ec26abcd1e7328977836dce60f
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
This commit is contained in:
Pratik Patel
2012-09-19 13:21:31 -07:00
committed by Iliyan Malchev
parent f73480b840
commit 5ff01d08a0
3 changed files with 7 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -10,8 +10,8 @@
* GNU General Public License for more details.
*/
#ifndef _ARCH_ARM_MACH_MSM_CP14_H_
#define _ARCH_ARM_MACH_MSM_CP14_H_
#ifndef __ASM_HARDWARE_CP14_H
#define __ASM_HARDWARE_CP14_H
#include <linux/types.h>

View File

@@ -1,4 +1,4 @@
/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
/* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -24,8 +24,7 @@
#include <linux/pm_qos.h>
#include <asm/atomic.h>
#include "cp14.h"
#include <asm/hardware/cp14.h>
#define LOG_BUF_LEN 32768
/* each slot is 4 bytes, 8kb total */

View File

@@ -1,4 +1,4 @@
/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -20,11 +20,10 @@
#include <linux/printk.h>
#include <linux/ratelimit.h>
#include <linux/coresight.h>
#include <asm/hardware/cp14.h>
#include <mach/scm.h>
#include <mach/jtag.h>
#include "cp14.h"
/* DBGv7 with baseline CP14 registers implemented */
#define ARM_DEBUG_ARCH_V7B (0x3)
/* DBGv7 with all CP14 registers implemented */