summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2009-04-06 17:31:53 +0530
committerJustin Waters <justin.waters@timesys.com>2009-09-09 14:03:23 -0400
commitb77f3a13e33db9973e40e909321c5b0e8c8eaa23 (patch)
tree0ab25a1ee7db5268423cac992b910cd421a665ec
parenta3124655e8d1e57025db6a8711a9359a2b73c04d (diff)
U-Boot: Comment out spi flash free call since it is not correct in generic code
-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;
}