summaryrefslogtreecommitdiff
path: root/post/cpu/ppc4xx/fpu.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-07-06 02:50:34 +0200
committerWolfgang Denk <wd@denx.de>2007-07-06 02:50:34 +0200
commite80955f07de03fef0196353e77534b2300193c1c (patch)
tree2fbe65d20537c38a71bacf505e285595ddd3e01a /post/cpu/ppc4xx/fpu.c
parentf1152f8c28db4a22087c21c618a3f7baa48e9a4f (diff)
parentb44896215a09c60fa40cae906f7ed207bbc2c492 (diff)
downloadolio-uboot-2014.01-e80955f07de03fef0196353e77534b2300193c1c.tar.xz
olio-uboot-2014.01-e80955f07de03fef0196353e77534b2300193c1c.zip
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Diffstat (limited to 'post/cpu/ppc4xx/fpu.c')
-rw-r--r--post/cpu/ppc4xx/fpu.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/post/cpu/ppc4xx/fpu.c b/post/cpu/ppc4xx/fpu.c
index 1935c011b..c2eb4a9bf 100644
--- a/post/cpu/ppc4xx/fpu.c
+++ b/post/cpu/ppc4xx/fpu.c
@@ -1,5 +1,8 @@
/*
- * Copyright (C) 2007 Wolfgang Denk <wd@denx.de>
+ * (C) Copyright 2007
+ * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+ *
+ * Author: Sergei Poselenov <sposelenov@emcraft.com>
*
* See file CREDITS for list of people who contributed to this
* project.
@@ -34,7 +37,7 @@ int fpu_status(void)
{
if (mfspr(ccr0) & CCR0_DAPUIB)
return 0; /* Disabled */
- else
+ else
return 1; /* Enabled */
}
@@ -51,5 +54,6 @@ void fpu_enable(void)
mtspr(ccr0, mfspr(ccr0) & ~CCR0_DAPUIB);
mtmsr(mfmsr() | MSR_FP);
}
+
#endif
-#endif
+#endif /* CONFIG_POST */