Permalink
Browse files

MIPS JZ: Add SD emulation.

I wrote this code three months ago for qemu-jz.
It is accurate enough to let u-boot read sectors, but OpenDingux hangs after loading a bit. Might be interrupt related.
I did not test it yet in today's QEMU; I only fixed compilation.
  • Loading branch information...
1 parent 62aa019 commit ea644035c0d92d427b98937b390254fad11fb69c @mthuurne committed Jul 22, 2010
Showing with 443 additions and 2 deletions.
  1. +1 −1 Makefile.target
  2. +440 −1 hw/mips_jz.c
  3. +2 −0 hw/mips_jz.h
View
@@ -215,7 +215,7 @@ obj-ppc-y += ppce500_mpc8544ds.o
obj-ppc-$(CONFIG_KVM) += kvm_ppc.o
obj-ppc-$(CONFIG_FDT) += device_tree.o
-obj-mips-y = mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o mips_pavo.o mips_dingoo.o nand_bpage.o
+obj-mips-y = mips_r4k.o mips_jazz.o mips_malta.o mips_mipssim.o mips_pavo.o mips_dingoo.o nand_bpage.o sd.o
obj-mips-y += mips_jz.o mips_jz_clk.o
obj-mips-y += mips_addr.o mips_timer.o mips_int.o
obj-mips-y += vga.o i8259.o
Oops, something went wrong.

0 comments on commit ea64403

Please sign in to comment.