From 50d298db5051620b04d0fb5de5ea586b6ba489d1 Mon Sep 17 00:00:00 2001 From: "Gary.Wang" Date: Wed, 12 Dec 2012 17:29:36 +0800 Subject: [PATCH] [homlet:mac] fix a bug that the kernel can't run after the mac address is burn. --- common/env_sunxi_flash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/env_sunxi_flash.c b/common/env_sunxi_flash.c index 22dcb73b33..1545fac0ff 100755 --- a/common/env_sunxi_flash.c +++ b/common/env_sunxi_flash.c @@ -129,6 +129,8 @@ static void flash_env_relocate_spec(void) } env_import(buf, 1); + env_offset = start << 9; + printf("env_offset: %u\n", start); #endif }