summaryrefslogtreecommitdiff
path: root/bsp/sifive-hifive-unleashed/metal-platform.h
diff options
context:
space:
mode:
authorhsiang-chia.huang <hsiangchia.huang@sifive.com>2019-05-24 10:22:08 +0800
committerGitHub <noreply@github.com>2019-05-24 10:22:08 +0800
commitfaf58a49c3b6421107ada0e8af43170a5ffafcea (patch)
tree3996d52a748ae2420b5c9c6c9efe4158d5dece53 /bsp/sifive-hifive-unleashed/metal-platform.h
parent7817c5e85cb6f9f6d5b98f6702fa4b7d1fb99e02 (diff)
parent2c0269905929128bd0bd13a55ae3d8afd60a1af6 (diff)
Merge branch 'development-19.05' into dhrystone_19.05
Diffstat (limited to 'bsp/sifive-hifive-unleashed/metal-platform.h')
-rw-r--r--bsp/sifive-hifive-unleashed/metal-platform.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/bsp/sifive-hifive-unleashed/metal-platform.h b/bsp/sifive-hifive-unleashed/metal-platform.h
index 0a1d909..4bfe75b 100644
--- a/bsp/sifive-hifive-unleashed/metal-platform.h
+++ b/bsp/sifive-hifive-unleashed/metal-platform.h
@@ -1,17 +1,20 @@
+/* Copyright 2019 SiFive, Inc */
+/* SPDX-License-Identifier: Apache-2.0 */
+/* ----------------------------------- */
+/* [XXXXX] 23-05-2019 13-29-50 */
+/* ----------------------------------- */
+
#ifndef SIFIVE_HIFIVE_UNLEASHED__METAL_PLATFORM_H
#define SIFIVE_HIFIVE_UNLEASHED__METAL_PLATFORM_H
/* From refclk */
#define METAL_FIXED_CLOCK__CLOCK_FREQUENCY 33333333UL
-#define METAL_FIXED_CLOCK_0_CLOCK_FREQUENCY 33333333UL
#define METAL_FIXED_CLOCK
/* From tlclk */
#define METAL_FIXED_FACTOR_CLOCK__CLOCK_DIV 2UL
-#define METAL_FIXED_FACTOR_CLOCK_0_CLOCK_DIV 2UL
#define METAL_FIXED_FACTOR_CLOCK__CLOCK_MULT 1UL
-#define METAL_FIXED_FACTOR_CLOCK_0_CLOCK_MULT 1UL
#define METAL_FIXED_FACTOR_CLOCK
@@ -43,12 +46,6 @@
#define METAL_RISCV_PLIC0_THRESHOLD 2097152UL
#define METAL_RISCV_PLIC0_CLAIM 2097156UL
-/* From pmp@0 */
-#define METAL_RISCV_PMP_0_NUM_REGIONS 1UL
-#define METAL_RISCV_PMP_0_NUM_REGIONS 1UL
-
-#define METAL_RISCV_PMP
-
/* From cache_controller@2010000 */
#define METAL_SIFIVE_FU540_C000_L2_2010000_BASE_ADDRESS 33619968UL
#define METAL_SIFIVE_FU540_C000_L2_0_BASE_ADDRESS 33619968UL