From: jk.kernel@gmail.com Date: Tue, 26 Jul 2016 10:28:26 +0000 (+0800) Subject: rockchip: rk3288: revise CONFIG_FASTBOOT_BUF_ADDR X-Git-Tag: v2016.09-rc2~154^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f75711aae72e6331fc5bb6c6b094869182fb200c;p=oweals%2Fu-boot.git rockchip: rk3288: revise CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR is absolutely safe to store image for fastboot. Signed-off-by: Ziyuan Xu Acked-by: Simon Glass --- diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h index 0b7d7234ee..814116c93e 100644 --- a/include/configs/rk3288_common.h +++ b/include/configs/rk3288_common.h @@ -93,9 +93,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