CONFIG_USE_PRINTK_IN_CAR and ht chain id for HTX support in
[coreboot.git] / src / config / Options.lb
1 #######################################################
2 #
3 # Main options file for LinuxBIOS
4 #
5 # Each option used by a part must be defined in
6 # this file. The format for options is:
7 #
8 #   define <name> 
9 #       default <expr> | {<expr>} | "<string>" | none
10 #       format "<string>"
11 #       export always | used | never
12 #       comment "<string>"
13 #   end
14 #
15 # where 
16 #
17 #   <name> is the name of the option
18 #   <expr> is a numeric expression
19 #   <string> is a string
20 #
21 # Either a default value or 'default none' must
22 # be specified for every option. An option
23 # specified as 'default none' will not be exported
24 # (i.e. will remain undefined) unless it has
25 # been assigned a value.
26 #
27 # Option values can be an immediate expression that 
28 # evaluates to a numeric value, a delayed expression 
29 # (surrounded by curley braces), or a string 
30 # (surrounded by double quotes.)
31 #
32 # Immediate expressions are evaluated at the time an
33 # option is defined or set and the numeric result 
34 # becomes the value of the option.
35 #
36 # Delayed expression are evaluated at the time the 
37 # option is used, either in another expression or 
38 # when being exported.
39 #
40 # String values will have the double quotes removed 
41 # automatically. 
42 #
43 # Format strings determine the print format that is 
44 # used when exporting options. The default format
45 # is "%s" for strings and "%d" for numbers.
46 #
47 # Exported options generate entries in the 
48 # Makefile.settings file. Options can be always 
49 # exported, exported only if used, or never exported.
50 #
51 # A comment string must be supplied for every option.
52 #
53 #######################################################
54
55 ###############################################
56 # Architecture options
57 ###############################################
58
59 define ARCH
60         default "i386"
61         export always
62         comment "Default architecture is i386, options are alpha and ppc"
63 end
64 define HAVE_MOVNTI
65         default 0
66         export always
67         comment "This cpu supports the MOVNTI directive"
68 end
69
70 ###############################################
71 # Build options
72 ###############################################
73
74 define CROSS_COMPILE
75         default ""
76         export always
77         comment "Cross compiler prefix"
78 end
79 define CC
80         default "$(CROSS_COMPILE)gcc"
81         export always
82         comment "Target C Compiler"
83 end
84 define HOSTCC
85         default "gcc"
86         export always
87         comment "Host C Compiler"
88 end
89 define CPU_OPT
90         default none
91         export used
92         comment "Additional per-cpu CFLAGS"
93 end
94 define OBJCOPY
95         default "$(CROSS_COMPILE)objcopy --gap-fill 0xff"
96         export always
97         comment "Objcopy command"
98 end
99 define LINUXBIOS_VERSION
100         default "2.0.0"
101         export always
102         format "\"%s\""
103         comment "LinuxBIOS version"
104 end
105 define LINUXBIOS_EXTRA_VERSION
106         default ""
107         export used
108         format "\"%s\""
109         comment "LinuxBIOS extra version"
110 end
111 define LINUXBIOS_BUILD
112         default "$(shell date)"
113         export always
114         format "\"%s\""
115         comment "Build date"
116 end
117 define LINUXBIOS_COMPILE_TIME
118         default "$(shell date +%T)"
119         export always
120         format "\"%s\""
121         comment "Build time"
122 end
123 define LINUXBIOS_COMPILE_BY
124         default "$(shell whoami)"
125         export always
126         format "\"%s\""
127         comment "Who build this image"
128 end
129 define LINUXBIOS_COMPILE_HOST
130         default "$(shell hostname)"
131         export always
132         format "\"%s\""
133         comment "Build host"
134 end
135
136 define LINUXBIOS_COMPILE_DOMAIN
137         default "$(shell dnsdomainname)"
138         export always
139         format "\"%s\""
140         comment "Build domain name"
141 end
142 define LINUXBIOS_COMPILER
143         default "$(shell $(CC) $(CFLAGS) -v 2>&1 | tail -n 1)"
144         export always
145         format "\"%s\""
146         comment "Build compiler"
147 end
148 define LINUXBIOS_LINKER
149         default "$(shell  $(CC) -Wl,--version 2>&1 | grep version | tail -n 1)"
150         export always
151         format "\"%s\""
152         comment "Build linker"
153 end
154 define LINUXBIOS_ASSEMBLER
155         default "$(shell  touch dummy.s ; $(CC) -c -Wa,-v dummy.s 2>&1; rm -f dummy.s dummy.o )"
156         export always
157         format "\"%s\""
158         comment "Build assembler"
159 end
160 define CONFIG_CHIP_CONFIGURE
161         default 0
162         export used
163         comment "Use new chip_configure method for configuring (non-pci) devices"
164 end
165 define CONFIG_USE_INIT
166         default 0
167         export always
168         comment "Use stage 1 initialization code"
169 end
170
171 ###############################################
172 # ROM image options
173 ###############################################
174
175 define HAVE_FALLBACK_BOOT
176         format "%d"
177         default 0
178         export always
179         comment "Set if fallback booting required"
180 end
181 define HAVE_FAILOVER_BOOT
182         format "%d"
183         default 0
184         export always
185         comment "Set if failover booting required"
186 end
187 define USE_FALLBACK_IMAGE
188         format "%d"
189         default 0
190         export used
191         comment "Set to build a fallback image"
192 end
193 define USE_FAILOVER_IMAGE
194         format "%d"
195         default 0
196         export used
197         comment "Set to build a failover image"
198 end
199 define FALLBACK_SIZE
200         default 65536
201         format "0x%x"
202         export used
203         comment "Default fallback image size"
204 end
205 define FAILOVER_SIZE
206         default 0
207         format "0x%x"
208         export used
209         comment "Default failover image size"
210 end
211 define ROM_SIZE
212         default none
213         format "0x%x"
214         export used
215         comment "Size of your ROM"
216 end
217 define ROM_IMAGE_SIZE
218         default 65535
219         format "0x%x"
220         export always
221         comment "Default image size"
222 end
223 define ROM_SECTION_SIZE
224         default {FALLBACK_SIZE}
225         format "0x%x"
226         export used
227         comment "Default rom section size"
228 end
229 define ROM_SECTION_OFFSET
230         default {ROM_SIZE - FALLBACK_SIZE}
231         format "0x%x"
232         export used
233         comment "Default rom section offset"
234 end
235 define PAYLOAD_SIZE
236         default {ROM_SECTION_SIZE - ROM_IMAGE_SIZE}
237         format "0x%x"
238         export always
239         comment "Default payload size"
240 end
241 define _ROMBASE
242         default {PAYLOAD_SIZE}
243         format "0x%x"
244         export always
245         comment "Base address of LinuxBIOS in ROM"
246 end
247 define _ROMSTART
248         default none
249         format "0x%x"
250         export used
251         comment "Start address of LinuxBIOS in ROM"
252 end
253 define _RESET
254         default {_ROMBASE}
255         format "0x%x"
256         export always
257         comment "Hardware reset vector address"
258 end
259 define _EXCEPTION_VECTORS
260         default {_ROMBASE+0x100}
261         format "0x%x"
262         export always
263         comment "Address of exception vector table"
264 end
265 define STACK_SIZE
266         default 0x2000
267         format "0x%x"
268         export always
269         comment "Default stack size"
270 end
271 define HEAP_SIZE
272         default 0x2000
273         format "0x%x"
274         export always
275         comment "Default heap size"
276 end
277 define _RAMBASE
278         default none
279         format "0x%x"
280         export always
281         comment "Base address of LinuxBIOS in RAM"
282 end
283 define _RAMSTART
284         default none
285         format "0x%x"
286         export used
287         comment "Start address of LinuxBIOS in RAM"
288 end
289 define USE_DCACHE_RAM
290         default 0
291         export always
292         comment "Use data cache as temporary RAM if possible"
293 end
294 define DCACHE_RAM_BASE
295         default 0xc0000
296         format "0x%x"
297         export always
298         comment "Base address of data cache when using it for temporary RAM"
299 end
300 define DCACHE_RAM_SIZE
301         default 0x1000
302         format "0x%x"
303         export always
304         comment "Size of data cache when using it for temporary RAM"
305 end
306 define DCACHE_RAM_GLOBAL_VAR_SIZE
307         default 0
308         format "0x%x"
309         export always
310         comment "Size of region that for global variable of cache as ram stage"
311 end
312 define CONFIG_AP_CODE_IN_CAR
313         default 0
314         export always
315         comment "will copy linuxbios_apc to AP cache ane execute in AP"
316 end
317 define MEM_TRAIN_SEQ
318         default 0
319         export always
320         comment "0: three for in bsp, 1: on every core0, 2: one for on bsp"
321 end
322 define WAIT_BEFORE_CPUS_INIT
323         default 0
324         export always
325         comment "execute cpus_ready_for_init if it is set to 1"
326 end
327 define XIP_ROM_BASE
328         default 0
329         format "0x%x"
330         export used
331         comment "Start address of area to cache during LinuxBIOS execution directly from ROM"
332 end
333 define XIP_ROM_SIZE
334         default 0
335         format "0x%x"
336         export used
337         comment "Size of area to cache during LinuxBIOS execution directly from ROM"
338 end
339 define CONFIG_COMPRESS
340         default 1
341         export always
342         comment "Set for compressed image"
343 end
344 define CONFIG_UNCOMPRESSED
345         format "%d"
346         default {!CONFIG_COMPRESS}
347         export always
348         comment "Set for uncompressed image"
349 end
350 define CONFIG_LB_MEM_TOPK
351         format "%d"
352         default 2048
353         export always
354         comment "Kilobytes of memory to initialized before executing code from RAM"
355 end
356 define HAVE_OPTION_TABLE
357         default 0
358         export always
359         comment "Export CMOS option table"
360 end
361 define USE_OPTION_TABLE
362         format "%d"
363         default {HAVE_OPTION_TABLE && !USE_FALLBACK_IMAGE}
364         export always
365         comment "Use option table"
366 end
367
368 ###############################################
369 # CMOS variable options
370 ###############################################
371 define LB_CKS_RANGE_START
372         default 49
373         format "%d"
374         export always
375         comment "First CMOS byte to use for LinuxBIOS options"
376 end
377 define LB_CKS_RANGE_END
378         default 125
379         format "%d"
380         export always
381         comment "Last CMOS byte to use for LinuxBIOS options"
382 end
383 define LB_CKS_LOC
384         default 126
385         format "%d"
386         export always
387         comment "Pair of bytes to use for CMOS checksum"
388 end
389
390
391 ###############################################
392 # Build targets
393 ###############################################
394
395 define CRT0
396         default "$(TOP)/src/arch/$(ARCH)/init/crt0.S.lb"
397         export always
398         comment "Main initialization target"
399 end
400
401 ###############################################
402 # Debugging/Logging options
403 ###############################################
404
405 define DEBUG
406         default 1
407         export always
408         comment "Enable debugging code"
409 end
410 define CONFIG_CONSOLE_VGA
411         default 0
412         export always
413         comment "Log messages to VGA"
414 end
415 define CONFIG_CONSOLE_VGA_MULTI
416         default 0
417         export always
418         comment "Multi VGA console"
419 end
420 define CONFIG_CONSOLE_VGA_ONBOARD_AT_FIRST
421         default 0
422         export always
423         comment "Use onboard VGA instead of add on VGA card"
424 end
425 define CONFIG_CONSOLE_BTEXT
426         default 0
427         export always
428         comment "Log messages to btext fb console"
429 end
430 define CONFIG_CONSOLE_LOGBUF
431         default 0
432         export always
433         comment "Log messages to buffer"
434 end
435 define CONFIG_CONSOLE_SROM
436         default 0
437         export always
438         comment "Log messages to SROM console"
439 end
440 define CONFIG_CONSOLE_SERIAL8250
441         default 0
442         export always
443         comment "Log messages to 8250 uart based serial console"
444 end
445 define DEFAULT_CONSOLE_LOGLEVEL
446         default 7
447         export always
448         comment "Console will log at this level unless changed"
449 end
450 define MAXIMUM_CONSOLE_LOGLEVEL
451         default 8
452         export always
453         comment "Error messages up to this level can be printed"
454 end
455 define CONFIG_SERIAL_POST
456         default 0
457         export always
458         comment "Enable SERIAL POST codes"
459 end
460 define NO_POST
461         default none
462         export used
463         comment "Disable POST codes"
464 end
465 define TTYS0_BASE
466         default 0x3f8
467         format "0x%x"
468         export always
469         comment "Base address for 8250 uart for the serial console"
470 end
471 define TTYS0_BAUD
472         default 115200
473         export always
474         comment "Default baud rate for serial console"
475 end
476 define TTYS0_DIV
477         default none
478         format "%d"
479         export used
480         comment "Allow UART divisor to be set explicitly"
481 end
482 define TTYS0_LCS
483         default 0x3
484         format "0x%x"
485         export always
486         comment "Default flow control settings for the 8250 serial console uart"
487 end
488
489 define CONFIG_USE_PRINTK_IN_CAR
490         default 0
491         export always
492         comment "use printk instead of print in CAR stage code"
493 end
494
495         
496 ###############################################
497 # Mainboard options
498 ###############################################
499
500 define MAINBOARD
501         default "Mainboard_not_set"
502         export always
503         comment "Mainboard name"
504 end
505 define MAINBOARD_PART_NUMBER
506         default "Part_number_not_set"
507         export always
508         format "\"%s\""
509         comment "Part number of mainboard"
510 end
511 define MAINBOARD_VENDOR
512         default "Vendor_not_set"
513         export always
514         format "\"%s\""
515         comment "Vendor of mainboard"
516 end
517 define MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
518         default 0
519         export always
520         comment "PCI Vendor ID of mainboard manufacturer"
521 end
522 define MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
523         default 0
524         format "0x%x"
525         export always
526         comment "PCI susbsystem device id assigned my mainboard manufacturer"
527 end
528 define MAINBOARD_POWER_ON_AFTER_POWER_FAIL
529         default none
530         export used
531         comment "Default power on after power fail setting"
532 end
533 define CONFIG_SYS_CLK_FREQ
534         default none
535         export used
536         comment "System clock frequency in MHz"
537 end
538 define CONFIG_MAX_PCI_BUSES
539         default 255
540         export always
541         comment "Maximum number of PCI buses to search for devices"
542 end
543 ###############################################
544 # SMP options
545 ###############################################
546
547 define CONFIG_SMP
548         default 0
549         export always
550         comment "Define if we support SMP"
551 end
552 define CONFIG_MAX_CPUS
553         default 1
554         export always
555         comment "Maximum CPU count for this machine"
556 end
557 define CONFIG_MAX_PHYSICAL_CPUS
558         default 1
559         export always
560         comment "Maximum physical CPU count for this machine"
561 end
562 define CONFIG_LOGICAL_CPUS
563         default 0
564         export always
565         comment "Should multiple cpus per die be enabled?"
566 end
567 define HAVE_MP_TABLE
568         default none
569         export used
570         comment "Define to build an MP table"
571 end
572 define SERIAL_CPU_INIT
573         default 1
574         export always
575         comment "Serialize CPU init"
576 end
577 define APIC_ID_OFFSET
578         default 0
579         export always
580         comment "We need to share this value between cache_as_ram_auto.c and northbridge.c"
581 end
582 define ENABLE_APIC_EXT_ID
583         default 0
584         export always
585         comment "Enable APIC ext id mode 8 bit"
586 end
587 define LIFT_BSP_APIC_ID
588         default 0
589         export always
590         comment "decide if we lift bsp apic id while ap apic id"
591 end
592 ###############################################
593 # Boot options
594 ###############################################
595
596 define CONFIG_IDE_STREAM
597         default 0
598         export always
599         comment "Boot from IDE device"
600 end
601 define CONFIG_ROM_STREAM
602         default 0
603         export always
604         comment "Boot image is located in ROM" 
605 end
606 define CONFIG_ROM_STREAM_START
607         default {0xffffffff - ROM_SIZE + ROM_SECTION_OFFSET + 1}
608         format "0x%x"
609         export always
610         comment "ROM stream start location"
611 end
612 define CONFIG_COMPRESSED_ROM_STREAM
613         default 0
614         export always
615         comment "compressed boot image is located in ROM and is assumed to be NRV2B (deprecated)" 
616 end
617 define CONFIG_COMPRESSED_ROM_STREAM_NRV2B
618         default 0
619         export always
620         comment "NRV2B compressed boot image is located in ROM" 
621 end
622 define CONFIG_COMPRESSED_ROM_STREAM_LZMA
623         default 0
624         export always
625         comment "LZMA compressed boot image is located in ROM" 
626 end
627 define CONFIG_PRECOMPRESSED_ROM_STREAM
628         default 0
629         export always
630         comment "boot image is already compressed" 
631 end
632 define CONFIG_FS_STREAM
633         default 0
634         export always
635         comment "Boot from a filesystem"
636 end
637 define CONFIG_FS_EXT2
638         default 0
639         export always
640         comment "Enable ext2 filesystem support"
641 end
642 define CONFIG_FS_ISO9660
643         default 0
644         export always
645         comment "Enable ISO9660 filesystem support"
646 end
647 define CONFIG_FS_FAT
648         default 0
649         export always
650         comment "Enable FAT filesystem support"
651 end
652 define AUTOBOOT_DELAY
653         default 2
654         export always
655         comment "Delay (in seconds) before autobooting"
656 end
657 define AUTOBOOT_CMDLINE
658         default "hdc1:/vmlinuz root=/dev/hdc3 console=tty0 console=ttyS0,115200"
659         export always
660         format "\"%s\""
661         comment "Default command line when autobooting"
662 end
663
664 define USE_WATCHDOG_ON_BOOT
665         default 0
666         export always
667         comment "Use the watchdog on booting"
668 end
669
670 ###############################################
671 # Plugin Device support options
672 ###############################################
673
674 define CONFIG_HYPERTRANSPORT_PLUGIN_SUPPORT
675         default 1
676         export always
677         comment "Enable support for plugin Hypertransport busses"
678 end
679 define CONFIG_AGP_PLUGIN_SUPPORT
680         default 1
681         export always
682         comment "Enable support for plugin AGP busses"
683 end
684 define CONFIG_CARDBUS_PLUGIN_SUPPORT
685         default 1
686         export always
687         comment "Enable support cardbus plugin cards"
688 end
689 define CONFIG_PCIX_PLUGIN_SUPPORT
690         default 1
691         export always
692         comment "Enable support for plugin PCI-X busses"
693 end
694 define CONFIG_PCIEXP_PLUGIN_SUPPORT
695         default 1
696         export always
697         comment "Enable support for plugin PCI-E busses"
698 end
699
700 ###############################################
701 # IRQ options
702 ###############################################
703
704 define HAVE_PIRQ_TABLE
705         default none
706         export used
707         comment "Define if we have a PIRQ table"
708 end
709 define IRQ_SLOT_COUNT
710         default none
711         export used
712         comment "Number of IRQ slots"
713 end
714 define CONFIG_PCIBIOS_IRQ
715         default none
716         export used
717         comment "PCIBIOS IRQ support"
718 end
719 define CONFIG_IOAPIC
720         default none
721         export used
722         comment "IOAPIC support"
723 end
724
725 ###############################################
726 # IDE specific options
727 ###############################################
728
729 define CONFIG_IDE
730         default 0
731         export always
732         comment "Define to include IDE support"
733 end
734 define IDE_BOOT_DRIVE
735         default 0
736         export always
737         comment "Disk number of boot drive"
738 end
739 define IDE_SWAB
740         default none
741         export used
742         comment "Swap bytes when reading from IDE device"
743 end
744 define IDE_OFFSET
745         default 0
746         export always
747         comment "Sector at which to start searching for boot image"
748 end
749
750 ###############################################
751 # Options for memory mapped I/O
752 ###############################################
753
754 define PCI_IO_CFG_EXT
755         default 0
756         export always
757         comment "allow 4K register space via io CFG port"
758 end
759
760 define PCIC0_CFGADDR
761         default none
762         format "0x%x"
763         export used
764         comment "Address of PCI Configuration Address Register"
765 end
766 define PCIC0_CFGDATA
767         default none
768         format "0x%x"
769         export used
770         comment "Address of PCI Configuration Data Register"
771 end
772 define ISA_IO_BASE
773         default none
774         format "0x%x"
775         export used
776         comment "Base address of PCI/ISA I/O address range"
777 end
778 define ISA_MEM_BASE
779         default none
780         format "0x%x"
781         export used
782         comment "Base address of PCI/ISA memory address range"
783 end
784 define PNP_CFGADDR
785         default none
786         format "0x%x"
787         export used
788         comment "PNP Configuration Address Register offset"
789 end
790 define PNP_CFGDATA
791         default none
792         format "0x%x"
793         export used
794         comment "PNP Configuration Data Register offset"
795 end
796 define _IO_BASE
797         default none
798         format "0x%x"
799         export used
800         comment "Base address of memory mapped I/O operations"
801 end
802
803 ###############################################
804 # Options for embedded systems
805 ###############################################
806
807 define EMBEDDED_RAM_SIZE
808         default none
809         export used
810         comment "Embedded boards generally have fixed RAM size"
811 end
812
813 ###############################################
814 # Misc options
815 ###############################################
816
817 define CONFIG_CHIP_NAME
818         default 0
819         export always
820         comment "Compile in the chip name"
821 end
822
823 define CONFIG_GDB_STUB
824         default 0
825         export used
826         comment "Compile in gdb stub support?"
827 end
828
829 define HAVE_INIT_TIMER
830         default 0
831         export always
832         comment "Have a init_timer function"
833 end
834 define HAVE_HARD_RESET
835         default none
836         export used
837         comment "Have hard reset"
838 end
839 define MEMORY_HOLE
840         default none
841         export used
842         comment "Set to deal with memory hole"
843 end
844 define MAX_REBOOT_CNT
845         default 3
846         export always
847         comment "Set maximum reboots"
848 end
849
850 ###############################################
851 # Misc device options
852 ###############################################
853
854 define CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
855         default 0
856         export used
857         comment "Use timer2 to callibrate the x86 time stamp counter"
858 end
859 define INTEL_PPRO_MTRR
860         default none
861         export used
862         comment ""
863 end
864 define CONFIG_UDELAY_TSC
865         default 0
866         export used
867         comment "Implement udelay with the x86 time stamp counter"
868 end
869 define CONFIG_UDELAY_IO
870         default 0
871         export used
872         comment "Implement udelay with x86 io registers"
873 end
874 define FAKE_SPDROM
875         default 0
876         export always
877         comment "Use this to fake spd rom values"
878 end
879
880 define HAVE_ACPI_TABLES
881         default 0
882         export always
883         comment "Define to build ACPI tables"
884 end
885
886 define ACPI_SSDTX_NUM
887         default 0
888         export always
889         comment "extra ssdt num for PCI Device"
890 end
891
892 define AGP_APERTURE_SIZE
893         default none
894         export used
895         format "0x%x"
896         comment "AGP graphics virtual memory aperture size"
897 end
898
899 define HT_CHAIN_UNITID_BASE
900         default 1
901         export always
902         comment "this will be first hypertransport device's unitid base, if sb ht chain only has one ht device, it could be 0"
903 end
904
905 define HT_CHAIN_END_UNITID_BASE
906         default 0x20
907         export always
908         comment "this will be unit id of the end of hypertransport chain (usually the real SB) if it is small than HT_CHAIN_UNITID_BASE, it could be 0"
909 end
910
911 define SB_HT_CHAIN_UNITID_OFFSET_ONLY
912         default 1
913         export always
914         comment "this will decided if only offset SB hypertransport chain"
915 end
916
917 define SB_HT_CHAIN_ON_BUS0
918         default 0 
919         export always
920         comment "this will make SB hypertransport chain sit on bus 0, if it is 1, will put sb ht chain on bus 0, if it is 2 will put other chain on 0x40, 0x80, 0xc0"
921 end
922
923 define PCI_BUS_SEGN_BITS
924         default 0
925         export always
926         comment "It could be 0, 1, 2, 3 and 4 only"
927 end
928
929 define MMCONF_SUPPORT
930         default 0
931         export always
932         comment "enable mmconfig for pci conf"
933 end
934
935 define HW_MEM_HOLE_SIZEK
936         default 0
937         export always
938         comment "Opteron E0 later memory hole size in K, 0 mean disable"
939 end
940
941 define HW_MEM_HOLE_SIZE_AUTO_INC
942         default 0
943         export always
944         comment "Opteron E0 later memory hole size auto increase to avoid hole startk equal to basek"
945 end
946
947 define K8_HT_FREQ_1G_SUPPORT
948         default 0 
949         export always
950         comment "Optern E0 later could support 1G HT, but still depends MB design"
951 end
952
953 define K8_REV_F_SUPPORT
954         default 0
955         export always
956         comment "Opteron Rev F (DDR2) support"
957 end
958
959 define CBB
960         default 0
961         export always
962         comment "Opteron cpu bus num base"
963 end
964
965 define CDB
966         default 0x18
967         export always
968         comment "Opteron cpu device num base"
969 end
970
971 define DIMM_SUPPORT
972         default 0x0108
973         format "0x%x"
974         export always
975         comment "DIMM support: bit 0 - sdram, bit 1: ddr1, bit 2: ddr2, bit 3: ddr3, bit 4: fbdimm, bit 8: reg"
976 end
977
978 define CPU_SOCKET_TYPE
979         default 0x10
980         export always
981         comment "cpu socket type, 0x10 mean Socket F, 0x11 mean socket M2, 0x20, Soxket G, and 0x21 mean socket M3"
982 end
983
984 define CPU_ADDR_BITS
985         default 36
986         export always
987         comment "CPU hardware address lines num, for AMD K8 could be 40, and GH could be 48"
988 end
989
990 define CONFIG_PCI_ROM_RUN
991         default 0
992         export always
993         comment "Init PCI device option rom"
994 end
995
996 define CONFIG_PCI_64BIT_PREF_MEM
997         default 0
998         export always
999         comment "allow PCI device get 4G above Region as pref mem"
1000 end
1001
1002 define CONFIG_VIDEO_MB
1003         default none
1004         export used
1005         comment "Integrated graphics with UMA has dynamic setup"
1006 end
1007
1008
1009
1010 ###############################################
1011 # Board specific options
1012 ###############################################
1013
1014 ###############################################
1015 # Options for motorola/sandpoint
1016 ###############################################
1017 define CONFIG_SANDPOINT_ALTIMUS
1018         default 0
1019         export never
1020         comment "Configure Sandpoint with Altimus PMC"
1021 end
1022 define CONFIG_SANDPOINT_TALUS
1023         default 0
1024         export never
1025         comment "Configure Sandpoint with Talus PMC"
1026 end
1027 define CONFIG_SANDPOINT_UNITY
1028         default 0
1029         export never
1030         comment "Configure Sandpoint with Unity PMC"
1031 end
1032 define CONFIG_SANDPOINT_VALIS
1033         default 0
1034         export never
1035         comment "Configure Sandpoint with Valis PMC"
1036 end
1037 define CONFIG_SANDPOINT_GYRUS
1038         default 0
1039         export never
1040         comment "Configure Sandpoint with Gyrus PMC"
1041 end
1042
1043 ###############################################
1044 # Options for totalimpact/briq
1045 ###############################################
1046 define CONFIG_BRIQ_750FX
1047         default 0
1048         export never
1049         comment "Configure briQ with PowerPC 750FX"
1050 end
1051 define CONFIG_BRIQ_7400
1052         default 0
1053         export never
1054         comment "Configure briQ with PowerPC G4"
1055 end