summaryrefslogtreecommitdiffstats
path: root/arch/nios2/boards
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-07-29 15:21:56 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-08-01 16:31:56 +0800
commit3f59bab47cc40bb0b6076143cc2e6b96be396771 (patch)
treee09e12930d940c0c5c25b34e69af7e5d0bc6f52c /arch/nios2/boards
parent6e2e7a67f224d1126220c6e16ef855975e6d7c74 (diff)
downloadbarebox-3f59bab47cc40bb0b6076143cc2e6b96be396771.tar.gz
barebox-3f59bab47cc40bb0b6076143cc2e6b96be396771.tar.xz
nios2: remove dead code in generic board
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/nios2/boards')
-rw-r--r--arch/nios2/boards/generic/generic.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/nios2/boards/generic/generic.c b/arch/nios2/boards/generic/generic.c
index 49c1d7cd6a..0e3852b007 100644
--- a/arch/nios2/boards/generic/generic.c
+++ b/arch/nios2/boards/generic/generic.c
@@ -32,14 +32,6 @@ static struct device_d mac_dev = {
.platform_data = &phy_address,
};
-/*
-static struct device_d epcs_flash_device = {
- .id = -1,
- .name = "epcs_flash",
- .map_base = NIOS_SOPC_EPCS_BASE,
-};
-*/
-
static int generic_devices_init(void)
{
add_cfi_flash_device(-1, NIOS_SOPC_FLASH_BASE, NIOS_SOPC_FLASH_SIZE, 0);