2 * (C) Copyright 2016 Rockchip Electronics Co., Ltd
4 * SPDX-License-Identifier: GPL-2.0+
8 #include <debug_uart.h>
10 #include <dm/pinctrl.h>
15 DECLARE_GLOBAL_DATA_PTR
;
17 void board_debug_uart_init(void)
21 void board_init_f(ulong dummy
)
26 ret
= spl_early_init();
28 debug("spl_early_init() failed: %d\n", ret
);
32 preloader_console_init();
34 ret
= uclass_get_device(UCLASS_RAM
, 0, &dev
);
36 debug("DRAM init failed: %d\n", ret
);
41 u32
spl_boot_mode(const u32 boot_device
)
43 return MMCSD_MODE_RAW
;
46 u32
spl_boot_device(void)
48 return BOOT_DEVICE_MMC1
;
51 #ifdef CONFIG_SPL_LOAD_FIT
52 int board_fit_config_name_match(const char *name
)
54 /* Just empty function now - can't decide what to choose */
55 debug("%s: %s\n", __func__
, name
);