[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#880584: [PATCH] auto_add_modules: add mfd in MODULES==most



Hi Ben,

On Thu, Nov 02, 2017 at 02:46:47PM +0000, Riku Voipio wrote:
> Package: initramfs-tools
> Version: 0.130
> Severity: normal
> Tags: patch
> 
> Multi Function Devices may carry essential functions on arm/arm64
> platforms. For example in 96boards HiKey mfd/hi655x-pmic has regulators,
> causing MMC driver init fail.  when generating generic initrd on offline
> with MODULES=most, update-initramfs doesn't pick mfd modules.
> 
> Since mfd is quite small (284K on arm64), just add them all to most. This
> may also open the road to make some currently built-in CONFIG_MFD
> drivers modules.


Is this patch ok to commit?
 
> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
> ---
>  hook-functions | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/hook-functions b/hook-functions
> index 679e11d..4b49391 100644
> --- a/hook-functions
> +++ b/hook-functions
> @@ -537,6 +537,7 @@ auto_add_modules()
>  			copy_modules_dir kernel/drivers/gpio
>  			copy_modules_dir kernel/drivers/i2c/busses
>  			copy_modules_dir kernel/drivers/i2c/muxes
> +			copy_modules_dir kernel/drivers/mfd
>  			copy_modules_dir kernel/drivers/phy
>  			copy_modules_dir kernel/drivers/pinctrl
>  			copy_modules_dir kernel/drivers/regulator
> -- 
> 2.14.2
> 


Reply to: