Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 1 | uses CONFIG_HAVE_MP_TABLE |
Peter Stuge | 483b7bb | 2009-04-14 07:40:01 +0000 | [diff] [blame] | 2 | uses CONFIG_CBFS |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 3 | uses CONFIG_HAVE_PIRQ_TABLE |
| 4 | uses CONFIG_USE_FALLBACK_IMAGE |
| 5 | uses CONFIG_HAVE_FALLBACK_BOOT |
| 6 | uses CONFIG_HAVE_HARD_RESET |
| 7 | uses CONFIG_HAVE_OPTION_TABLE |
| 8 | uses CONFIG_USE_OPTION_TABLE |
Ed Swierk | be13dc7 | 2006-12-15 12:56:28 +0000 | [diff] [blame] | 9 | uses CONFIG_ROM_PAYLOAD |
Stefan Reinauer | 453dfdf | 2005-12-04 17:50:32 +0000 | [diff] [blame] | 10 | uses CONFIG_UDELAY_IO |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 11 | uses CONFIG_IRQ_SLOT_COUNT |
| 12 | uses CONFIG_MAINBOARD |
| 13 | uses CONFIG_MAINBOARD_VENDOR |
| 14 | uses CONFIG_MAINBOARD_PART_NUMBER |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 15 | uses COREBOOT_EXTRA_VERSION |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 16 | uses CONFIG_ARCH |
| 17 | uses CONFIG_FALLBACK_SIZE |
| 18 | uses CONFIG_STACK_SIZE |
| 19 | uses CONFIG_HEAP_SIZE |
| 20 | uses CONFIG_ROM_SIZE |
| 21 | uses CONFIG_ROM_SECTION_SIZE |
| 22 | uses CONFIG_ROM_IMAGE_SIZE |
| 23 | uses CONFIG_ROM_SECTION_SIZE |
| 24 | uses CONFIG_ROM_SECTION_OFFSET |
Ed Swierk | be13dc7 | 2006-12-15 12:56:28 +0000 | [diff] [blame] | 25 | uses CONFIG_ROM_PAYLOAD_START |
Ed Swierk | 1a7a5b4 | 2006-12-15 11:42:16 +0000 | [diff] [blame] | 26 | uses CONFIG_COMPRESSED_PAYLOAD_LZMA |
Myles Watson | 15674b7 | 2007-12-09 17:18:29 +0000 | [diff] [blame] | 27 | uses CONFIG_PRECOMPRESSED_PAYLOAD |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 28 | uses CONFIG_PAYLOAD_SIZE |
| 29 | uses CONFIG_ROMBASE |
| 30 | uses CONFIG_RAMBASE |
| 31 | uses CONFIG_XIP_ROM_SIZE |
| 32 | uses CONFIG_XIP_ROM_BASE |
| 33 | uses CONFIG_HAVE_MP_TABLE |
| 34 | uses CONFIG_CROSS_COMPILE |
Eric Biederman | 709850a | 2004-11-05 10:48:04 +0000 | [diff] [blame] | 35 | uses CC |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 36 | uses HOSTCC |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 37 | uses CONFIG_OBJCOPY |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 38 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 39 | uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL |
| 40 | uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL |
| 41 | default CONFIG_DEFAULT_CONSOLE_LOGLEVEL=9 |
| 42 | default CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=9 |
| 43 | ## CONFIG_ROM_SIZE is the size of boot ROM that this board will use. |
| 44 | default CONFIG_ROM_SIZE = 1024*1024 |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 45 | |
| 46 | ### |
| 47 | ### Build options |
| 48 | ### |
| 49 | |
| 50 | ## |
| 51 | ## Build code for the fallback boot |
| 52 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 53 | default CONFIG_HAVE_FALLBACK_BOOT=1 |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 54 | |
| 55 | ## |
| 56 | ## no MP table |
| 57 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 58 | default CONFIG_HAVE_MP_TABLE=0 |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 59 | |
| 60 | ## |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 61 | ## Build code to reset the motherboard from coreboot |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 62 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 63 | default CONFIG_HAVE_HARD_RESET=1 |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 64 | |
| 65 | ## |
Stefan Reinauer | 453dfdf | 2005-12-04 17:50:32 +0000 | [diff] [blame] | 66 | ## use io based udelay function |
| 67 | ## |
| 68 | default CONFIG_UDELAY_IO=1 |
| 69 | |
| 70 | ## |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 71 | ## Build code to export a programmable irq routing table |
| 72 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 73 | default CONFIG_HAVE_PIRQ_TABLE=1 |
| 74 | default CONFIG_IRQ_SLOT_COUNT=5 |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 75 | #object irq_tables.o |
| 76 | |
| 77 | ## |
| 78 | ## Build code to export a CMOS option table |
| 79 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 80 | default CONFIG_HAVE_OPTION_TABLE=1 |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 81 | |
| 82 | ### |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 83 | ### coreboot layout values |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 84 | ### |
| 85 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 86 | ## CONFIG_ROM_IMAGE_SIZE is the amount of space to allow coreboot to occupy. |
| 87 | default CONFIG_ROM_IMAGE_SIZE = 65536 |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 88 | default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 89 | |
| 90 | ## |
| 91 | ## Use a small 8K stack |
| 92 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 93 | default CONFIG_STACK_SIZE=0x2000 |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 94 | |
| 95 | ## |
| 96 | ## Use a small 16K heap |
| 97 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 98 | default CONFIG_HEAP_SIZE=0x4000 |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 99 | |
| 100 | ## |
| 101 | ## Only use the option table in a normal image |
| 102 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 103 | #default CONFIG_USE_OPTION_TABLE = !CONFIG_USE_FALLBACK_IMAGE |
| 104 | default CONFIG_USE_OPTION_TABLE = 0 |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 105 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 106 | default CONFIG_RAMBASE = 0x00004000 |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 107 | |
Ed Swierk | be13dc7 | 2006-12-15 12:56:28 +0000 | [diff] [blame] | 108 | default CONFIG_ROM_PAYLOAD = 1 |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 109 | |
Eric Biederman | 709850a | 2004-11-05 10:48:04 +0000 | [diff] [blame] | 110 | ## |
| 111 | ## The default compiler |
| 112 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 113 | default CC="$(CONFIG_CROSS_COMPILE)gcc -m32" |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 114 | default HOSTCC="gcc" |
Eric Biederman | 709850a | 2004-11-05 10:48:04 +0000 | [diff] [blame] | 115 | |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 116 | |
| 117 | |
| 118 | # |
Peter Stuge | 483b7bb | 2009-04-14 07:40:01 +0000 | [diff] [blame] | 119 | # CBFS |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 120 | # |
| 121 | # |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 122 | default CONFIG_CBFS=1 |
Eric Biederman | 23bc47d | 2004-11-04 11:09:12 +0000 | [diff] [blame] | 123 | end |