X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fv850%2Fkernel%2Fas85ep1.c;h=5352f8a5aa070191f9d0d027a0ac7bc420b10cb9;hb=refs%2Fheads%2Fvserver;hp=ccdb7fd23c6128e550bc1ea4bd58c4d8f1cce98c;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/arch/v850/kernel/as85ep1.c b/arch/v850/kernel/as85ep1.c index ccdb7fd23..5352f8a5a 100644 --- a/arch/v850/kernel/as85ep1.c +++ b/arch/v850/kernel/as85ep1.c @@ -11,7 +11,6 @@ * Written by Miles Bader */ -#include #include #include #include @@ -57,10 +56,10 @@ void __init mach_early_init (void) AS85EP1_ASC = 0; AS85EP1_LBS = 0x00A9; - AS85EP1_PORT_PMC(6) = 0xFF; /* A20-25, A0,A1 有効 */ - AS85EP1_PORT_PMC(7) = 0x0E; /* CS1,2,3 有効 */ - AS85EP1_PORT_PMC(9) = 0xFF; /* D16-23 有効 */ - AS85EP1_PORT_PMC(10) = 0xFF; /* D24-31 有効 */ + 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; @@ -76,7 +75,7 @@ void __init mach_early_init (void) write to address (N - 0x10). We avoid this (effectively) by writing in 16-byte chunks backwards from the end. */ - AS85EP1_IRAMM = 0x3; /* 内蔵命令RAMは「write-mode」になります */ + 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 @@ -88,7 +87,7 @@ void __init mach_early_init (void) src -= 4; } while (src > (u32 *)&_intv_copy_src_start); - AS85EP1_IRAMM = 0x0; /* 内蔵命令RAMは「read-mode」になります */ + AS85EP1_IRAMM = 0x0; /* "read-mode" for the internal instruction memory */ #endif /* !CONFIG_ROM_KERNEL */ v850e_intc_disable_irqs (); @@ -160,8 +159,6 @@ void machine_restart (char *__unused) asm ("jmp r0"); /* Jump to the reset vector. */ } -EXPORT_SYMBOL(machine_restart); - void machine_halt (void) { #ifdef CONFIG_RESET_GUARD @@ -173,15 +170,11 @@ void machine_halt (void) 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) {