mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-14 19:26:58 +02:00
rockchip: rk3328: 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
9cc67049c2
commit
612fd9e5e0
@ -4,12 +4,18 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
|
#include <asm/arch-rockchip/bootrom.h>
|
||||||
#include <asm/arch-rockchip/hardware.h>
|
#include <asm/arch-rockchip/hardware.h>
|
||||||
#include <asm/armv8/mmu.h>
|
#include <asm/armv8/mmu.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
|
const char * const boot_devices[BROM_LAST_BOOTSOURCE + 1] = {
|
||||||
|
[BROM_BOOTSOURCE_EMMC] = "rksdmmc@ff520000",
|
||||||
|
[BROM_BOOTSOURCE_SD] = "rksdmmc@ff500000",
|
||||||
|
};
|
||||||
|
|
||||||
static struct mm_region rk3328_mem_map[] = {
|
static struct mm_region rk3328_mem_map[] = {
|
||||||
{
|
{
|
||||||
.virt = 0x0UL,
|
.virt = 0x0UL,
|
||||||
|
Loading…
Reference in New Issue
Block a user