Config.in 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. menuconfig BR2_TARGET_AT91BOOTSTRAP
  2. depends on BR2_arm
  3. bool "AT91 Bootstrap"
  4. help
  5. AT91Bootstrap is a first level bootloader for the Atmel AT91
  6. devices. It integrates algorithms for:
  7. - Device initialization such as clock configuration, PIO settings...
  8. - Peripheral drivers such as PIO, PMC or SDRAMC...
  9. - Physical media algorithm such as DataFlash, NandFlash, NOR Flash...
  10. if BR2_TARGET_AT91BOOTSTRAP
  11. config BR2_TARGET_AT91BOOTSTRAP_BOARD
  12. string "Bootstrap board"
  13. default ""
  14. help
  15. This is used to do a make <board>_config
  16. choice
  17. prompt "Boot Memory"
  18. default BR2_TARGET_AT91BOOT_DATAFLASHCARD
  19. help
  20. Select Chip for which AT91 bootstrap should be built
  21. config BR2_TARGET_AT91BOOT_DATAFLASH
  22. bool "AT45 Dataflash"
  23. config BR2_TARGET_AT91BOOT_DATAFLASHCARD
  24. bool "AT45 Dataflash Card"
  25. config BR2_TARGET_AT91BOOT_NANDFLASH
  26. bool "NAND Flash"
  27. config BR2_TARGET_AT91BOOT_FLASH
  28. bool "Internal Flash or external parallel flash"
  29. config BR2_TARGET_AT91BOOT_SDCARD
  30. bool "SD-Card"
  31. config BR2_TARGET_AT91BOOT_EEPROM
  32. bool "EEPROM"
  33. endchoice
  34. config BR2_TARGET_AT91BOOTSTRAP_MEMORY
  35. string
  36. default "dataflash" if BR2_TARGET_AT91BOOT_DATAFLASH
  37. default "dataflashcard" if BR2_TARGET_AT91BOOT_DATAFLASHCARD
  38. default "nandflash" if BR2_TARGET_AT91BOOT_NANDFLASH
  39. default "flash" if BR2_TARGET_AT91BOOT_FLASH
  40. default "sdcard" if BR2_TARGET_AT91BOOT_SDCARD
  41. default "eeprom" if BR2_TARGET_AT91BOOT_EEPROM
  42. config BR2_AT91BOOTSTRAP_IMG_SIZE
  43. string "Image Size to copy to SDRAM"
  44. default "0x32000" if BR2_TARGET_AT91BOOT_DATAFLASH
  45. default "0x32000" if BR2_TARGET_AT91BOOT_DATAFLASHCARD
  46. default "0x30000" if BR2_TARGET_AT91BOOT_NANDFLASH
  47. default "0x100000" if BR2_TARGET_AT91BOOT_FLASH
  48. default "0x30000" if BR2_TARGET_AT91BOOT_SDCARD
  49. default "0x30000" if BR2_TARGET_AT91BOOT_EEPROM
  50. help
  51. Select the size of your application
  52. AT91 Bootstrap will copy this amount from flash to SDRAM
  53. choice
  54. prompt "Start address of application"
  55. default BR2_AT91BOOTSTRAP_JUMP_TO_DEFAULT
  56. help
  57. Location of the application start address
  58. config BR2_AT91BOOTSTRAP_JUMP_TO_DEFAULT
  59. bool "Copy to the default U-Boot start location in the SDRAM"
  60. help
  61. This is where you copy the U-Boot boot loader
  62. config BR2_AT91BOOTSTRAP_JUMP_TO_HIGH_SDRAM
  63. bool "Copy to the last Megabyte of the SDRAM"
  64. help
  65. This is where you copy a boot loader
  66. config BR2_AT91BOOTSTRAP_JUMP_TO_START_OF_SDRAM
  67. bool "Copy to the start of the SDRAM"
  68. help
  69. This is where you copy a standalone application
  70. endchoice
  71. config BR2_AT91BOOTSTRAP_JUMP_ADDR
  72. string
  73. default "0x23F00000" if BR2_AT91BOOTSTRAP_JUMP_TO_DEFAULT
  74. default "0x23F00000" if BR2_AT91BOOTSTRAP_JUMP_TO_HIGH_SDRAM
  75. default "0x20000000" if BR2_AT91BOOTSTRAP_JUMP_TO_START_OF_SDRAM
  76. endif