From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 4 Oct 2018 13:39:08 +0200 Subject: [U-Boot] [PATCH] common: Add arch_misc_init() prototype to include/init.h In-Reply-To: <20181004113908.5004-1-sr@denx.de> References: <20181004113908.5004-1-sr@denx.de> Message-ID: <20181004113908.5004-4-sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de When implementing arch_misc_init() for the MT7620 platform I noticed that this function prototype is missing. Lets add this prototype to the common place (init.h) so that we use this function on all architectures. Signed-off-by: Stefan Roese Cc: Daniel Schwierzeck Cc: Patrick Delaunay Cc: Tom Rini --- include/init.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/init.h b/include/init.h index afc953d51e..3593567d52 100644 --- a/include/init.h +++ b/include/init.h @@ -165,6 +165,7 @@ void arch_setup_gd(gd_t *gd_ptr); /* common/board_r.c */ void board_init_r(gd_t *id, ulong dest_addr) __attribute__ ((noreturn)); +int arch_misc_init(void); int cpu_init_r(void); int last_stage_init(void); int mac_read_from_eeprom(void); -- 2.19.0