summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-power8
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-10-07 13:02:31 +0200
committerMartin Roth <martinroth@google.com>2016-10-24 20:32:47 +0200
commitf5f0b7b71a450dd87e6e477cf53417c7c8d68ad2 (patch)
tree20246ec242df291b781f53f059822bdc6215943e /src/mainboard/emulation/qemu-power8
parentdedccb8556e7859f5bf03d6736127b51c5737760 (diff)
mainboard/emulation: Use C89 comments style & remove commented code
Change-Id: I627338505fe1273366bc8f6f528d829b3162b371 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16916 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/emulation/qemu-power8')
-rw-r--r--src/mainboard/emulation/qemu-power8/bootblock.c5
-rw-r--r--src/mainboard/emulation/qemu-power8/mainboard.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/mainboard/emulation/qemu-power8/bootblock.c b/src/mainboard/emulation/qemu-power8/bootblock.c
index d92c16951a..5cfb7c132a 100644
--- a/src/mainboard/emulation/qemu-power8/bootblock.c
+++ b/src/mainboard/emulation/qemu-power8/bootblock.c
@@ -17,8 +17,9 @@
#include <console/console.h>
#include <program_loading.h>
-// the qemu part of all this is very, very non-hardware like.
-// so it gets its own bootblock.
+/* The qemu part of all this is very, very non-hardware like.
+ * So it gets its own bootblock.
+ */
void main(void)
{
if (IS_ENABLED(CONFIG_BOOTBLOCK_CONSOLE)) {
diff --git a/src/mainboard/emulation/qemu-power8/mainboard.c b/src/mainboard/emulation/qemu-power8/mainboard.c
index 6413f294e8..70b858e7ca 100644
--- a/src/mainboard/emulation/qemu-power8/mainboard.c
+++ b/src/mainboard/emulation/qemu-power8/mainboard.c
@@ -24,7 +24,7 @@ static void mainboard_enable(device_t dev)
die("No dev0; die\n");
}
- // Where does RAM live?
+ /* Where does RAM live? */
ram_resource(dev, 0, 2048, 32768);
cbmem_recovery(0);
}