mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
ARM: rmobile: Introduce weak default board_init()
Introduce weak default board_init() in rcar-common/common.c , which allows complete removal of ebisu.c and condor.c at the same time . Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
@@ -9,5 +9,5 @@
|
||||
ifdef CONFIG_SPL_BUILD
|
||||
obj-y := ../rcar-common/gen3-spl.o
|
||||
else
|
||||
obj-y := condor.o ../rcar-common/common.o
|
||||
obj-y := ../rcar-common/common.o
|
||||
endif
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* board/renesas/condor/condor.c
|
||||
* This file is Condor board support.
|
||||
*
|
||||
* Copyright (C) 2019 Marek Vasut <marek.vasut+renesas@gmail.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
||||
int board_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -9,5 +9,5 @@
|
||||
ifdef CONFIG_SPL_BUILD
|
||||
obj-y := ../rcar-common/gen3-spl.o
|
||||
else
|
||||
obj-y := ebisu.o ../rcar-common/common.o
|
||||
obj-y := ../rcar-common/common.o
|
||||
endif
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* board/renesas/ebisu/ebisu.c
|
||||
* This file is Ebisu board support.
|
||||
*
|
||||
* Copyright (C) 2018 Marek Vasut <marek.vasut+renesas@gmail.com>
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
||||
int board_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
@@ -49,6 +49,11 @@ int dram_init_banksize(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int __weak board_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_RCAR_GEN3)
|
||||
#define RST_BASE 0xE6160000
|
||||
#define RST_CA57RESCNT (RST_BASE + 0x40)
|
||||
|
||||
@@ -39,8 +39,3 @@ int board_early_init_f(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int board_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user