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 | |
Matt Merhar | f6c0d36 | 2021-05-17 17:32:48 +0000 | [diff] [blame^] | 7 | #include <common.h> |
Ovidiu Panait | 130845b | 2020-11-28 10:43:18 +0200 | [diff] [blame] | 8 | #include <init.h> |
Simon Glass | 401d1c4 | 2020-10-30 21:38:53 -0600 | [diff] [blame] | 9 | #include <asm/global_data.h> |
Ovidiu Panait | 130845b | 2020-11-28 10:43:18 +0200 | [diff] [blame] | 10 | |
| 11 | DECLARE_GLOBAL_DATA_PTR; |
| 12 | |
| 13 | void trap_init(unsigned long reloc_addr); |
| 14 | |
| 15 | int arch_initr_trap(void) |
| 16 | { |
| 17 | trap_init(gd->relocaddr); |
| 18 | |
| 19 | return 0; |
| 20 | } |