diff options
author | Raghavendra KH <r-khandenahally@ti.com> | 2008-08-20 10:08:47 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2008-08-20 10:08:47 +0200 |
commit | 25b49a201f1cd848ae15c10bc521e9c089de2d5a (patch) | |
tree | f610a8f3a9bd7fe8e9347c3a5c313ef9870aba3d /board | |
parent | e320ef5f9eab8cb37f4983ced30948079b0874e3 (diff) | |
download | barebox-25b49a201f1cd848ae15c10bc521e9c089de2d5a.tar.gz barebox-25b49a201f1cd848ae15c10bc521e9c089de2d5a.tar.xz |
Introduce a common board header for functions required by platform.S
This will prevent redundancies of multiple board-xyz.h files all
doing the same thing.
This deletes the redundant board-sdp343x.h and
fixes the corresponding .c for the change.
Signed-off-by: Raghavendra KH <r-khandenahally@ti.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/omap/board-sdp343x.c | 2 | ||||
-rw-r--r-- | board/omap/board.h (renamed from board/omap/board-sdp343x.h) | 18 |
2 files changed, 11 insertions, 9 deletions
diff --git a/board/omap/board-sdp343x.c b/board/omap/board-sdp343x.c index 00443d8f01..b8162ab361 100644 --- a/board/omap/board-sdp343x.c +++ b/board/omap/board-sdp343x.c @@ -54,7 +54,7 @@ #include <asm/arch/syslib.h> #include <asm/arch/control.h> #include <asm/arch/omap3-mux.h> -#include "board-sdp343x.h" +#include "board.h" /******************** Board Boot Time *******************/ static void sdrc_init(void); diff --git a/board/omap/board-sdp343x.h b/board/omap/board.h index 0b429fc294..ee3e25e76f 100644 --- a/board/omap/board-sdp343x.h +++ b/board/omap/board.h @@ -1,15 +1,15 @@ /** * @file - * @brief exported APIs for board header. + * @brief exported generic APIs which various board files implement * - * FileName: board/omap/board-sdp343x.h + * FileName: board/omap/board.h * - * We may choose to add board specific defines here at a later point of time + * This file will not contain any board specific implementations. */ /* - * (C) Copyright 2006-2008 + * (C) Copyright 2008 * Texas Instruments, <www.ti.com> - * Nishanth Menon <x0nishan@ti.com> + * Raghavendra KH <r-khandenahally@ti.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -26,8 +26,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA */ -#ifndef __BOARD_SDP343X_H_ -#define __BOARD_SDP343X_H_ +#ifndef __BOARD_OMAP_H_ +#define __BOARD_OMAP_H_ +/** Generic Board initialization called from platform.S */ void board_init(void); -#endif /* __BOARD_SDP343X_H_ */ + +#endif /* __BOARD_OMAP_H_ */ |