Here's a list of the #defines that I think we should look at. I would like to detect as many as possible, and add the rest to the dts or Kconfig.
./libstage1.c:#if HT_CHAIN_UNITID_BASE != 0 ./domain.c:#if HW_MEM_HOLE_SIZE_AUTO_INC == 1 ./coherent_ht.c:#ifndef TRY_HIGH_FIRST ./coherent_ht.c:#ifndef K8_HT_CHECK_PENDING_LINK ./coherent_ht.c:#ifndef ENABLE_APIC_EXT_ID ./coherent_ht.c:#ifdef CONFIG_K8_HT_FREQ_1G_SUPPORT ./coherent_ht.c:#if CONFIG_CROSS_BAR_47_56 ./coherent_ht.c:#if (CONFIG_MAX_PHYSICAL_CPUS > 4) || (CONFIG_MAX_PHYSICAL_CPUS_4_BUT_MORE_INSTALLED == 1) ./coherent_ht.c:#if CONFIG_USE_PRINTK_IN_CAR ./coherent_ht.c:#if CONFIG_LOGICAL_CPUS==1 ./pci.c:#if SB_HT_CHAIN_ON_BUS0 > 0 ./pci.c:#if SB_HT_CHAIN_UNITID_OFFSET_ONLY == 1 ./pci.c:#ifdef CONFIG_MULTIPLE_VGA_INIT ./incoherent_ht.c: #if (CONFIG_K8_SCAN_PCI_BUS == 1) ./incoherent_ht.c:#if CONFIG_K8_ALLOCATE_IO_RANGE == 1 ./raminit.c:#if defined(CONFIG_LB_MEM_TOPK) & ((CONFIG_LB_MEM_TOPK -1) != 0) ./raminit.c:#ifdef QRANK_DIMM_SUPPORT ./raminit.c:#if CPU_SOCKET_TYPE == SOCKET_L1 ./raminit.c:#if CPU_SOCKET_TYPE == SOCKET_AM2 ./raminit.c:#ifdef DRAM_MIN_CYCLE_TIME ./raminit.c:#if DIMM_SUPPORT==0x0104 /* DDR2 and REG */ ./raminit.c:#if MEM_TRAIN_SEQ == 0 ./dqs.c: #if CONFIG_AP_CODE_IN_CAR == 0 This one would be nice to simplify to the point where it only occurs in one place. ./domain.c:#ifdef CONFIG_PCI_64BIT_PREF_MEM Thanks, Myles
-- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

