9
0
Fork 0

nios2: remove dead code in generic board

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2011-07-29 15:21:56 +08:00
parent 6e2e7a67f2
commit 3f59bab47c
1 changed files with 0 additions and 8 deletions

View File

@ -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);