mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 22:33:18 +00:00
8cbb0ddd7e
This is a generic approach to port u-boot for nios2 boards. You may find the usage of this approach on the nioswiki, http://nioswiki.com/DasUBoot A fpga parameter file, which contains base address information and drivers declaration, is generated from Altera's hardware system description sopc file using tools. The example fpga parameter file is compatible with EP1C20, EP1S10 and EP1S40 boards. So these boards can be removed after this commit. Though epcs controller is removed to cut the dependency of altera_spi driver. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Scott McNutt <smcnutt@psyent.com>
21 lines
539 B
ArmAsm
21 lines
539 B
ArmAsm
/*
|
|
* text_base
|
|
*
|
|
* (C) Copyright 2010, Thomas Chou <thomas@wytron.com.tw>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#include <config.h>
|
|
|
|
#ifdef CONFIG_SYS_MONITOR_BASE
|
|
.text
|
|
/* text base used in link script u-boot.lds */
|
|
.global text_base
|
|
.equ text_base,CONFIG_SYS_MONITOR_BASE
|
|
/* dummy func to let linker include this file */
|
|
.global text_base_hook
|
|
text_base_hook:
|
|
ret
|
|
#endif
|