[U-Boot] rockchip: rk3288: update the mmc number for fastboot

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Tue Sep 5 09:19:27 UTC 2017


Kever,

On Thu, 27 Jul 2017, Kever Yang wrote:

> The emmc number is 0, correct it for fastboot parameter.
>
> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> ---
>
> include/configs/rk3288_common.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
> index 488d679..4489323 100644
> --- a/include/configs/rk3288_common.h
> +++ b/include/configs/rk3288_common.h
> @@ -66,7 +66,7 @@
> #define CONFIG_CMD_FASTBOOT
> #define CONFIG_USB_FUNCTION_FASTBOOT
> #define CONFIG_FASTBOOT_FLASH
> -#define CONFIG_FASTBOOT_FLASH_MMC_DEV	1	/* eMMC */
> +#define CONFIG_FASTBOOT_FLASH_MMC_DEV	0	/* eMMC */

FASTBOOT_FLASH_MMC_DEV has been moved to Kconfig.
It looks like the setting in the various _defconfig files is correct.

If the default for all RK3288 boards should be changed, we shouldn't have 
this in each _defconfig, but rather override the default-value on the 
Kconfig file for the RK3288.

Let me know how you want to proceed with this patch.

> #define CONFIG_FASTBOOT_BUF_ADDR	CONFIG_SYS_LOAD_ADDR
> #define CONFIG_FASTBOOT_BUF_SIZE	0x08000000
>
>


More information about the U-Boot mailing list