aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/coldfire/patches-2.6.31/019-Add-CFV4E-FPU-support-for-MCF547X_8X.patch
blob: 0d17aac59d4138b69fc769d229fcc3dc4dca9114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From a324800cc0ac1a0bd2a596751d276f5daa9d17d2 Mon Sep 17 00:00:00 2001
From: Wang Huan <wanghuan@zch06.freescale.net>
Date: Thu, 4 Feb 2010 16:42:07 +0800
Subject: [PATCH 20/25] Add CFV4E FPU support for MCF547X_8X

Porting the fpu support from ltib-mcf547x_8x-20070107 (2.6.10)

Signed-off-by: Lanttor Guo <lanttor.guo@freescale.com>
---
 arch/m68k/include/asm/fpu.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

--- a/arch/m68k/include/asm/fpu.h
+++ b/arch/m68k/include/asm/fpu.h
@@ -14,6 +14,8 @@
 #define FPSTATESIZE (28)
 #elif defined(CONFIG_M68060)
 #define FPSTATESIZE (12)
+#elif defined(CONFIG_CFV4E)
+#define FPSTATESIZE (16)
 #else
 #define FPSTATESIZE (0)
 #endif