From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 14 May 2012 20:25:56 +0200 Subject: [U-Boot] [PATCH 8/8] mxs: prefix register acessor macros with 'mxs' prefix In-Reply-To: References: <1336866018-614-1-git-send-email-otavio@ossystems.com.br> <201205132046.04795.marex@denx.de> Message-ID: <201205142025.56192.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Otavio Salvador, > On Sun, May 13, 2012 at 3:46 PM, Marek Vasut wrote: > >> From what I read from mx23 datasheet it is. > > > > From what I saw two days ago in the LAKML it isn't ... compare > > HW_APBH_CH0_SEMA for instance ;-) Check drivers/dma/mxs-dma.c in Linux > > for example. > > From what I see the offsets are different but overwall the way to > access the data is the same. So it ought to be easy to handle. So you need two sets of regs, you can't deliberately rename mx28 DMA regset to mxs regset ... Best regards, Marek Vasut