Page MenuHomeFreeBSD

Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options

Authored by on Jan 26 2016, 10:41 AM.



This revision does the following renames:

It also adds the following new CPU_MIPSxxx options:

CPU_MIPSxxxxKC is limiting and possibly misleading as it implies the MIPSxxxxK CPU has no FPU.
It would be better if the CPUs are named after their standard functionalities only and the presence or absence of FPU can then be controlled via the CPU_HAVEFPU option.

I will send out another dependent revision that moves MIPS 32 r2 and r3 CPUs to use the EHB instruction for clearing hazards instead of NOP/SSNOP.

Diff Detail

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline retitled this revision from to Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options. updated this object. edited the test plan for this revision. (Show Details) added a reviewer: MIPS. set the repository for this revision to rS FreeBSD src repository - subversion. added a project: MIPS.
imp edited edge metadata.
This revision is now accepted and ready to land.Jan 27 2016, 6:02 AM edited edge metadata.

After discussion with imp@, removed the CPU_MIPS24KE option, as 24KE is not really different than 24K, apart from having DSP ASE, which can be detected dynamically via Config3 register.

This revision now requires review to proceed.Jan 27 2016, 7:47 AM

This fine by me; it reminds me that we never started using the mips24k pieces for those atheros SoC cores (all the ar71xx, ar91xx, ar933x, etc) that are actually mips24k. They're mips4k.

We can fix that later though!

I meant to talk to you about possibly moving the Atheros SoCs to MIPS24K, but then got distracted with other things :-)
Yeah, I guess we can move the SoCs later. I did that for the Ralink SoCs in sys/mips/ralink for now, will be using the new cpu options with the Ralink/Mediatek FDT stuff too.

This revision was automatically updated to reflect the committed changes.