diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2012-08-28 19:18:49 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-09-10 19:25:00 -0400 |
commit | 761d4c9d5c213a08129523f6f452333516a2dd7c (patch) | |
tree | e3fa339b690bdc5f7f2b8b0e524b877ce0a5a3d4 /arch/arm/mach-omap2/board-cm-t35.c | |
parent | 55d512e245bc7699a8800e23df1a24195dd08217 (diff) |
ARM: OMAP: cleanup struct omap_board_config_kernel
struct omap_board_config_kernel defined in the board files
is always empty and does not bring any added value.
Remove the struct omap_board_config_kernel instances from the board
files.
Also remove the omap_get_nr_config() macro and the omap_get_var_config()
function as both are not used for quite a long time (if ever).
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t35.c')
-rw-r--r-- | arch/arm/mach-omap2/board-cm-t35.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c index 97d719047af3..d94a640fe41c 100644 --- a/arch/arm/mach-omap2/board-cm-t35.c +++ b/arch/arm/mach-omap2/board-cm-t35.c | |||
@@ -37,7 +37,6 @@ | |||
37 | #include <asm/mach/arch.h> | 37 | #include <asm/mach/arch.h> |
38 | #include <asm/mach/map.h> | 38 | #include <asm/mach/map.h> |
39 | 39 | ||
40 | #include <plat/board.h> | ||
41 | #include "common.h" | 40 | #include "common.h" |
42 | #include <plat/nand.h> | 41 | #include <plat/nand.h> |
43 | #include <plat/gpmc.h> | 42 | #include <plat/gpmc.h> |
@@ -714,13 +713,8 @@ static inline void cm_t35_init_mux(void) {} | |||
714 | static inline void cm_t3730_init_mux(void) {} | 713 | static inline void cm_t3730_init_mux(void) {} |
715 | #endif | 714 | #endif |
716 | 715 | ||
717 | static struct omap_board_config_kernel cm_t35_config[] __initdata = { | ||
718 | }; | ||
719 | |||
720 | static void __init cm_t3x_common_init(void) | 716 | static void __init cm_t3x_common_init(void) |
721 | { | 717 | { |
722 | omap_board_config = cm_t35_config; | ||
723 | omap_board_config_size = ARRAY_SIZE(cm_t35_config); | ||
724 | omap3_mux_init(board_mux, OMAP_PACKAGE_CUS); | 718 | omap3_mux_init(board_mux, OMAP_PACKAGE_CUS); |
725 | omap_serial_init(); | 719 | omap_serial_init(); |
726 | omap_sdrc_init(mt46h32m32lf6_sdrc_params, | 720 | omap_sdrc_init(mt46h32m32lf6_sdrc_params, |