Ovidiu Panait | 130845b | 2020-11-28 10:43:18 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * (C) Copyright 2003 |
| 4 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 5 | */ |
| 6 | |
Ovidiu Panait | 130845b | 2020-11-28 10:43:18 +0200 | [diff] [blame] | 7 | #include <init.h> |
Simon Glass | 401d1c4 | 2020-10-30 21:38:53 -0600 | [diff] [blame] | 8 | #include <asm/global_data.h> |
Ovidiu Panait | 130845b | 2020-11-28 10:43:18 +0200 | [diff] [blame] | 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 | } |