testimg.S 440 B

1234567891011121314151617181920
  1. #include "sys.h"
  2. .section ".dram.test","a"
  3. .balign 16
  4. .globl __dram_test_start
  5. __dram_test_start:
  6. /* Override the rom offset pointer */
  7. .long 0, 0, 0
  8. .long __dram_test_start - SDRAM_ADDR + ROM_OFFSET + SRAM_SIZE
  9. .incbin "testimg.bin", 16
  10. .type __dram_test_start, @object
  11. .size __dram_test_start, . - __dram_test_start
  12. .globl __dram_test_end
  13. __dram_test_end:
  14. .globl __dram_test_size
  15. __dram_test_size = . - __dram_test_start