projects
/
platform
/
kernel
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
common: board_r: Drop arch-specific ifdefs around initr_trap
[platform/kernel/u-boot.git]
/
arch
/
powerpc
/
lib
/
traps.c
1
// SPDX-License-Identifier: GPL-2.0+
2
/*
3
* (C) Copyright 2003
4
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
*/
6
7
#include <common.h>
8
#include <init.h>
9
10
DECLARE_GLOBAL_DATA_PTR;
11
12
void trap_init(unsigned long reloc_addr);
13
14
int arch_initr_trap(void)
15
{
16
trap_init(gd->relocaddr);
17
18
return 0;
19
}