mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
arch/mips: add (Marvell) Octeon III processor
The compiler recognizes a specific 'march' value for Octeon III processors, so create a 'Target Architecture Variant' entry for it in the target menu. Note: support for '-march=octeon3' was added in gcc 5.x. However, the official compiler provided by Marvell (Cavium Networks) uses gcc 4.7.x (and supports -march=octeon3 via their own modifications). For this reason, no line 'select BR2_ARCH_NEEDS_GCC_AT_LEAST_5' is added. Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
b21e159b5d
commit
18b8d360bb
@ -129,6 +129,13 @@ config BR2_mips_octeon2
|
|||||||
help
|
help
|
||||||
Marvell (formerly Cavium Networks) Octeon II CN60XX
|
Marvell (formerly Cavium Networks) Octeon II CN60XX
|
||||||
processors.
|
processors.
|
||||||
|
config BR2_mips_octeon3
|
||||||
|
bool "Octeon III"
|
||||||
|
depends on BR2_ARCH_IS_64
|
||||||
|
select BR2_MIPS_CPU_MIPS64R3
|
||||||
|
help
|
||||||
|
Marvell (formerly Cavium Networks) Octeon III CN7XXX
|
||||||
|
processors.
|
||||||
config BR2_mips_p6600
|
config BR2_mips_p6600
|
||||||
bool "P6600"
|
bool "P6600"
|
||||||
depends on BR2_ARCH_IS_64
|
depends on BR2_ARCH_IS_64
|
||||||
@ -156,6 +163,7 @@ endchoice
|
|||||||
config BR2_MIPS_SOFT_FLOAT
|
config BR2_MIPS_SOFT_FLOAT
|
||||||
bool "Use soft-float"
|
bool "Use soft-float"
|
||||||
default y
|
default y
|
||||||
|
depends on !BR2_mips_octeon3 # hard-float only
|
||||||
select BR2_SOFT_FLOAT
|
select BR2_SOFT_FLOAT
|
||||||
help
|
help
|
||||||
If your target CPU does not have a Floating Point Unit (FPU)
|
If your target CPU does not have a Floating Point Unit (FPU)
|
||||||
@ -249,6 +257,7 @@ config BR2_GCC_TARGET_ARCH
|
|||||||
default "mips64r6" if BR2_mips_64r6
|
default "mips64r6" if BR2_mips_64r6
|
||||||
default "i6400" if BR2_mips_i6400
|
default "i6400" if BR2_mips_i6400
|
||||||
default "octeon2" if BR2_mips_octeon2
|
default "octeon2" if BR2_mips_octeon2
|
||||||
|
default "octeon3" if BR2_mips_octeon3
|
||||||
default "p6600" if BR2_mips_p6600
|
default "p6600" if BR2_mips_p6600
|
||||||
|
|
||||||
config BR2_MIPS_OABI32
|
config BR2_MIPS_OABI32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user