/*$Id:head.S,v1.42004/11/0116:10:28starvikExp$**Thisusedtobetherescuecodebutnowthatishandledbythe*RedBootbasedRFLinstead.Nothingtoseehere,movealong.*/#include <linux/config.h>#include <asm/arch/hwregs/reg_map_asm.h>#include <asm/arch/hwregs/config_defs_asm.h>.text;; Start clocks for used blocks.move.dREG_ADDR(config,regi_config,rw_clk_ctrl),$r1move.d[$r1],$r0or.dREG_STATE(config,rw_clk_ctrl,cpu,yes)|\REG_STATE(config,rw_clk_ctrl,bif,yes)|\REG_STATE(config,rw_clk_ctrl,fix_io,yes),$r0move.d$r0,[$r1];; Copy 68KB NAND flash to Internal RAM (if NAND boot)move.d0x38004000,$r10move.d0x8000,$r11move.d0x11000,$r12move.dcopy_complete,$r13and.d0x000fffff,$r13or.d0x38000000,$r13#include "../../lib/nand_init.S";; No NAND foundmove.dCONFIG_ETRAX_PTABLE_SECTOR,$r10jump$r10; Jump to decompressernopcopy_complete:move.d0x38000000+CONFIG_ETRAX_PTABLE_SECTOR,$r10jump$r10; Jump to decompressernop