
On Tue, Dec 4, 2012 at 5:59 AM, Stefano Babic sbabic@denx.de wrote:
On 25/11/2012 01:21, Marek Vasut wrote:
Add register definitions for the i.MX23 power control block and clock control block. These are essential for the basic bootstrap of the i.MX23. Also, properly include them in imx-regs.h .
Signed-off-by: Marek Vasut marex@denx.de Cc: Stefano Babic sbabic@denx.de
Hi Marek, Hi Otavio,
arch/arm/include/asm/arch-mxs/imx-regs.h | 5 + arch/arm/include/asm/arch-mxs/regs-clkctrl-mx23.h | 221 +++++++++++++ arch/arm/include/asm/arch-mxs/regs-power-mx23.h | 357
+++++++++++++++++++++
3 files changed, 583 insertions(+) create mode 100644 arch/arm/include/asm/arch-mxs/regs-clkctrl-mx23.h create mode 100644 arch/arm/include/asm/arch-mxs/regs-power-mx23.h
The main (and only issue) here is that there is not yet a board with MX23 in u-boot to use this code. Then this is dead code, and I cannot merge it now - I will postpone this patch.
The best way to add support for this SOC is, as usually, to get a bunch of patches with the last ones for a board using the SOC. Else we are unsure that the code we introduce can be really used later.
I agree; I have applied it in my tree and will send it together with other patches when I have something useful.