Commit a5f0a528 authored by Lucas Russo's avatar Lucas Russo

src/dev_io/dev_io.c: fix unused afc_diag_id variable for board ML605

parent e9cf22be
......@@ -371,7 +371,6 @@ static devio_err_e _spawn_be_platform_smios (devio_t *devio)
uint32_t acq_id = 0x4519a0ad;
uint32_t dsp_id = 0x1bafbf1e;
uint32_t swap_id = 0x12897592;
uint32_t afc_diag_id = 0x51954750;
devio_err_e err = DEVIO_SUCCESS;
/* ML605 or AFCv3 */
......@@ -402,6 +401,8 @@ static devio_err_e _spawn_be_platform_smios (devio_t *devio)
}
/* AFCv3 spefific */
#if defined (__BOARD_AFCV3__)
uint32_t afc_diag_id = 0x51954750;
DBE_DEBUG (DBG_DEV_IO | DBG_LVL_INFO, "[dev_io] Spawning AFCv3 specific SMIOs ...\n");
err = devio_register_sm (devio, fmc130m_4ch_id, FMC2_130M_BASE_ADDR, 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment