diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2009-09-21 11:20:32 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-10-03 10:17:56 +0200 |
commit | 6385b28116f775da4771b768ba9bf93c3aaaf26e (patch) | |
tree | efe7ab43f4b4bef802604c2d845867b2a3b96e76 /drivers/fpga/altera.c | |
parent | cd1011db80287eef933d1599b74cff1116c93134 (diff) | |
download | u-boot-imx-6385b28116f775da4771b768ba9bf93c3aaaf26e.zip u-boot-imx-6385b28116f775da4771b768ba9bf93c3aaaf26e.tar.gz u-boot-imx-6385b28116f775da4771b768ba9bf93c3aaaf26e.tar.bz2 |
fpga: Remove relocation fixups
PPC boards are the only users of the current FPGA code which is littered
with manual relocation fixups. Now that proper relocation is supported
for PPC boards, remove FPGA manual relocation.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'drivers/fpga/altera.c')
-rw-r--r-- | drivers/fpga/altera.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/drivers/fpga/altera.c b/drivers/fpga/altera.c index 09dc0b2..650f2ec 100644 --- a/drivers/fpga/altera.c +++ b/drivers/fpga/altera.c @@ -211,45 +211,6 @@ int altera_info( Altera_desc *desc ) return ret_val; } -int altera_reloc( Altera_desc *desc, ulong reloc_offset) -{ - int ret_val = FPGA_FAIL; /* assume a failure */ - - if (!altera_validate (desc, (char *)__FUNCTION__)) { - printf ("%s: Invalid device descriptor\n", __FUNCTION__); - } else { - switch (desc->family) { - case Altera_ACEX1K: -#if defined(CONFIG_FPGA_ACEX1K) - ret_val = ACEX1K_reloc (desc, reloc_offset); -#else - printf ("%s: No support for ACEX devices.\n", - __FUNCTION__); -#endif - break; -#if defined(CONFIG_FPGA_STRATIX_II) - case Altera_StratixII: - ret_val = StratixII_reloc (desc, reloc_offset); - break; -#endif - case Altera_CYC2: -#if defined(CONFIG_FPGA_CYCLON2) - ret_val = CYC2_reloc (desc, reloc_offset); -#else - printf ("%s: No support for CYCLON II devices.\n", - __FUNCTION__); -#endif - break; - /* Add new family types here */ - default: - printf ("%s: Unsupported family type, %d\n", - __FUNCTION__, desc->family); - } - } - - return ret_val; -} - /* ------------------------------------------------------------------------- */ static int altera_validate (Altera_desc * desc, const char *fn) |