changeset 1238:481618f41f1d

boot_mmc.asm updated, fixed makefile
author boisy
date Sun, 03 Aug 2003 00:30:20 +0000
parents 767df8dd8f3d
children 90bad6d8388c
files 3rdparty/booters/boot_mmc.asm 3rdparty/booters/makefile
diffstat 2 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/3rdparty/booters/boot_mmc.asm	Fri Aug 01 03:17:57 2003 +0000
+++ b/3rdparty/booters/boot_mmc.asm	Sun Aug 03 00:30:20 2003 +0000
@@ -13,6 +13,8 @@
 * Ed.    Comments                                       Who YY/MM/DD
 * ------------------------------------------------------------------
 * 1      Created                                        JH  03/05/17
+* 2      Fixed bug that was also in MMCDRV when		JMH 03/08/01  
+*        reading a byte from the status register 
 
          nam   Boot
          ttl   MMC Boot Module
@@ -24,7 +26,7 @@
 tylg     set   Systm+Objct
 atrv     set   ReEnt+rev
 rev      set   2
-edition  set   1
+edition  set   2
 
          mod   eom,name,tylg,atrv,start,size
 
@@ -198,9 +200,11 @@
          beq   CHKRG          Response is good, exit without error
          decb                 Keep looping?
          bne   CHKRL1         Done yet?
-CHKRB    comb                 Set error state
+CHKRB    bsr   DLYSTRT        Need delay
+         comb                 Set error state
          puls  b,pc           Return
-CHKRG    clrb                 Set no error
+CHKRG    bsr   DLYSTRT        Need delay
+         clrb                 Set no error
          puls  b,pc           Return
 * End CHKR routine
 
--- a/3rdparty/booters/makefile	Fri Aug 01 03:17:57 2003 +0000
+++ b/3rdparty/booters/makefile	Sun Aug 03 00:30:20 2003 +0000
@@ -1,12 +1,8 @@
 include ../../Makefile.rules
 
 DEPENDS		= ./Makefile
-BOOTERS_L2	= boot_ktlr_id0 boot_ktlr_id5  \
-		boot_tc3_id0 boot_tc3_id5 \
-		boot_vhd boot_mmc_l2
-BOOTERS_L1	= boot_ktlr_id0_l1 boot_ktlr_id5_l1 \
-		boot_tc3_id0_l1 boot_tc3_id5_l1 \
-		boot_mmc_l1
+BOOTERS_L2	= boot_vhd boot_mmc_l2
+BOOTERS_L1	= boot_mmc_l1
 ALLOBJS		= $(BOOTERS_L2) $(BOOTERS_L1)
 
 all:	$(ALLOBJS) $(DEPENDS)