]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3288: revise CONFIG_FASTBOOT_BUF_ADDR
authorjk.kernel@gmail.com <jk.kernel@gmail.com>
Tue, 26 Jul 2016 10:28:26 +0000 (18:28 +0800)
committerSimon Glass <sjg@chromium.org>
Sun, 31 Jul 2016 13:24:20 +0000 (07:24 -0600)
CONFIG_SYS_LOAD_ADDR is absolutely safe to store image for
fastboot.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
include/configs/rk3288_common.h

index 0b7d7234eeaf6718b1f18d4c0f27965ceecb48b2..814116c93e5a93f78ce8ae7e2b1bb8d985eda9b3 100644 (file)
@@ -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