From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 12 Sep 2017 19:04:20 +0200 Subject: [U-Boot] [PATCH V3 1/5] mmc: uniphier-sd: Factor out register IO In-Reply-To: <20170820151119.2303-1-marek.vasut+renesas@gmail.com> References: <20170820151119.2303-1-marek.vasut+renesas@gmail.com> Message-ID: <8ed9227e-347d-df03-9c4d-2a74e8c78a6e@gmail.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 08/20/2017 05:11 PM, Marek Vasut wrote: > This patch prepares the driver to support controller(s) with registers > at locations shifted by constant. Pull out the readl()/writel() from > the driver into separate functions, where the adjustment of the register > offset can be easily contained. > > Signed-off-by: Marek Vasut > Cc: Masahiro Yamada > Cc: Jaehoon Chung Hello Jaehoon, just a reminder that this missed previous MW, so it would be nice if it made it into this one. Thanks > --- > V2: Use unsigned int for the reg argument > V3: Remove const ... [...] -- Best regards, Marek Vasut