legacy.S
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 0k
Development Platform:

Unix_Linux

  1. /*
  2.  * arch/ppc/boot/simple/legacy.S
  3.  *
  4.  * Author: Tom Rini <trini@mvista.com>
  5.  *
  6.  * This will go and setup ISA_io to 0x8000000 and return.
  7.  */
  8. #include <asm/ppc_asm.h>
  9. .text
  10. .globl serial_fixups
  11. serial_fixups:
  12. lis r3,ISA_io@h /* Load ISA_io */
  13. ori r3,r3,ISA_io@l
  14. lis r4,0x8000 /* Load the value, 0x8000000 */
  15. stw r4,0(r3) /* store */
  16. blr