Re: [U-Boot] [PATCH v1] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-01-30 Thread Stefano Babic
On 27/01/2018 22:55, Lukasz Majewski wrote: > The goal of this patch is to clean up the code related to choosing spl > MMC boot mode. > > The spl_boot_mode() now is called only in spl_mmc_load_image() function, > which is only compiled in if CONFIG_SPL_MMC_SUPPORT is enabled. > > To achieve the g

Re: [U-Boot] [PATCH v1] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-01-30 Thread Michal Simek
On 27.1.2018 22:55, Lukasz Majewski wrote: > The goal of this patch is to clean up the code related to choosing spl > MMC boot mode. > > The spl_boot_mode() now is called only in spl_mmc_load_image() function, > which is only compiled in if CONFIG_SPL_MMC_SUPPORT is enabled. > > To achieve the go

Re: [U-Boot] [PATCH v1] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-01-27 Thread Lukasz Majewski
Hi Marek, > On 01/27/2018 10:55 PM, Lukasz Majewski wrote: > > The goal of this patch is to clean up the code related to choosing > > spl MMC boot mode. > > > > The spl_boot_mode() now is called only in spl_mmc_load_image() > > function, which is only compiled in if CONFIG_SPL_MMC_SUPPORT is > >

Re: [U-Boot] [PATCH v1] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-01-27 Thread Marek Vasut
On 01/27/2018 10:55 PM, Lukasz Majewski wrote: > The goal of this patch is to clean up the code related to choosing spl > MMC boot mode. > > The spl_boot_mode() now is called only in spl_mmc_load_image() function, > which is only compiled in if CONFIG_SPL_MMC_SUPPORT is enabled. It always was ;-)

[U-Boot] [PATCH v1] spl: eMMC/SD: Provide one __weak spl_boot_mode() function

2018-01-27 Thread Lukasz Majewski
The goal of this patch is to clean up the code related to choosing spl MMC boot mode. The spl_boot_mode() now is called only in spl_mmc_load_image() function, which is only compiled in if CONFIG_SPL_MMC_SUPPORT is enabled. To achieve the goal, all per mach/arch implementations eligible for unific