diff mbox

[U-Boot] rockchip: rk3288: revise CONFIG_FASTBOOT_BUF_ADDR

Message ID 1469254354-29504-1-git-send-email-xzy.xu@rock-chips.com
State Accepted
Commit f75711aae72e6331fc5bb6c6b094869182fb200c
Delegated to: Simon Glass
Headers show

Commit Message

Xu Ziyuan July 23, 2016, 6:12 a.m. UTC
CONFIG_SYS_LOAD_ADDR is absolutely safe to store image for
fastboot.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
---
This commit is base on commit 170479c "rockchip: remove the duplicated
macro config".

 include/configs/rk3288_common.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Simon Glass July 25, 2016, 2:07 a.m. UTC | #1
On 23 July 2016 at 00:12, Ziyuan Xu <xzy.xu@rock-chips.com> wrote:
> CONFIG_SYS_LOAD_ADDR is absolutely safe to store image for
> fastboot.
>
> Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
> ---
> This commit is base on commit 170479c "rockchip: remove the duplicated
> macro config".
>
>  include/configs/rk3288_common.h | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Acked-by: Simon Glass <sjg@chromium.org>
diff mbox

Patch

diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index 4ecaac1..c588a54 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -95,9 +95,7 @@ 
 #define CONFIG_USB_FUNCTION_FASTBOOT
 #define CONFIG_FASTBOOT_FLASH
 #define CONFIG_FASTBOOT_FLASH_MMC_DEV	1	/* eMMC */
-/* stroe safely fastboot buffer data to the middle of bank */
-#define CONFIG_FASTBOOT_BUF_ADDR	(CONFIG_SYS_SDRAM_BASE \
-					+ SDRAM_BANK_SIZE / 2)
+#define CONFIG_FASTBOOT_BUF_ADDR	CONFIG_SYS_LOAD_ADDR
 #define CONFIG_FASTBOOT_BUF_SIZE	0x08000000
 
 #define CONFIG_USB_GADGET_DOWNLOAD