mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 21:40:53 +07:00
318fd20bd1
While making PMU implementation to be device tree based, there are few register offsets related with SYSREG present in regs-pmu.h, so let's make a new header file "regs-sys.h" to keep all such SYSREG related register offsets and remove them from "regs-pmu.h" Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
23 lines
609 B
C
23 lines
609 B
C
/*
|
|
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
*
|
|
* EXYNOS - system register definition
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_REGS_SYS_H
|
|
#define __ASM_ARCH_REGS_SYS_H __FILE__
|
|
|
|
#include <mach/map.h>
|
|
|
|
#define S5P_SYSREG(x) (S3C_VA_SYS + (x))
|
|
|
|
/* For EXYNOS5 */
|
|
#define EXYNOS5_SYS_I2C_CFG S5P_SYSREG(0x0234)
|
|
|
|
#endif /* __ASM_ARCH_REGS_SYS_H */
|