blob: ab06634bdb8d1e74dd8f22272d1b1953953f8927 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// SPDX-License-Identifier: GPL-2.0-only
#include <common.h>
#include <asm/barebox-riscv.h>
#include <debug_ll.h>
#include <asm/riscv_nmon.h>
ENTRY_FUNCTION(start_erizo_generic, a0, a1, a2)
{
extern char __dtb_z_erizo_generic_start[];
void *fdt;
debug_ll_init();
barebox_nmon_entry();
putc_ll('>');
/* On POR, we are running from read-only memory here. */
fdt = __dtb_z_erizo_generic_start + get_runtime_offset();
barebox_riscv_machine_entry(0x80000000, SZ_8M, fdt);
}
|