From: Andre Przywara Date: Thu, 31 Jan 2019 14:55:20 +0000 Subject: [U-Boot] [PATCH 9/9] mmc: sunxi: Mark end of DM_MMC #ifdefs In-Reply-To: References: <20190119013055.28023-1-andre.przywara@arm.com> <20190119013055.28023-10-andre.przywara@arm.com> Message-ID: <20190131145520.1373b061@donnerap.cambridge.arm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 31 Jan 2019 03:04:21 -0700 Simon Glass wrote: > Hi Andre, > > On Fri, 18 Jan 2019 at 18:33, Andre Przywara > wrote: > > > > The Allwinner MMC supports both the legacy approach and the driver > > model, at the cost of quite some #ifdefs. > > > > Mark the closing #endifs with their respective config symbol, to > > make it more obvious where each part ends and begins. > > > > Signed-off-by: Andre Przywara > > --- > > drivers/mmc/sunxi_mmc.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > Reviewed-by: Simon Glass > > We should be able to remove the non-DM_MMC code now. Unfortunately not, since the SPL still uses the legacy interface. Not sure we can easily fix that without blowing up the code, given that the 64-bit SPL is REALLY tight. If you are around in Brussels on the weekend, we can have a chat about that. Cheers, Andre.