提交 bbb1fe46 编写于 作者: M Matthias Fuchs 提交者: Marek Vasut

board/esd/dasa_sim/flash.c: Fix GCC 4.6 warning

Signed-off-by: NMatthias Fuchs <matthias.fuchs@esd.eu>
上级 7c9543f3
......@@ -44,7 +44,6 @@ unsigned long flash_init (void)
{
unsigned long size_b0;
int i;
unsigned long base_b0;
/* Init: no FLASHes known */
for (i=0; i<CONFIG_SYS_MAX_FLASH_BANKS; ++i) {
......@@ -63,8 +62,6 @@ unsigned long flash_init (void)
/* Setup offsets */
flash_get_offsets (-size_b0, &flash_info[0]);
base_b0 = -size_b0;
/* Monitor protection ON by default */
(void)flash_protect(FLAG_PROTECT_SET,
-monitor_flash_len,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册