mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM at91sam9260ek: remove unused reset entry
@ 2012-10-08 11:02 Sascha Hauer
  2012-10-08 12:15 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 7+ messages in thread
From: Sascha Hauer @ 2012-10-08 11:02 UTC (permalink / raw)
  To: barebox

The at91sam9260ek has a custom reset function which does the same thing
as the default function. Also it does not define MACH_HAS_LOWLEVEL_INIT
as it should do. Remove the function.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/boards/at91sam9260ek/Makefile        |    1 -
 arch/arm/boards/at91sam9260ek/lowlevel_init.S |   25 -------------------------
 2 files changed, 26 deletions(-)
 delete mode 100644 arch/arm/boards/at91sam9260ek/lowlevel_init.S

diff --git a/arch/arm/boards/at91sam9260ek/Makefile b/arch/arm/boards/at91sam9260ek/Makefile
index 73ef72e..eb072c0 100644
--- a/arch/arm/boards/at91sam9260ek/Makefile
+++ b/arch/arm/boards/at91sam9260ek/Makefile
@@ -1,2 +1 @@
-obj-y += lowlevel_init.o
 obj-y += init.o
diff --git a/arch/arm/boards/at91sam9260ek/lowlevel_init.S b/arch/arm/boards/at91sam9260ek/lowlevel_init.S
deleted file mode 100644
index 0438921..0000000
--- a/arch/arm/boards/at91sam9260ek/lowlevel_init.S
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Board specific setup info
- *
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- */
-
-#include <asm/barebox-arm-head.h>
-
-.globl reset
-reset:
-	common_reset r0
-	b board_init_lowlevel_return
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-10-10 10:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-08 11:02 [PATCH] ARM at91sam9260ek: remove unused reset entry Sascha Hauer
2012-10-08 12:15 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-08 12:24   ` Antony Pavlov
2012-10-10  8:46     ` Sascha Hauer
2012-10-10  9:39       ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-10  9:47         ` Sascha Hauer
2012-10-10 10:53           ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox