[PXA320] How to find I/O registers, base address of ASIX ethernet chip?

Daniel Mack daniel at caiaq.de
Mon Feb 8 05:15:24 EST 2010


On Mon, Feb 08, 2010 at 12:38:06PM +0300, Dennis Semakin wrote:
> 08.02.10, 10:13, "Uwe Kleine-König" <u.kleine-koenig at pengutronix.de>:
> >  This sounds like a missing clock.  Ah, and Daniel already asked that,
> >  too: "Did you switch on the clock for the static bus?"
> >  
> 
> Well... I yet do not know how to do this...

Try adding this sniplet to your lowlevel_init function in U-Boot:

        /* enable clocks for NAND and static memory */
        ldr             r0, =CKENA
        ldr             r1, [r0]
        orr             r1, r1, #(CKENA_4_NAND | CKENA_9_SMC)
        str             r1, [r0]
        ldr             r1, [r0]

Daniel




More information about the linux-arm-kernel mailing list