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

Bug#762042: initramfs-tools: initramfs should include phy-xgene on xgene platform



Control: tag -1 +patch

On Sat, 2014-10-11 at 11:37 +0100, Ian Campbell wrote:
> I'm leaning towards an adhoc list in auto_add_modules. I'll knock up a
> patch to that affect unless I hear some objections.

It seems to be as simple as the following (for modules=most at least),
WFM at least (with a separate hack for i2c-s3c2410.ko).

I decided to deal with i2c-s3c2410.ko by making it static in the kernel
config, since it is needed to access a core power controller that seemed
reasonable. I need to actually try it but I'll make that change myself
once I have.

Ian.

diff --git a/hook-functions b/hook-functions
index 2a421cf..b9ba990 100644
--- a/hook-functions
+++ b/hook-functions
@@ -510,6 +513,7 @@ auto_add_modules()
 		;;
 		ata)
 			copy_modules_dir kernel/drivers/ata
+			modules="$modules phy-xgene phy-exynos5250-sata"
 		;;
 		block)
 			copy_modules_dir kernel/drivers/block


Reply to: