@@ -98,11 +98,10 @@ class ConfigPlatform(Enum):
98
98
FVP = "fvp"
99
99
GFE = "gfe"
100
100
AWS = "aws-f1"
101
- MORELLO_FPGA = "morello-fpga"
102
101
103
102
@classmethod
104
103
def fpga_platforms (cls ) -> "set[ConfigPlatform]" :
105
- return {cls .GFE , cls .AWS , cls . MORELLO_FPGA }
104
+ return {cls .GFE , cls .AWS }
106
105
107
106
108
107
class CheriBSDConfig :
@@ -291,7 +290,6 @@ class AArch64KernelConfigFactory(KernelConfigFactory):
291
290
platform_name_map : "dict[ConfigPlatform, Optional[str]]" = {
292
291
ConfigPlatform .QEMU : "GENERIC" ,
293
292
ConfigPlatform .FVP : "GENERIC" ,
294
- ConfigPlatform .MORELLO_FPGA : "MORELLO-FPGA" ,
295
293
}
296
294
297
295
def get_kabi_name (self , kernel_abi ) -> Optional [str ]:
@@ -308,28 +306,9 @@ def get_available_kabis(self) -> "list[KernelABI]":
308
306
abis = super ().get_available_kabis ()
309
307
return [* abis , KernelABI .PURECAP_BENCHMARK ]
310
308
311
- def get_flag_names (
312
- self ,
313
- platforms : "set[ConfigPlatform]" ,
314
- kernel_abi : KernelABI ,
315
- default = False ,
316
- nocaprevoke = False ,
317
- mfsroot = False ,
318
- debug = False ,
319
- benchmark = False ,
320
- fuzzing = False ,
321
- fett = False ,
322
- ):
323
- if ConfigPlatform .MORELLO_FPGA in platforms :
324
- # Suppress mfsroot flag as it is implied for Morello FPGA configurations
325
- mfsroot = False
326
- return super ().get_flag_names (
327
- platforms , kernel_abi , mfsroot = mfsroot , fuzzing = fuzzing , benchmark = benchmark , default = default , nocaprevoke = nocaprevoke
328
- )
329
-
330
309
def make_all (self ) -> "list[CheriBSDConfig]" :
331
310
configs = []
332
- # Generate QEMU/FVP/FPGA kernels
311
+ # Generate QEMU/FVP kernels
333
312
for kernel_abi in self .get_available_kabis ():
334
313
configs .append (self .make_config ({ConfigPlatform .QEMU , ConfigPlatform .FVP }, kernel_abi , default = True ))
335
314
configs .append (
@@ -338,9 +317,6 @@ def make_all(self) -> "list[CheriBSDConfig]":
338
317
configs .append (
339
318
self .make_config ({ConfigPlatform .QEMU , ConfigPlatform .FVP }, kernel_abi , default = True , mfsroot = True )
340
319
)
341
- configs .append (
342
- self .make_config ({ConfigPlatform .MORELLO_FPGA }, kernel_abi , default = True , mfsroot = True )
343
- )
344
320
# Caprevoke kernels
345
321
for kernel_abi in self .get_available_kabis ():
346
322
configs .append (
@@ -1881,11 +1857,7 @@ def setup_config_options(cls, kernel_only_target=False, install_directory_help=N
1881
1857
use_upstream_llvm = False ,
1882
1858
kernel_only_target = kernel_only_target ,
1883
1859
)
1884
- fpga_targets = (
1885
- * CompilationTargets .ALL_CHERIBSD_RISCV_TARGETS ,
1886
- CompilationTargets .CHERIBSD_AARCH64 ,
1887
- * CompilationTargets .ALL_CHERIBSD_MORELLO_TARGETS
1888
- )
1860
+ fpga_targets = CompilationTargets .ALL_CHERIBSD_RISCV_TARGETS
1889
1861
cls .build_fpga_kernels = cls .add_bool_option (
1890
1862
"build-fpga-kernels" ,
1891
1863
show_help = True ,
0 commit comments