mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
rockchip: rk322x: add boot_devices mapping to support 'same-as-spl'
The driver need a mapping to get the dts node by boot srouce ID. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
0cd65e4b9a
commit
a49660b658
1 changed files with 6 additions and 0 deletions
|
@ -3,9 +3,15 @@
|
|||
* (C) Copyright 2019 Rockchip Electronics Co., Ltd
|
||||
*/
|
||||
#include <asm/io.h>
|
||||
#include <asm/arch-rockchip/bootrom.h>
|
||||
#include <asm/arch-rockchip/grf_rk322x.h>
|
||||
#include <asm/arch-rockchip/hardware.h>
|
||||
|
||||
const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1] = {
|
||||
[BROM_BOOTSOURCE_EMMC] = "dwmmc@30020000",
|
||||
[BROM_BOOTSOURCE_SD] = "dwmmc@30000000",
|
||||
};
|
||||
|
||||
#ifdef CONFIG_DEBUG_UART_BOARD_INIT
|
||||
void board_debug_uart_init(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue