summaryrefslogtreecommitdiff
path: root/src/mainboard/cubietech/cubieboard/romstage.c
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-12-13 20:25:04 -0600
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-01-08 22:54:22 +0100
commit14964dd3726971e47c2df6eff49d23a62e07963b (patch)
tree64c52ee03a0e9e2b9d594f72a23727c6406e2921 /src/mainboard/cubietech/cubieboard/romstage.c
parentf64111b4865d611821950b25dc1ea235d8d9ca79 (diff)
downloadcoreboot-14964dd3726971e47c2df6eff49d23a62e07963b.tar.xz
mainboard: Add preliminary support for A10-based Cubieboard
Add a minimal infrastructure which initializes the system clocks and serial console. Change-Id: I768ede6ccf8674ffe9fecd8925cec89768209cab Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/4553 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/cubietech/cubieboard/romstage.c')
-rw-r--r--src/mainboard/cubietech/cubieboard/romstage.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/cubietech/cubieboard/romstage.c b/src/mainboard/cubietech/cubieboard/romstage.c
new file mode 100644
index 0000000000..19192cdc40
--- /dev/null
+++ b/src/mainboard/cubietech/cubieboard/romstage.c
@@ -0,0 +1,14 @@
+/*
+ * Placeholder for Cubieboard romstage
+ *
+ * Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
+ * Subject to the GNU GPL v2, or (at your option) any later version.
+ */
+
+#include <console/console.h>
+
+void main(void)
+{
+ console_init();
+ printk(BIOS_INFO, "You have managed to succesfully load romstage.\n");
+}