[U-Boot] [PATCH] common: remove unused prototypes

Patrick Delaunay patrick.delaunay at st.com
Mon Mar 12 08:19:22 UTC 2018


Remove the prototypes for 4 functions no more existing
in U-Boot code (checked by grep):
- checkflash
- checkdram
- mdm_init
- setup_board_extra

Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
---

 include/common.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/include/common.h b/include/common.h
index 0fe9439..0728aa6 100644
--- a/include/common.h
+++ b/include/common.h
@@ -151,26 +151,16 @@ void arch_setup_gd(gd_t *gd_ptr);
 
 int checkboard(void);
 int show_board_info(void);
-int checkflash(void);
-int checkdram(void);
 int last_stage_init(void);
 extern ulong monitor_flash_len;
 int mac_read_from_eeprom(void);
 extern u8 __dtb_dt_begin[];	/* embedded device tree blob */
 extern u8 __dtb_dt_spl_begin[];	/* embedded device tree blob for SPL/TPL */
 int set_cpu_clk_info(void);
-int mdm_init(void);
 int print_cpuinfo(void);
 int update_flash_size(int flash_size);
 int arch_early_init_r(void);
 
-/*
- * setup_board_extra() - Fill in extra details in the bd_t structure
- *
- * @return 0 if OK, -ve on error
- */
-int setup_board_extra(void);
-
 /**
  * arch_fsp_init() - perform firmware support package init
  *
-- 
2.7.4



More information about the U-Boot mailing list