@@ -30,12 +30,21 @@ config BR2_archs38_full
3030
3131 It corresponds to "hs38_slc_full" ARC HS template in ARChitect.
3232
33+
34+ config BR2_archs4x_rel31
35+ bool "ARC HS48 rel 31"
36+ help
37+ Latest release of HS48 processor
38+ - Dual- and quad multiply and MC oprations
39+ - Double-precision FPU
40+
41+
3342endchoice
3443
3544# Choice of atomic instructions presence
3645config BR2_ARC_ATOMIC_EXT
3746 bool "Atomic extension (LLOCK/SCOND instructions)"
38- default y if BR2_arc770d || BR2_archs38 || BR2_archs38_full
47+ default y if BR2_arc770d || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31
3948
4049config BR2_ARCH
4150 default "arc" if BR2_arcle
@@ -54,10 +63,11 @@ config BR2_GCC_TARGET_CPU
5463 default "arc700" if BR2_arc770d
5564 default "archs" if BR2_archs38
5665 default "hs38_linux" if BR2_archs38_full
66+ default "hs4x_rel31" if BR2_archs4x_rel31
5767
5868config BR2_READELF_ARCH_NAME
5969 default "ARCompact" if BR2_arc750d || BR2_arc770d
60- default "ARCv2" if BR2_archs38 || BR2_archs38_full
70+ default "ARCv2" if BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31
6171
6272choice
6373 prompt "MMU Page Size"
7787
7888config BR2_ARC_PAGE_SIZE_4K
7989 bool "4KB"
80- depends on BR2_arc770d || BR2_archs38 || BR2_archs38_full
90+ depends on BR2_arc770d || BR2_archs38 || BR2_archs38_full || BR2_archs4x_rel31
8191
8292config BR2_ARC_PAGE_SIZE_8K
8393 bool "8KB"
@@ -87,7 +97,7 @@ config BR2_ARC_PAGE_SIZE_8K
8797
8898config BR2_ARC_PAGE_SIZE_16K
8999 bool "16KB"
90- depends on BR2_arc770d || BR2_archs38 || BR2_archs38_full
100+ depends on BR2_arc770d || BR2_archs38 || BR2_archs38_fulla || BR2_archs4x_rel31
91101
92102endchoice
93103
0 commit comments