summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/at91sam9m10g45ek/lowlevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boards/at91sam9m10g45ek/lowlevel.c')
-rw-r--r--arch/arm/boards/at91sam9m10g45ek/lowlevel.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/arm/boards/at91sam9m10g45ek/lowlevel.c b/arch/arm/boards/at91sam9m10g45ek/lowlevel.c
index 0f3a035d1d..a24b26e5cb 100644
--- a/arch/arm/boards/at91sam9m10g45ek/lowlevel.c
+++ b/arch/arm/boards/at91sam9m10g45ek/lowlevel.c
@@ -7,13 +7,11 @@
#include <common.h>
#include <init.h>
-#include <asm/barebox-arm-head.h>
-#include <asm/barebox-arm.h>
+#include <mach/at91/barebox-arm.h>
+#include <mach/at91/hardware.h>
+#include <mach/at91/at91_ddrsdrc.h>
-#include <mach/hardware.h>
-#include <mach/at91sam9_ddrsdr.h>
-
-void __naked __bare_init barebox_arm_reset_vector(uint32_t r0, uint32_t r1, uint32_t r2)
+AT91_ENTRY_FUNCTION(start_at91sam9m10g45ek, r0, r1, r2)
{
arm_cpu_lowlevel_init();