mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
MIPS: move au1x00 SoC code to arch/mips/mach-au1x00
Move all au1x00 code out of arch/mips/cpu/mips32 to allow unification of CPU code in a later patch. The reorganization of the SoC specific header files will be done in a later patch series. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Paul Burton <paul.burton@imgtec.com>
This commit is contained in:
parent
f1c64a0810
commit
d9a4a6223c
10 changed files with 8 additions and 10 deletions
|
@ -8,3 +8,5 @@ head-$(CONFIG_CPU_MIPS64) := arch/mips/cpu/mips64/start.o
|
|||
libs-$(CONFIG_CPU_MIPS32) += arch/mips/cpu/mips32/
|
||||
libs-$(CONFIG_CPU_MIPS64) += arch/mips/cpu/mips64/
|
||||
libs-y += arch/mips/lib/
|
||||
|
||||
libs-$(CONFIG_SOC_AU1X00) += arch/mips/mach-au1x00/
|
||||
|
|
|
@ -7,5 +7,3 @@
|
|||
|
||||
extra-y = start.o
|
||||
obj-y = cpu.o interrupts.o time.o
|
||||
|
||||
obj-$(CONFIG_SOC_AU1X00) += au1x00/
|
||||
|
|
|
@ -32,11 +32,3 @@ void write_one_tlb(int index, u32 pagemask, u32 hi, u32 low0, u32 low1)
|
|||
write_c0_index(index);
|
||||
tlb_write_indexed();
|
||||
}
|
||||
|
||||
int cpu_eth_init(bd_t *bis)
|
||||
{
|
||||
#ifdef CONFIG_SOC_AU1X00
|
||||
au1x00_enet_initialize(bis);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -294,3 +294,9 @@ int au1x00_enet_initialize(bd_t *bis){
|
|||
|
||||
return 1;
|
||||
}
|
||||
|
||||
int cpu_eth_init(bd_t *bis)
|
||||
{
|
||||
au1x00_enet_initialize(bis);
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Reference in a new issue