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 | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 10 | uses CONFIG_IRQ_SLOT_COUNT |
| 11 | uses CONFIG_MAINBOARD |
| 12 | uses CONFIG_MAINBOARD_VENDOR |
| 13 | uses CONFIG_MAINBOARD_PART_NUMBER |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 14 | uses COREBOOT_EXTRA_VERSION |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 15 | uses CONFIG_ARCH |
| 16 | uses CONFIG_FALLBACK_SIZE |
| 17 | uses CONFIG_STACK_SIZE |
| 18 | uses CONFIG_HEAP_SIZE |
| 19 | uses CONFIG_ROM_SIZE |
| 20 | uses CONFIG_ROM_SECTION_SIZE |
| 21 | uses CONFIG_ROM_IMAGE_SIZE |
| 22 | uses CONFIG_ROM_SECTION_SIZE |
| 23 | uses CONFIG_ROM_SECTION_OFFSET |
Ed Swierk | be13dc7 | 2006-12-15 12:56:28 +0000 | [diff] [blame] | 24 | uses CONFIG_ROM_PAYLOAD_START |
Ed Swierk | 1a7a5b4 | 2006-12-15 11:42:16 +0000 | [diff] [blame] | 25 | uses CONFIG_COMPRESSED_PAYLOAD_LZMA |
Myles Watson | 15674b7 | 2007-12-09 17:18:29 +0000 | [diff] [blame] | 26 | uses CONFIG_PRECOMPRESSED_PAYLOAD |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 27 | uses CONFIG_PAYLOAD_SIZE |
| 28 | uses CONFIG_ROMBASE |
| 29 | uses CONFIG_RAMBASE |
| 30 | uses CONFIG_XIP_ROM_SIZE |
| 31 | uses CONFIG_XIP_ROM_BASE |
| 32 | uses CONFIG_HAVE_MP_TABLE |
| 33 | uses CONFIG_CROSS_COMPILE |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 34 | uses CC |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 35 | uses HOSTCC |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 36 | uses CONFIG_OBJCOPY |
| 37 | uses CONFIG_DEFAULT_CONSOLE_LOGLEVEL |
| 38 | uses CONFIG_MAXIMUM_CONSOLE_LOGLEVEL |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 39 | uses CONFIG_CONSOLE_SERIAL8250 |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 40 | uses CONFIG_TTYS0_BAUD |
| 41 | uses CONFIG_TTYS0_BASE |
| 42 | uses CONFIG_TTYS0_LCS |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 43 | uses CONFIG_UDELAY_TSC |
| 44 | uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 |
| 45 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 46 | ## CONFIG_ROM_SIZE is the size of boot ROM that this board will use. |
| 47 | default CONFIG_ROM_SIZE = 256*1024 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 48 | |
| 49 | ### |
| 50 | ### Build options |
| 51 | ### |
| 52 | |
| 53 | ## |
| 54 | ## Build code for the fallback boot |
| 55 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 56 | default CONFIG_HAVE_FALLBACK_BOOT=1 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 57 | |
| 58 | ## |
| 59 | ## no MP table |
| 60 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 61 | default CONFIG_HAVE_MP_TABLE=0 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 62 | |
| 63 | ## |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 64 | ## Build code to reset the motherboard from coreboot |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 65 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 66 | default CONFIG_HAVE_HARD_RESET=0 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 67 | |
| 68 | ## Delay timer options |
| 69 | ## |
| 70 | default CONFIG_UDELAY_TSC=1 |
| 71 | default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2=1 |
| 72 | |
| 73 | ## |
| 74 | ## Build code to export a programmable irq routing table |
| 75 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 76 | default CONFIG_HAVE_PIRQ_TABLE=1 |
| 77 | default CONFIG_IRQ_SLOT_COUNT=2 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 78 | #object irq_tables.o |
| 79 | |
| 80 | ## |
| 81 | ## Build code to export a CMOS option table |
| 82 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 83 | default CONFIG_HAVE_OPTION_TABLE=0 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 84 | |
| 85 | ### |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 86 | ### coreboot layout values |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 87 | ### |
| 88 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 89 | ## CONFIG_ROM_IMAGE_SIZE is the amount of space to allow coreboot to occupy. |
| 90 | default CONFIG_ROM_IMAGE_SIZE = 65536 |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 91 | default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 92 | |
| 93 | ## |
| 94 | ## Use a small 8K stack |
| 95 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 96 | default CONFIG_STACK_SIZE=0x2000 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 97 | |
| 98 | ## |
| 99 | ## Use a small 16K heap |
| 100 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 101 | default CONFIG_HEAP_SIZE=0x4000 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 102 | |
| 103 | ## |
| 104 | ## Only use the option table in a normal image |
| 105 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 106 | #default CONFIG_USE_OPTION_TABLE = !CONFIG_USE_FALLBACK_IMAGE |
| 107 | default CONFIG_USE_OPTION_TABLE = 0 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 108 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 109 | default CONFIG_RAMBASE = 0x00004000 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 110 | |
Ed Swierk | be13dc7 | 2006-12-15 12:56:28 +0000 | [diff] [blame] | 111 | default CONFIG_ROM_PAYLOAD = 1 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 112 | |
| 113 | ## |
| 114 | ## The default compiler |
| 115 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 116 | default CONFIG_CROSS_COMPILE="" |
| 117 | default CC="$(CONFIG_CROSS_COMPILE)gcc -m32" |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 118 | default HOSTCC="gcc" |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 119 | |
| 120 | ## |
| 121 | ## The Serial Console |
| 122 | ## |
| 123 | |
| 124 | # To Enable the Serial Console |
| 125 | default CONFIG_CONSOLE_SERIAL8250=1 |
| 126 | |
| 127 | ## Select the serial console baud rate |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 128 | default CONFIG_TTYS0_BAUD=115200 |
| 129 | #default CONFIG_TTYS0_BAUD=57600 |
| 130 | #default CONFIG_TTYS0_BAUD=38400 |
| 131 | #default CONFIG_TTYS0_BAUD=19200 |
| 132 | #default CONFIG_TTYS0_BAUD=9600 |
| 133 | #default CONFIG_TTYS0_BAUD=4800 |
| 134 | #default CONFIG_TTYS0_BAUD=2400 |
| 135 | #default CONFIG_TTYS0_BAUD=1200 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 136 | |
| 137 | # Select the serial console base port |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 138 | default CONFIG_TTYS0_BASE=0x3f8 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 139 | |
| 140 | # Select the serial protocol |
| 141 | # This defaults to 8 data bits, 1 stop bit, and no parity |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 142 | default CONFIG_TTYS0_LCS=0x3 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 143 | |
| 144 | ## |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 145 | ### Select the coreboot loglevel |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 146 | ## |
| 147 | ## EMERG 1 system is unusable |
| 148 | ## ALERT 2 action must be taken immediately |
| 149 | ## CRIT 3 critical conditions |
| 150 | ## ERR 4 error conditions |
| 151 | ## WARNING 5 warning conditions |
| 152 | ## NOTICE 6 normal but significant condition |
| 153 | ## INFO 7 informational |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 154 | ## CONFIG_DEBUG 8 debug-level messages |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 155 | ## SPEW 9 Way too many details |
| 156 | |
| 157 | ## Request this level of debugging output |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 158 | default CONFIG_DEFAULT_CONSOLE_LOGLEVEL=8 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 159 | ## At a maximum only compile in this level of debugging |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 160 | default CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=8 |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 161 | |
Ronald G. Minnich | e0aea3b | 2006-02-11 22:07:44 +0000 | [diff] [blame] | 162 | |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 163 | # |
Peter Stuge | 483b7bb | 2009-04-14 07:40:01 +0000 | [diff] [blame] | 164 | # CBFS |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 165 | # |
| 166 | # |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 167 | default CONFIG_CBFS=1 |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 168 | end |