blob: d582d81982fe9d7b649f060da1482ebbb8372bb7 [file] [log] [blame]
Varun Wadekar28463b92015-07-14 17:11:20 +05301/*
Varun Wadekard43583c2016-02-22 11:09:41 -08002 * Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved.
Varun Wadekar28463b92015-07-14 17:11:20 +05303 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Varun Wadekar28463b92015-07-14 17:11:20 +05305 */
6
7#ifndef __DENVER_H__
8#define __DENVER_H__
9
Varun Wadekar3c337a62015-09-03 17:15:06 +053010/* MIDR values for Denver */
11#define DENVER_MIDR_PN0 0x4E0F0000
12#define DENVER_MIDR_PN1 0x4E0F0010
13#define DENVER_MIDR_PN2 0x4E0F0020
14#define DENVER_MIDR_PN3 0x4E0F0030
15#define DENVER_MIDR_PN4 0x4E0F0040
16
17/* Implementer code in the MIDR register */
18#define DENVER_IMPL 0x4E
Varun Wadekar28463b92015-07-14 17:11:20 +053019
20/* CPU state ids - implementation defined */
21#define DENVER_CPU_STATE_POWER_DOWN 0x3
22
Varun Wadekard43583c2016-02-22 11:09:41 -080023#ifndef __ASSEMBLY__
24
25/* Disable Dynamic Code Optimisation */
26void denver_disable_dco(void);
27
28#endif
29
Varun Wadekar28463b92015-07-14 17:11:20 +053030#endif /* __DENVER_H__ */