summaryrefslogtreecommitdiff
path: root/src/lib/romfs.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-04-08 07:47:01 +0000
committerStefan Reinauer <stepan@openbios.org>2009-04-08 07:47:01 +0000
commit013c7cfab5fe5b6a54e0cd8614fc60d9f328b85b (patch)
treee26c49893ee4da8e8627339e45885d577e5f52c7 /src/lib/romfs.c
parentd36703799772f0ffd00df76b4f549c932c1eeb53 (diff)
* commit previously forgotten romfs.txt
* fix a copy & paste error in src/lib/romfs.c Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4085 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/lib/romfs.c')
-rw-r--r--src/lib/romfs.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/romfs.c b/src/lib/romfs.c
index 6c638cec7b..b28e5414b7 100644
--- a/src/lib/romfs.c
+++ b/src/lib/romfs.c
@@ -237,16 +237,16 @@ int romfs_execute_stage(const char *name)
}
/**
- * * run_address is passed the address of a function taking no parameters and
- * * jumps to it, returning the result.
- * * @param f the address to call as a function.
- * * returns value returned by the function.
- * */
+ * run_address is passed the address of a function taking no parameters and
+ * jumps to it, returning the result.
+ * @param f the address to call as a function.
+ * returns value returned by the function.
+ */
int run_address(void *f)
{
- int (*v) (void);
- v = f;
- return v();
+ int (*v) (void);
+ v = f;
+ return v();
}