3c33710b45
Lets remove static mapping of SCU SFR mainly used in CORTEX-A9 SoC based boards. Instead use mapping from device tree node of SCU. Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> [mszyprow: rebased, added fallback to scu_a9_get_base() when no SCU DT node is available, removed compatibility break warning, fixed non-SMP build, keep SCU base mapping to avoid issues with calls from CPUidle] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
23 lines
499 B
C
23 lines
499 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com/
|
|
*
|
|
* S5P - Memory map definitions
|
|
*/
|
|
|
|
#ifndef __ASM_PLAT_MAP_S5P_H
|
|
#define __ASM_PLAT_MAP_S5P_H __FILE__
|
|
|
|
#define S5P_VA_CHIPID S3C_ADDR(0x02000000)
|
|
|
|
#define VA_VIC(x) (S3C_VA_IRQ + ((x) * 0x10000))
|
|
#define VA_VIC0 VA_VIC(0)
|
|
#define VA_VIC1 VA_VIC(1)
|
|
#define VA_VIC2 VA_VIC(2)
|
|
#define VA_VIC3 VA_VIC(3)
|
|
|
|
#include <plat/map-s3c.h>
|
|
|
|
#endif /* __ASM_PLAT_MAP_S5P_H */
|