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 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +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 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 24 | uses CONFIG_ROM_PAYLOAD_START |
| 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 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +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 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +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 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 43 | uses CONFIG_UDELAY_TSC |
| 44 | uses CONFIG_IDE |
| 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 = 512*1024 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +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 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +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 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +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 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 65 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 66 | default CONFIG_HAVE_HARD_RESET = 0 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 67 | |
| 68 | ## |
| 69 | ## Build code to export a programmable irq routing table |
| 70 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 71 | default CONFIG_HAVE_PIRQ_TABLE = 1 |
| 72 | default CONFIG_IRQ_SLOT_COUNT = 11 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 73 | |
| 74 | ## |
| 75 | ## Build code to export a CMOS option table |
| 76 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 77 | default CONFIG_HAVE_OPTION_TABLE = 0 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 78 | |
| 79 | ## IDE Support |
| 80 | default CONFIG_IDE = 1 |
| 81 | |
| 82 | ### |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 83 | ### coreboot layout values |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +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 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +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 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +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 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +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 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 105 | |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 106 | default CONFIG_RAMBASE = 0x00004000 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 107 | |
| 108 | default CONFIG_ROM_PAYLOAD = 1 |
| 109 | |
| 110 | ## |
| 111 | ## The default compiler |
| 112 | ## |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 113 | default CONFIG_CROSS_COMPILE="" |
| 114 | default CC="$(CONFIG_CROSS_COMPILE)gcc -m32" |
Stefan Reinauer | 9dd27bc | 2009-06-30 17:13:58 +0000 | [diff] [blame] | 115 | default HOSTCC="gcc" |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 116 | |
| 117 | ## |
| 118 | ## The Serial Console |
| 119 | ## |
| 120 | |
| 121 | # To Enable the Serial Console |
| 122 | default CONFIG_CONSOLE_SERIAL8250=1 |
| 123 | |
| 124 | ## Select the serial console baud rate |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 125 | default CONFIG_TTYS0_BAUD=115200 |
| 126 | #default CONFIG_TTYS0_BAUD=57600 |
| 127 | #default CONFIG_TTYS0_BAUD=38400 |
| 128 | #default CONFIG_TTYS0_BAUD=19200 |
| 129 | #default CONFIG_TTYS0_BAUD=9600 |
| 130 | #default CONFIG_TTYS0_BAUD=4800 |
| 131 | #default CONFIG_TTYS0_BAUD=2400 |
| 132 | #default CONFIG_TTYS0_BAUD=1200 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 133 | |
| 134 | # Select the serial console base port |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 135 | default CONFIG_TTYS0_BASE=0x3f8 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 136 | |
| 137 | # Select the serial protocol |
| 138 | # This defaults to 8 data bits, 1 stop bit, and no parity |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 139 | default CONFIG_TTYS0_LCS=0x3 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 140 | |
| 141 | ## |
Stefan Reinauer | f8ee180 | 2008-01-18 15:08:58 +0000 | [diff] [blame] | 142 | ### Select the coreboot loglevel |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 143 | ## |
| 144 | ## EMERG 1 system is unusable |
| 145 | ## ALERT 2 action must be taken immediately |
| 146 | ## CRIT 3 critical conditions |
| 147 | ## ERR 4 error conditions |
| 148 | ## WARNING 5 warning conditions |
| 149 | ## NOTICE 6 normal but significant condition |
| 150 | ## INFO 7 informational |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 151 | ## CONFIG_DEBUG 8 debug-level messages |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 152 | ## SPEW 9 Way too many details |
| 153 | |
| 154 | ## Request this level of debugging output |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 155 | default CONFIG_DEFAULT_CONSOLE_LOGLEVEL=9 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 156 | ## At a maximum only compile in this level of debugging |
Stefan Reinauer | 0867062 | 2009-06-30 15:17:49 +0000 | [diff] [blame] | 157 | default CONFIG_MAXIMUM_CONSOLE_LOGLEVEL=9 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 158 | |
| 159 | default CONFIG_UDELAY_TSC=1 |
Corey Osgood | e99bd10 | 2007-06-14 06:10:57 +0000 | [diff] [blame] | 160 | |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 161 | # |
Peter Stuge | 483b7bb | 2009-04-14 07:40:01 +0000 | [diff] [blame] | 162 | # CBFS |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 163 | # |
| 164 | # |
Patrick Georgi | b339e10 | 2009-08-11 17:35:02 +0000 | [diff] [blame^] | 165 | default CONFIG_CBFS=1 |
Ronald G. Minnich | d469cda | 2009-03-31 16:32:01 +0000 | [diff] [blame] | 166 | end |