mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00

Move POST code for Gen2+ and Gen1 to separate source files and hide it in ast_2100_post() ans ast_2000_post(). With P2A configuration, the POST logic for these chip generations has been mingled in ast_init_dram_reg(). Hence, handle all generations in a single change. The split simplifies both cases. Also move the DRAM init tables for each Gen into the respective source file. No changes to the overall logic. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://lore.kernel.org/r/20250706162816.211552-6-tzimmermann@suse.de
26 lines
466 B
Makefile
26 lines
466 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Makefile for the drm device driver. This driver provides support for the
|
|
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
|
|
|
|
ast-y := \
|
|
ast_2000.o \
|
|
ast_2100.o \
|
|
ast_2300.o \
|
|
ast_2500.o \
|
|
ast_2600.o \
|
|
ast_cursor.o \
|
|
ast_ddc.o \
|
|
ast_dp501.o \
|
|
ast_dp.o \
|
|
ast_drv.o \
|
|
ast_main.o \
|
|
ast_mm.o \
|
|
ast_mode.o \
|
|
ast_post.o \
|
|
ast_sil164.o \
|
|
ast_vbios.o \
|
|
ast_vga.o
|
|
|
|
obj-$(CONFIG_DRM_AST) := ast.o
|