From c7de829c796978e519984df2f1c8cfcf921a39a4 Mon Sep 17 00:00:00 2001 From: wdenk Date: Tue, 19 Nov 2002 11:04:11 +0000 Subject: * Patch by Thomas Frieden, 13 Nov 2002: Add code for AmigaOne board (preliminary merge to U-Boot, still WIP) * Patch by Jon Diekema, 12 Nov 2002: - Adding URL for IEEE OUI lookup - Making the autoboot #defines dependent on CONFIG_AUTOBOOT_KEYED being defined. - In the CONFIG_EXTRA_ENV_SETTINGS #define, the root-on-initrd and root-on-nfs macros are designed to switch how the default boot method gets defined. --- lib_ppc/board.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib_ppc') diff --git a/lib_ppc/board.c b/lib_ppc/board.c index bfc494ef8..2541a54e3 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -149,6 +149,8 @@ static void syscalls_init (void) syscall_tbl[SYSCALL_INSTALL_HDLR] = (void *) irq_install_handler; syscall_tbl[SYSCALL_FREE_HDLR] = (void *) irq_free_handler; + syscall_tbl[SYSCALL_GET_TIMER] = (void *)get_timer; + syscall_tbl[SYSCALL_UDELAY] = (void *)udelay; addr = (ulong *) 0xc00; /* syscall ISR addr */ @@ -420,6 +422,10 @@ void board_init_f (ulong bootflag) printf ("Reserving %ldk for U-Boot at: %08lx\n", len >> 10, addr); #endif +#ifdef CONFIG_AMIGAONEG3SE + gd->relocaddr = addr; +#endif + /* * reserve memory for malloc() arena */ -- cgit v1.2.3