summaryrefslogtreecommitdiff
path: root/board/cherry_scp/board.c
blob: 31f1f069ded29b463de842ad72e2ac65a9e17a7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Copyright 2021 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
/* Cherry SCP configuration */

#include "cache.h"
#include "csr.h"
#include "registers.h"

struct mpu_entry mpu_entries[NR_MPU_ENTRIES] = {
	/* SRAM (for most code, data) */
	{0, 0x0ffc00, MPU_ATTR_C | MPU_ATTR_W | MPU_ATTR_R},
	/* SRAM (for IPI shared buffer) */
	{0x0ffc00, 0x100000, MPU_ATTR_W | MPU_ATTR_R},
	/* For AP domain */
	{0x60000000, 0x70000000, MPU_ATTR_W | MPU_ATTR_R},
	/* For SCP sys */
	{0x70000000, 0x80000000, MPU_ATTR_W | MPU_ATTR_R},
	{0x10000000, 0x11400000, MPU_ATTR_W | MPU_ATTR_R},
};

#include "gpio_list.h"