Previously when I started to look at the graphics support on Intel Crown Bay, I tried to debug IGD and off-chip graphics card but none of their vgabios can run under U-Boot. Later with a bug fixed in the 16-bit real mode and 32-bit protected mode switch, IGD vgabios can run successfully but these two PCIe graphics cards I have at hand still don't work.
With recent bug fixes as an attempt to support SeaBIOS, I started to look at them again, and this time finally got both of them work. It turns out we need completely disable IGD on TunnelCreek chipset, and also get i8254 timer counter 1 set up corretly. This series also fixes several nits in the i8259/i8254 codes. In case someone is interested, the two PCIe graphics card I used for testing are: Bin Meng (8): x86: Rename CONFIG_SYS_NUM_IRQS to SYS_NUM_IRQS x86: Remove dead codes wrapped by PARANOID_IRQ_TRIGGERS x86: Fix cosmetic issues in the i8254 and i8259 codes x86: Initialize i8254 timer counter 1 x86: Rename pcat_ to i8254 and i8259 accordingly x86: Move CONFIG_8259_PIC and CONFIG_8254_TIMER to Kconfig x86: queensbay: Really disable IGD x86: Move timer_init() call a bit earlier arch/x86/Kconfig | 8 +++++ arch/x86/cpu/interrupts.c | 2 +- arch/x86/cpu/queensbay/tnc.c | 26 ++++++++++++---- arch/x86/include/asm/arch-queensbay/tnc.h | 7 ++--- arch/x86/include/asm/i8254.h | 43 ++++++++++++-------------- arch/x86/include/asm/i8259.h | 31 ++++++++++--------- arch/x86/include/asm/interrupt.h | 2 ++ arch/x86/include/asm/u-boot-x86.h | 2 +- arch/x86/lib/Makefile | 4 +-- arch/x86/lib/i8254.c | 37 +++++++++++++++++++++++ arch/x86/lib/{pcat_interrupts.c => i8259.c} | 47 ++++++++--------------------- arch/x86/lib/interrupts.c | 10 +++--- arch/x86/lib/pcat_timer.c | 27 ----------------- arch/x86/lib/tsc_timer.c | 6 ++-- common/board_f.c | 2 +- common/board_r.c | 3 +- include/configs/x86-common.h | 3 -- 17 files changed, 134 insertions(+), 126 deletions(-) create mode 100644 arch/x86/lib/i8254.c rename arch/x86/lib/{pcat_interrupts.c => i8259.c} (70%) delete mode 100644 arch/x86/lib/pcat_timer.c -- 1.8.2.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot