sniper: Various minor cleanups, missing Kconfig configs and reorganisation
This introduces some minor cleanups, regarding aspects such as board name, code
and headers organization as well as deprecated and missing config options.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
diff --git a/board/lge/sniper/sniper.c b/board/lge/sniper/sniper.c
index d0e7d66..f093f97 100644
--- a/board/lge/sniper/sniper.c
+++ b/board/lge/sniper/sniper.c
@@ -24,7 +24,7 @@
const omap3_sysinfo sysinfo = {
.mtype = DDR_STACKED,
- .board_string = "Sniper",
+ .board_string = "sniper",
.nand_string = "MMC"
};
@@ -58,6 +58,11 @@
.board_data = &musb_board_data,
};
+void set_muxconf_regs(void)
+{
+ MUX_SNIPER();
+}
+
#ifdef CONFIG_SPL_BUILD
void get_board_mem_timings(struct board_sdrc_timings *timings)
{
@@ -69,12 +74,6 @@
}
#endif
-u32 get_board_rev(void)
-{
- /* Sold devices are expected to be at least revision F. */
- return 6;
-}
-
int board_init(void)
{
/* GPMC init */
@@ -147,6 +146,12 @@
return 0;
}
+u32 get_board_rev(void)
+{
+ /* Sold devices are expected to be at least revision F. */
+ return 6;
+}
+
void get_board_serial(struct tag_serialnr *serialnr)
{
omap_die_id_get_board_serial(serialnr);
@@ -162,11 +167,6 @@
return omap_reboot_mode_store('b');
}
-void set_muxconf_regs(void)
-{
- MUX_SNIPER();
-}
-
#ifndef CONFIG_SPL_BUILD
int board_mmc_init(bd_t *bis)
{