diff options
| author | Tom Rini <[email protected]> | 2021-09-07 07:58:56 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-09-07 07:58:56 -0400 |
| commit | 1c02fd4686e7bc17b583b55cc6f2e3e83f38b381 (patch) | |
| tree | e3986858c31a0d06f2724cbf007aa5d31b245931 /common | |
| parent | ad320c237bea7ece659efaf6c1d43475e0e5db6a (diff) | |
| parent | 30fa33dc808b8f28185bca9c812225cbc1ec6e8f (diff) | |
Merge https://source.denx.de/u-boot/custodians/u-boot-riscv
Diffstat (limited to 'common')
| -rw-r--r-- | common/board_r.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/board_r.c b/common/board_r.c index e3e6248a1fd..630c2451a27 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -114,7 +114,7 @@ static int initr_reloc(void) return 0; } -#ifdef CONFIG_ARM +#if defined(CONFIG_ARM) || defined(CONFIG_RISCV) /* * Some of these functions are needed purely because the functions they * call return void. If we change them to return 0, these stubs can go away. @@ -607,7 +607,7 @@ static init_fnc_t init_sequence_r[] = { initr_trace, initr_reloc, /* TODO: could x86/PPC have this also perhaps? */ -#ifdef CONFIG_ARM +#if defined(CONFIG_ARM) || defined(CONFIG_RISCV) initr_caches, /* Note: For Freescale LS2 SoCs, new MMU table is created in DDR. * A temporary mapping of IFC high region is since removed, |
