aboutsummaryrefslogtreecommitdiff
path: root/arch/avr32
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-07-30 12:32:45 +0000
committerWolfgang Denk <wd@denx.de>2011-08-01 15:10:15 +0200
commitf6c019c45440c61734a6ea02d27895820fbba31e (patch)
treec7a8f096af7c8b1548b3e7c00f8a1010b5c7db44 /arch/avr32
parent5589073a16f8927591785a5a9e84edc292476fc1 (diff)
downloadu-boot-f6c019c45440c61734a6ea02d27895820fbba31e.zip
u-boot-f6c019c45440c61734a6ea02d27895820fbba31e.tar.gz
u-boot-f6c019c45440c61734a6ea02d27895820fbba31e.tar.bz2
Unify timer_init() and cpu_init() prototypes
Clean up some duplicated prototype declarations. Get rid of now useless AVR32 initcalls.h file. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert Aribaud <albert.aribaud@free.fr> Cc: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Cc: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'arch/avr32')
-rw-r--r--arch/avr32/include/asm/initcalls.h30
-rw-r--r--arch/avr32/lib/board.c1
2 files changed, 0 insertions, 31 deletions
diff --git a/arch/avr32/include/asm/initcalls.h b/arch/avr32/include/asm/initcalls.h
deleted file mode 100644
index 57a278b..0000000
--- a/arch/avr32/include/asm/initcalls.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (C) 2005, 2006 Atmel Corporation
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
- */
-#ifndef __ASM_AVR32_INITCALLS_H__
-#define __ASM_AVR32_INITCALLS_H__
-
-#include <config.h>
-
-extern int cpu_init(void);
-extern int timer_init(void);
-
-#endif /* __ASM_AVR32_INITCALLS_H__ */
diff --git a/arch/avr32/lib/board.c b/arch/avr32/lib/board.c
index e69f8d1..65473a1 100644
--- a/arch/avr32/lib/board.c
+++ b/arch/avr32/lib/board.c
@@ -30,7 +30,6 @@
#include <miiphy.h>
#endif
-#include <asm/initcalls.h>
#include <asm/sections.h>
#include <asm/arch/mmu.h>