via: Start template for VIA C7 w/ CX700 northbridge
commit003d6397c6237e618e846b655283bdb9c605c518
authorNico Huber <nico.h@gmx.de>
Fri, 31 May 2024 15:17:00 +0000 (31 17:17 +0200)
committerLean Sheng Tan <sheng.tan@9elements.com>
Mon, 11 Nov 2024 09:16:55 +0000 (11 09:16 +0000)
treee423a541cc0c5c21ef3a2021373b07629cb13b7f
parent5b0dc2b6a015288fa22803a5e2dc99c3dbc21c5c
via: Start template for VIA C7 w/ CX700 northbridge

The first steps to bring C7 and CX700 support back mainline. Most is
skeleton copied from the `min86' example.

The romstage entry is placed in the northbridge code, as that's where
we'll perform raminit. Support to read the FSB frequency is added right
away, same for a reset function (using CF9 reset), as both are required
for a minimal build test.

A mainboard VIA EPIA-EX is also introduced for build testing, and in
later stages boot testing as well.

Links:
DS: https://theretroweb.com/chip/documentation/via-cx700-datasheet-feb06-666c8b172d347554179891.pdf
PM: https://web.archive.org/web/20180616220857/http://linux.via.com.tw/support/beginDownload.action?eleid=141&fid=221

Change-Id: I66f678fae0d5a27bb09c0c6c702440900998e574
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82765
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
20 files changed:
src/cpu/Makefile.mk
src/cpu/via/Kconfig [new file with mode: 0644]
src/cpu/via/Makefile.mk [new file with mode: 0644]
src/cpu/via/c7/Kconfig [new file with mode: 0644]
src/cpu/via/c7/Makefile.mk [new file with mode: 0644]
src/cpu/via/car/cache_as_ram.S [new file with mode: 0644]
src/cpu/via/car/exit_car.S [new file with mode: 0644]
src/mainboard/via/Kconfig [new file with mode: 0644]
src/mainboard/via/Kconfig.name [new file with mode: 0644]
src/mainboard/via/epia-ex/Kconfig [new file with mode: 0644]
src/mainboard/via/epia-ex/Kconfig.name [new file with mode: 0644]
src/mainboard/via/epia-ex/board_info.txt [new file with mode: 0644]
src/mainboard/via/epia-ex/devicetree.cb [new file with mode: 0644]
src/northbridge/via/cx700/Kconfig [new file with mode: 0644]
src/northbridge/via/cx700/Makefile.mk [new file with mode: 0644]
src/northbridge/via/cx700/chip.c [new file with mode: 0644]
src/northbridge/via/cx700/chipset.cb [new file with mode: 0644]
src/northbridge/via/cx700/clock.c [new file with mode: 0644]
src/northbridge/via/cx700/reset.c [new file with mode: 0644]
src/northbridge/via/cx700/romstage.c [new file with mode: 0644]