Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
bddb5df1
Unverified
Commit
bddb5df1
authored
Jan 08, 2019
by
Antonio Niño Díaz
Committed by
GitHub
Jan 08, 2019
Browse files
Merge pull request #1741 from deepan02/deepan02-arm-uart-definations
plat/arm/n1sdp: define the uart constants for N1SDP
parents
f0ea3420
a15f38cf
Changes
4
Show whitespace changes
Inline
Side-by-side
plat/arm/board/n1sdp/include/platform_def.h
View file @
bddb5df1
...
@@ -8,9 +8,23 @@
...
@@ -8,9 +8,23 @@
#define PLATFORM_DEF_H
#define PLATFORM_DEF_H
#include <arm_def.h>
#include <arm_def.h>
#include <board_css_def.h>
#include <css_def.h>
#include <css_def.h>
/* UART related constants */
#define PLAT_ARM_BOOT_UART_BASE 0x2A400000
#define PLAT_ARM_BOOT_UART_CLK_IN_HZ 50000000
#define PLAT_ARM_BL31_RUN_UART_BASE 0x2A410000
#define PLAT_ARM_BL31_RUN_UART_CLK_IN_HZ 50000000
#define PLAT_ARM_SP_MIN_RUN_UART_BASE 0x2A410000
#define PLAT_ARM_SP_MIN_RUN_UART_CLK_IN_HZ 50000000
#define PLAT_ARM_CRASH_UART_BASE PLAT_ARM_BL31_RUN_UART_BASE
#define PLAT_ARM_CRASH_UART_CLK_IN_HZ PLAT_ARM_BL31_RUN_UART_CLK_IN_HZ
#define PLAT_ARM_DRAM2_SIZE ULL(0x780000000)
#if CSS_USE_SCMI_SDS_DRIVER
#if CSS_USE_SCMI_SDS_DRIVER
#define N1SDP_SCMI_PAYLOAD_BASE 0x45400000
#define N1SDP_SCMI_PAYLOAD_BASE 0x45400000
#else
#else
...
@@ -57,7 +71,7 @@
...
@@ -57,7 +71,7 @@
#define N1SDP_DEVICE_BASE (0x20000000)
#define N1SDP_DEVICE_BASE (0x20000000)
#define N1SDP_DEVICE_SIZE (0x
2
0000000)
#define N1SDP_DEVICE_SIZE (0x
3
0000000)
#define N1SDP_MAP_DEVICE MAP_REGION_FLAT( \
#define N1SDP_MAP_DEVICE MAP_REGION_FLAT( \
N1SDP_DEVICE_BASE, \
N1SDP_DEVICE_BASE, \
N1SDP_DEVICE_SIZE, \
N1SDP_DEVICE_SIZE, \
...
...
plat/arm/board/n1sdp/n1sdp_plat.c
View file @
bddb5df1
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
const
mmap_region_t
plat_arm_mmap
[]
=
{
const
mmap_region_t
plat_arm_mmap
[]
=
{
ARM_MAP_SHARED_RAM
,
ARM_MAP_SHARED_RAM
,
N1SDP_MAP_DEVICE
,
N1SDP_MAP_DEVICE
,
SOC_CSS_MAP_DEVICE
,
{
0
}
{
0
}
};
};
plat/arm/board/n1sdp/platform.mk
View file @
bddb5df1
...
@@ -62,6 +62,5 @@ HW_ASSISTED_COHERENCY := 1
...
@@ -62,6 +62,5 @@ HW_ASSISTED_COHERENCY := 1
USE_COHERENT_MEM
:=
0
USE_COHERENT_MEM
:=
0
include
plat/arm/common/arm_common.mk
include
plat/arm/common/arm_common.mk
include
plat/arm/css/common/css_common.mk
include
plat/arm/css/common/css_common.mk
include
plat/arm/soc/common/soc_css.mk
include
plat/arm/board/common/board_common.mk
include
plat/arm/board/common/board_common.mk
plat/arm/css/drivers/scmi/scmi_private.h
View file @
bddb5df1
...
@@ -7,6 +7,8 @@
...
@@ -7,6 +7,8 @@
#ifndef SCMI_PRIVATE_H
#ifndef SCMI_PRIVATE_H
#define SCMI_PRIVATE_H
#define SCMI_PRIVATE_H
#include <lib/mmio.h>
/*
/*
* SCMI power domain management protocol message and response lengths. It is
* SCMI power domain management protocol message and response lengths. It is
* calculated as sum of length in bytes of the message header (4) and payload
* calculated as sum of length in bytes of the message header (4) and payload
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment