mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
drivers/video : move video drivers to drivers/video
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
7364621718
commit
352d259130
1
Makefile
1
Makefile
@ -210,6 +210,7 @@ LIBS += dtt/libdtt.a
|
|||||||
LIBS += drivers/i2c/libi2c.a
|
LIBS += drivers/i2c/libi2c.a
|
||||||
LIBS += drivers/pci/libpci.a
|
LIBS += drivers/pci/libpci.a
|
||||||
LIBS += drivers/pcmcia/libpcmcia.a
|
LIBS += drivers/pcmcia/libpcmcia.a
|
||||||
|
LIBS += drivers/video/libvideo.a
|
||||||
LIBS += drivers/libdrivers.a
|
LIBS += drivers/libdrivers.a
|
||||||
LIBS += drivers/bios_emulator/libatibiosemu.a
|
LIBS += drivers/bios_emulator/libatibiosemu.a
|
||||||
LIBS += drivers/nand/libnand.a
|
LIBS += drivers/nand/libnand.a
|
||||||
|
@ -48,10 +48,7 @@ COBJS-y += systemace.o
|
|||||||
#
|
#
|
||||||
# Console Drivers
|
# Console Drivers
|
||||||
#
|
#
|
||||||
COBJS-y += ati_radeon_fb.o
|
|
||||||
COBJS-y += atmel_usart.o
|
COBJS-y += atmel_usart.o
|
||||||
COBJS-y += cfb_console.o
|
|
||||||
COBJS-y += ct69000.o
|
|
||||||
COBJS-y += i8042.o
|
COBJS-y += i8042.o
|
||||||
COBJS-y += keyboard.o
|
COBJS-y += keyboard.o
|
||||||
COBJS-y += netconsole.o
|
COBJS-y += netconsole.o
|
||||||
@ -60,15 +57,10 @@ COBJS-y += pc_keyb.o
|
|||||||
COBJS-y += ps2ser.o
|
COBJS-y += ps2ser.o
|
||||||
COBJS-y += ps2mult.o
|
COBJS-y += ps2mult.o
|
||||||
COBJS-y += s3c4510b_uart.o
|
COBJS-y += s3c4510b_uart.o
|
||||||
COBJS-y += sed13806.o
|
|
||||||
COBJS-y += sed156x.o
|
|
||||||
COBJS-y += serial.o
|
COBJS-y += serial.o
|
||||||
COBJS-y += serial_max3100.o
|
COBJS-y += serial_max3100.o
|
||||||
COBJS-y += serial_xuartlite.o
|
COBJS-y += serial_xuartlite.o
|
||||||
COBJS-y += sm501.o
|
|
||||||
COBJS-y += smiLynxEM.o
|
|
||||||
COBJS-y += usbtty.o
|
COBJS-y += usbtty.o
|
||||||
COBJS-y += videomodes.o
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Network Drivers
|
# Network Drivers
|
||||||
|
53
drivers/video/Makefile
Normal file
53
drivers/video/Makefile
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
#
|
||||||
|
# (C) Copyright 2000-2007
|
||||||
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||||
|
#
|
||||||
|
# See file CREDITS for list of people who contributed to this
|
||||||
|
# project.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU General Public License as
|
||||||
|
# published by the Free Software Foundation; either version 2 of
|
||||||
|
# the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||||
|
# MA 02111-1307 USA
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
|
LIB := $(obj)libvideo.a
|
||||||
|
|
||||||
|
COBJS-y += ati_radeon_fb.o
|
||||||
|
COBJS-y += cfb_console.o
|
||||||
|
COBJS-y += ct69000.o
|
||||||
|
COBJS-y += sed13806.o
|
||||||
|
COBJS-y += sed156x.o
|
||||||
|
COBJS-y += sm501.o
|
||||||
|
COBJS-y += smiLynxEM.o
|
||||||
|
COBJS-y += videomodes.o
|
||||||
|
|
||||||
|
COBJS := $(COBJS-y)
|
||||||
|
SRCS := $(COBJS:.o=.c)
|
||||||
|
OBJS := $(addprefix $(obj),$(COBJS))
|
||||||
|
|
||||||
|
all: $(LIB)
|
||||||
|
|
||||||
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
|
#########################################################################
|
||||||
|
|
||||||
|
# defines $(obj).depend target
|
||||||
|
include $(SRCTREE)/rules.mk
|
||||||
|
|
||||||
|
sinclude $(obj).depend
|
||||||
|
|
||||||
|
#########################################################################
|
@ -350,7 +350,7 @@ void radeon_setmode(void)
|
|||||||
radeon_write_pll_regs(rinfo, mode);
|
radeon_write_pll_regs(rinfo, mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "bios_emulator/include/biosemu.h"
|
#include "../bios_emulator/include/biosemu.h"
|
||||||
extern int BootVideoCardBIOS(pci_dev_t pcidev, BE_VGAInfo ** pVGAInfo, int cleanUp);
|
extern int BootVideoCardBIOS(pci_dev_t pcidev, BE_VGAInfo ** pVGAInfo, int cleanUp);
|
||||||
|
|
||||||
int radeon_probe(struct radeonfb_info *rinfo)
|
int radeon_probe(struct radeonfb_info *rinfo)
|
Loading…
Reference in New Issue
Block a user