summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-01-09 20:42:13 -0600
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-01-13 04:02:48 +0100
commitd7b07af621627bbc40fb8481702b1fe7ab9b9c3c (patch)
tree8e796de6cabce8f2f0d97cbc34cc1575b538c28f
parent4d3a89d72a9def26c9d44d0bbdb40165d24a9417 (diff)
downloadcoreboot-d7b07af621627bbc40fb8481702b1fe7ab9b9c3c.tar.xz
cpu/allwinner/a10: Clean up include order in Makefile.inc
Alphabetize the sources for each stage (bootblock, rom, ram), and include twi.c in both romstage and ramstage. Change-Id: I5526f5a66f6600560005731a3ee536eb858f4ff0 Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/4639 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
-rw-r--r--src/cpu/allwinner/a10/Makefile.inc20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/cpu/allwinner/a10/Makefile.inc b/src/cpu/allwinner/a10/Makefile.inc
index 3e7b5355aa..03bc612457 100644
--- a/src/cpu/allwinner/a10/Makefile.inc
+++ b/src/cpu/allwinner/a10/Makefile.inc
@@ -1,23 +1,27 @@
+bootblock-y += bootblock_media.c
bootblock-y += clock.c
-bootblock-y += raminit.c
bootblock-y += gpio.c
bootblock-y += pinmux.c
+bootblock-y += raminit.c
bootblock-y += timer.c
-bootblock-y += bootblock_media.c
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += uart.c
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += uart_console.c
+romstage-y += bootblock_media.c
+romstage-y += clock.c
+romstage-y += pinmux.c
+romstage-y += timer.c
+romstage-y += twi.c
romstage-y += uart.c
romstage-y += uart_console.c
-romstage-y += bootblock_media.c
-ramstage-y += uart.c
-ramstage-y += uart_console.c
+ramstage-y += bootblock_media.c
+ramstage-y += clock.c
+ramstage-y += monotonic_timer.c
ramstage-y += timer.c
ramstage-y += twi.c
-ramstage-y += monotonic_timer.c
-ramstage-y += bootblock_media.c
-
+ramstage-y += uart.c
+ramstage-y += uart_console.c
real-target: $(obj)/BOOT0