From mboxrd@z Thu Jan 1 00:00:00 1970 From: Soeren Moch Date: Sat, 5 Jan 2019 18:31:09 +0100 Subject: [U-Boot] [PATCH 2/2] mmc: bring back partition init for non-DM MMC drivers In-Reply-To: References: <20181217100545.28369-1-andre.przywara@arm.com> <20181217100545.28369-3-andre.przywara@arm.com> Message-ID: <61101594-c73b-a8f5-eaaa-d1696b872c82@web.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05.01.19 02:56, Simon Glass wrote: > kOn Mon, 17 Dec 2018 at 03:07, Andre Przywara wrote: >> Commit d0851c893706 ("blk: Call part_init() in the post_probe() method") >> removed the call to part_init() in mmc.c, as this is done by the DM_MMC >> framework. >> However Allwinner is (still) relying on a non-DM MMC driver, so we are >> now missing the implicit partition init, leading to failing MMC accesses >> due to the missing partition information. >> >> Bring the call back just for non-DM MMC driver to fix this regression. >> >> Signed-off-by: Andre Przywara >> --- >> drivers/mmc/mmc.c | 4 ++++ >> 1 file changed, 4 insertions(+) > Reviewed-by: Simon Glass This also fixes MMC support on a tbs2910 board. Tested-by: Soeren Moch Thanks, Soeren