Fork of the vendor (Boundary Devices) u-boot for Reform 2, with minor tweaks. The goal is to migrate to mainstream u-boot or barebox ASAP. The main impediment so far is the 4GB RAM config.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 

51 lines
922 B

  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2002
  4. * Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
  5. *
  6. * (C) Copyright 2010
  7. * Texas Instruments, <www.ti.com>
  8. * Aneesh V <aneesh@ti.com>
  9. */
  10. MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
  11. LENGTH = CONFIG_SPL_MAX_SIZE }
  12. MEMORY { .sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \
  13. LENGTH = CONFIG_SPL_BSS_MAX_SIZE }
  14. OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
  15. OUTPUT_ARCH(arm)
  16. ENTRY(_start)
  17. SECTIONS
  18. {
  19. .text :
  20. {
  21. __start = .;
  22. *(.vectors)
  23. arch/arm/cpu/arm1136/start.o (.text*)
  24. *(.text*)
  25. } >.sram
  26. . = ALIGN(4);
  27. .rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
  28. . = ALIGN(4);
  29. .data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
  30. . = ALIGN(4);
  31. __image_copy_end = .;
  32. .end :
  33. {
  34. *(.__end)
  35. }
  36. .bss :
  37. {
  38. . = ALIGN(4);
  39. __bss_start = .;
  40. *(.bss*)
  41. . = ALIGN(4);
  42. __bss_end = .;
  43. } >.sdram
  44. }