Browse Source

board/BuR/common: cosmetic: move 'overwrite_console' up to more related stuff

Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Hannes Schmelzer 5 years ago
parent
commit
47656d98bd
1 changed files with 5 additions and 4 deletions
  1. 5 4
      board/BuR/common/common.c

+ 5 - 4
board/BuR/common/common.c

@@ -266,6 +266,11 @@ int ft_board_setup(void *blob, bd_t *bd)
 	return 0;
 }
 
+int overwrite_console(void)
+{
+	return 1;
+}
+
 #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_AM33XX)
 #include <asm/arch/hardware.h>
 #include <asm/arch/omap.h>
@@ -359,7 +364,3 @@ void set_mux_conf_regs(void)
 }
 
 #endif /* CONFIG_SPL_BUILD && CONFIG_AM33XX */
-int overwrite_console(void)
-{
-	return 1;
-}