nds32: Enable FPU if the version of CPU supported
authorken kuo <ken.kuoky@gmail.com>
Wed, 24 Jul 2013 18:17:11 +0000 (02:17 +0800)
committerMacpaul Lin <macpaul@gmail.com>
Thu, 25 Jul 2013 08:54:19 +0000 (16:54 +0800)
commitc54fd3efa497876a33cc3c6e7df514ae53abc729
treed641418958a482f81e19df6ebba951497f373186
parent99ca91b6d77aeb983008d33dba0ef06c8e644d94
nds32: Enable FPU if the version of CPU supported

Some version of Andes core support FPU coprocessor,
if this is the case, and toolchain support FPU instruction set,
we should enable it at low level initialization time.

Signed-off-by: Kuan-Yu Kuo <ken.kuoky@gmail.com>
Cc: Macpaul Lin <macpaul@gmail.com>
arch/nds32/cpu/n1213/ag101/lowlevel_init.S
arch/nds32/cpu/n1213/ag102/lowlevel_init.S