mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-02 21:18:39 +00:00
Since commit 0365ffcc0bd6 (generic-board: show model name in board_init_f() too), the support card information has not been displayed because check_support_card() is invoked only when show_board_info() fails to get the model name from Device Tree. This commit adds misc_init_f() function to call check_support_card() from there. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
14 lines
234 B
C
14 lines
234 B
C
/*
|
|
* Copyright (C) 2015 Panasonic Corporation
|
|
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <asm/arch/board.h>
|
|
|
|
int misc_init_f(void)
|
|
{
|
|
return check_support_card();
|
|
}
|