AS85EP1_ASC = 0;
AS85EP1_LBS = 0x00A9;
- AS85EP1_PORT_PMC(6) = 0xFF; /* A20-25, A0,A1 \e$BM-8z\e(B */
- AS85EP1_PORT_PMC(7) = 0x0E; /* CS1,2,3 \e$BM-8z\e(B */
- AS85EP1_PORT_PMC(9) = 0xFF; /* D16-23 \e$BM-8z\e(B */
- AS85EP1_PORT_PMC(10) = 0xFF; /* D24-31 \e$BM-8z\e(B */
+ AS85EP1_PORT_PMC(6) = 0xFF; /* valid A0,A1,A20-A25 */
+ AS85EP1_PORT_PMC(7) = 0x0E; /* valid CS1-CS3 */
+ AS85EP1_PORT_PMC(9) = 0xFF; /* valid D16-D23 */
+ AS85EP1_PORT_PMC(10) = 0xFF; /* valid D24-D31 */
AS85EP1_RFS(1) = 0x800c;
AS85EP1_RFS(3) = 0x800c;
write to address (N - 0x10). We avoid this (effectively) by
writing in 16-byte chunks backwards from the end. */
- AS85EP1_IRAMM = 0x3; /* \e$BFbB"L?Na\e(BRAM\e$B$O!V\e(Bwrite-mode\e$B!W$K$J$j$^$9\e(B */
+ AS85EP1_IRAMM = 0x3; /* "write-mode" for the internal instruction memory */
src = (u32 *)(((u32)&_intv_copy_src_end - 1) & ~0xF);
dst = (u32 *)&_intv_copy_dst_start
src -= 4;
} while (src > (u32 *)&_intv_copy_src_start);
- AS85EP1_IRAMM = 0x0; /* \e$BFbB"L?Na\e(BRAM\e$B$O!V\e(Bread-mode\e$B!W$K$J$j$^$9\e(B */
+ AS85EP1_IRAMM = 0x0; /* "read-mode" for the internal instruction memory */
#endif /* !CONFIG_ROM_KERNEL */
v850e_intc_disable_irqs ();
asm ("jmp r0"); /* Jump to the reset vector. */
}
-EXPORT_SYMBOL(machine_restart);
-
void machine_halt (void)
{
#ifdef CONFIG_RESET_GUARD
asm ("halt; nop; nop; nop; nop; nop");
}
-EXPORT_SYMBOL(machine_halt);
-
void machine_power_off (void)
{
machine_halt ();
}
-EXPORT_SYMBOL(machine_power_off);
-
/* Called before configuring an on-chip UART. */
void as85ep1_uart_pre_configure (unsigned chan, unsigned cflags, unsigned baud)
{