summaryrefslogtreecommitdiff
path: root/board/da8xx/da8xx-evm/da850.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/da8xx/da8xx-evm/da850.c')
-rw-r--r--board/da8xx/da8xx-evm/da850.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/board/da8xx/da8xx-evm/da850.c b/board/da8xx/da8xx-evm/da850.c
index 7eceddf577..6f85e2e409 100644
--- a/board/da8xx/da8xx-evm/da850.c
+++ b/board/da8xx/da8xx-evm/da850.c
@@ -219,7 +219,11 @@ static int get_mac_addr(u8 *addr)
}
err_read:
- spi_flash_free(flash);
+ /* cannot call free currently since the free function calls free() for
+ * spi_flash structure though it is not directly allocated through
+ * malloc()
+ */
+ /* spi_flash_free(flash); */
err_probe:
return ret;
}