blob: ab8ca269a50c0d90233c6e274c40f6ea8b95e7bf [file] [log] [blame]
Ovidiu Panait130845b2020-11-28 10:43:18 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * (C) Copyright 2003
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 */
6
Matt Merharf6c0d362021-05-17 17:32:48 +00007#include <common.h>
Ovidiu Panait130845b2020-11-28 10:43:18 +02008#include <init.h>
Simon Glass401d1c42020-10-30 21:38:53 -06009#include <asm/global_data.h>
Ovidiu Panait130845b2020-11-28 10:43:18 +020010
11DECLARE_GLOBAL_DATA_PTR;
12
13void trap_init(unsigned long reloc_addr);
14
15int arch_initr_trap(void)
16{
17 trap_init(gd->relocaddr);
18
19 return 0;
20}