text_base.S 539 B

123456789101112131415161718192021
  1. /*
  2. * text_base
  3. *
  4. * (C) Copyright 2010, Thomas Chou <thomas@wytron.com.tw>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #include <config.h>
  11. #ifdef CONFIG_SYS_MONITOR_BASE
  12. .text
  13. /* text base used in link script u-boot.lds */
  14. .global text_base
  15. .equ text_base,CONFIG_SYS_MONITOR_BASE
  16. /* dummy func to let linker include this file */
  17. .global text_base_hook
  18. text_base_hook:
  19. ret
  20. #endif