Introduce common weak board_early_init_f() in rcar64-common.c
which is the default implementation in case there is no other
board specific board_early_init_f(). Remove board_early_init_f()
from Salvator-X, ULCB and Draak boards where this function is
empty.
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
{
return 0;
}
+
+int __weak board_early_init_f(void)
+{
+ return 0;
+}
#include <asm/arch/rcar-mstp.h>
#include <asm/arch/renesas.h>
-int board_early_init_f(void)
-{
- return 0;
-}
-
#define HSUSB_MSTP704 BIT(4) /* HSUSB */
/* HSUSB block registers */
#include <asm/arch/renesas.h>
#include <init.h>
-int board_early_init_f(void)
-{
- return 0;
-}
-
#define HSUSB_MSTP704 BIT(4) /* HSUSB */
/* HSUSB block registers */
#define HSUSB_MSTP704 BIT(4) /* HSUSB */
-int board_early_init_f(void)
-{
- return 0;
-}
-
/* HSUSB block registers */
#define HSUSB_REG_LPSTS 0xE6590102
#define HSUSB_REG_LPSTS_SUSPM_NORMAL BIT(14)