<div dir="ltr"><div><div><div><div><div><div><div>Hi all,<br><br></div>I've been trying to get Coreboot going on a custom Baytrail based board that I have.<br><br></div>Pretty much everything is working with one major exception - eMMC.<br><br></div>I've enabled eMMC in BCT. <br>In devicetree.cb I've switched off device 10 (eMMC 4.1 controller) and switched on device 17 (eMMC 4.5 controller). <br>And finally I've switched the relevent pins to GPIO_FUNC3 in gpio.c.<br><br></div>Linux sees device 17.0 in lspci and loads the module but doesn't show any mmcblk devices.<br><br></div>I was supplied the board with an Insyde systems EFI firmware which I really don't want to use.<br>This does recognise the eMMC, boots the same kernel I used with coreboot and now I can access the eMMC.<br></div>So I know there is nothing electrically wrong here.<br><br><br></div><div>Should this configuration work with coreboot? <br></div><div>If I look in the non-fsp baytrail directory I can see emmc.c which appears to contain explicit code to initialise the controller.<br></div><div>There is no equivelent code in the fsp_baytrail directory that I can see.<br></div><div>Is FSP supposed to initialise the controller or is there something missing here?<br><br><br></div><div>Thanks for any help<br><br></div><div>David<br><br></div><div><div><br></div></div></div>