[U-Boot-Users] Memory Bank x (nothingness)?

Jerry Walden jwalden at digitalatlantic.com
Mon Feb 10 20:26:20 CET 2003


Greetings -

I have a custom PPC405GPr board, and I am trying to bring u-boot up on it.

	/*-----------------------------------------------------------------------
*/
	/* Setup temporary stack in DCACHE or OCM if needed for SDRAM SPD. */
	/*-----------------------------------------------------------------------
*/
	/*-----------------------------------------------------------------------
*/
	/* Memory Bank x (nothingness) initialization 1GB+64MEG */
	/* used as temporary stack pointer for stage0  */
	/*-----------------------------------------------------------------------
*/
	li	r4,PBxAP
	mtdcr	ebccfga,r4
	lis	r4,0x0380
	ori	r4,r4,0x0480
	mtdcr	ebccfgd,r4

The Walnut config has CFG_INIT_DCACHE_INIT_CS = 4

In our custom board do not have anything attached to bank 4 -

Does DCACHE for the processors cache or programmers private use?
How can I (or how should I) re-write/add/subtract the above code to
accomplish
what it is trying to do (which is not clear to me).

Thanks

Jerry Walden





More information about the U-Boot mailing list