From 7be5cdb57bfea243e2bcded11a99989ac0e2e234 Mon Sep 17 00:00:00 2001 From: Kunhui-Li Date: Tue, 16 Nov 2021 18:32:51 +0800 Subject: [PATCH] misc: remove HV_RAM_SIZE remove HV_RAM_SIZE under misc directory because PR 6664 has changed it in HV side. Tracked-On: #6663 Signed-off-by: Kunhui-Li --- misc/hv_prebuild/static_checks.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/misc/hv_prebuild/static_checks.c b/misc/hv_prebuild/static_checks.c index 1fb081dd2..f7150d4a4 100644 --- a/misc/hv_prebuild/static_checks.c +++ b/misc/hv_prebuild/static_checks.c @@ -24,10 +24,6 @@ typedef int32_t CAT_(CTA_DummyType,__LINE__)[(expr) ? 1 : -1] #error "CONFIG_HV_RAM_START must be aligned to 2MB" #endif -#if ((CONFIG_HV_RAM_SIZE & (MEM_2M - 1UL)) != 0UL) -#error "CONFIG_HV_RAM_SIZE must be integral multiple of 2MB" -#endif - #if ((CONFIG_MAX_IR_ENTRIES < 256U) || (CONFIG_MAX_IR_ENTRIES & (CONFIG_MAX_IR_ENTRIES -1)) != 0U) #error "CONFIG_MAX_IR_ENTRIES must >=256 and be 2^n" #endif