From adf8b73675fe46344cd869c25e3f8546b9a8e25e Mon Sep 17 00:00:00 2001
From: Liu Yibin <yibin_liu@c-sky.com>
Date: Wed, 8 Jan 2020 14:50:35 +0800
Subject: platform: thead/c910: Remove SBI_PLATFORM_HAS_PMP

T-head c910 is a generic FPGA platform so we cannot
define PMP configuration for it in OpenSBI because
PMP configuration tend to be SOC specific.

Signed-off-by: Liu Yibin <yibin_liu@c-sky.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
---
 platform/thead/c910/platform.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'platform')

diff --git a/platform/thead/c910/platform.h b/platform/thead/c910/platform.h
index bc176e5..5dcfae8 100644
--- a/platform/thead/c910/platform.h
+++ b/platform/thead/c910/platform.h
@@ -9,8 +9,7 @@
 #define C910_HART_STACK_SIZE   8192
 
 #define SBI_THEAD_FEATURES	\
-	(SBI_PLATFORM_HAS_PMP | \
-	 SBI_PLATFORM_HAS_SCOUNTEREN | \
+	(SBI_PLATFORM_HAS_SCOUNTEREN | \
 	 SBI_PLATFORM_HAS_MCOUNTEREN | \
 	 SBI_PLATFORM_HAS_MFAULTS_DELEGATION)
 
-- 
cgit v1.2.3