From: Erik M. <er...@us...> - 2001-07-16 15:49:24
|
Update of /cvsroot/blob/blob/src In directory usw-pr-cvs1:/tmp/cvs-serv24782 Modified Files: Tag: blob_1_0_9_hack flashasm.S Log Message: Use the funny flash mapping only for LART. Index: flashasm.S =================================================================== RCS file: /cvsroot/blob/blob/src/Attic/flashasm.S,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- flashasm.S 2001/07/08 22:34:14 1.1.2.1 +++ flashasm.S 2001/07/16 15:49:22 1.1.2.2 @@ -32,7 +32,9 @@ .globl data_from_flash /* Subroutine that takes data in r0 and formats it so it will be in */ /* the correct order for the internal flash */ + /* used for LART only */ data_to_flash: +#if defined LART mov r1, #0x0 tst r0, #0x00000001 @@ -104,10 +106,12 @@ orrne r1, r1, #0x10000000 mov r0, r1 +#endif mov pc, r14 /* Takes data received from the flash, and unshuffles it. */ data_from_flash: +#if defined LART mov r1, #0x00 tst r0, #0x00000001 @@ -179,6 +183,7 @@ orrne r1, r1, #0x00400000 mov r0, r1 +#endif mov pc, r14 |