blob: 7fc899a65bbb44c196697595ae2aeffd48818968 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
/* $NoKeywords */
/**
* @file
*
* IscpConfig.h
*
* Contains Intra-SoC Communication Protocol configuration definitions.
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: FDK
* @e sub-project: UEFI
* @e version: $Revision: 334098 $ @e date: $Date: 2016-01-08 14:21:15 -0600 (Fri, 08 Jan 2016) $
*
*/
/*****************************************************************************
*
* Copyright 2013 - 2016 ADVANCED MICRO DEVICES, INC. All Rights Reserved.
*
* This program and the accompanying materials are licensed and made available
* under the terms and conditions of the BSD License which accompanies this
* distribution. The full text of the license may be found at
* http://opensource.org/licenses/bsd-license.php
*
* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR
* IMPLIED.
*
***************************************************************************/
#ifndef ISCP_CONFIG_H_
#define ISCP_CONFIG_H_
#ifdef __cplusplus
extern "C" {
#endif
/*----------------------------------------------------------------------------------------
* M O D U L E S U S E D
*----------------------------------------------------------------------------------------
*/
#include <ProcessorBind.h> // Included just so this file can be built into both the RTOS
// and UEFI without needing separate copies for both build
// environments.
/*----------------------------------------------------------------------------------------
* D E F I N I T I O N S A N D M A C R O S
*----------------------------------------------------------------------------------------
*/
// Door Bell Flag Register
#define ISCP_DRAM_BUFFER_ADDR_REG_LO (0xE0000008UL)
#define ISCP_DRAM_BUFFER_ADDR_REG_HI (0xE000000CUL)
#define ISCP_BUFFER_SIZE (0x1000)
#define DOORBELL_OFFSET_NS (0x100)
#define DOORBELL_BIT_NS (UINT32) (1 << 7) // Door Bell bit = [GPIO_1 (Line 14)]
#define DOORBELL_BIT_SEC (UINT32) (1 << 7) // Door Bell bit = [GPIO_1 (Line 15)]
#ifdef __cplusplus
}
#endif
#endif /* ISCP_CONFIG_H_ */
|