[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/boot/common/src/uboot/drivers/config.mk b/boot/common/src/uboot/drivers/config.mk
new file mode 100644
index 0000000..4f8a0f0
--- /dev/null
+++ b/boot/common/src/uboot/drivers/config.mk
@@ -0,0 +1,197 @@
+################################################################################
+# yes = ¿ªÔ´
+# no = ±ÕÔ´
+################################################################################
+LIB_GMAC = yes
+LIB_GPIO = yes
+LIB_I2C = yes
+LIB_MISC = yes
+LIB_MMC = yes
+LIB_MTD = yes
+LIB_NAND = yes
+LIB_PARTITION = yes
+LIB_POWER = yes
+LIB_SERIAL = yes
+LIB_SPI = yes
+LIB_USB_DWC = yes
+LIB_SDIO = yes
+LIB_LED = yes
+LIB_LCD = yes
+LIB_PERIPHERAL = yes
+LIB_CHARGER = yes
+LIB_HASH = yes
+LIB_RSA = yes
+LIB_DMA = yes
+LIB_EFUSE = yes
+LIB_WDT = yes
+
+################################################################################
+#¸ø¶¥²ãMakefileʹÓõÄÇý¶¯.o¿âÎļþ£¬Õⲿ·Ö¿ªÔ´
+################################################################################
+DRIVEROBJS :=
+
+################################################################################
+#¸øÍ¬¼¶Ä¿Â¼MakefileʹÓõÄÇý¶¯.o¿âÎļþ£¬Õⲿ·Ö±ÕÔ´
+################################################################################
+DRIVERLIBS :=
+
+################################################################################
+#¸øÍ¬¼¶Ä¿Â¼MakefileʹÓÃɾ³ý±ÕÔ´´úÂë
+################################################################################
+DRIVERSRC :=
+
+################################################################################
+################################################################################
+ifeq ($(LIB_GMAC),yes)
+DRIVEROBJS += drivers/gmac/libgmac.o
+else
+DRIVERLIBS += gmac/libgmac.o
+DRIVERSRC += gmac/*.c
+endif
+
+ifeq ($(LIB_GPIO),yes)
+DRIVEROBJS += drivers/gpio/libgpio.o
+else
+DRIVERLIBS += gpio/libgpio.o
+DRIVERSRC += gpio/*.c
+endif
+
+ifeq ($(LIB_I2C),yes)
+DRIVEROBJS += drivers/i2c/libi2c.o
+else
+DRIVERLIBS += i2c/libi2c.o
+DRIVERSRC += i2c/*.c
+endif
+
+ifeq ($(LIB_MISC),yes)
+DRIVEROBJS += drivers/misc/libmisc.o
+else
+DRIVERLIBS += misc/libmisc.o
+DRIVERSRC += misc/*.c
+endif
+
+ifeq ($(LIB_MMC),yes)
+DRIVEROBJS += drivers/mmc/libmmc.o
+else
+DRIVERLIBS += mmc/libmmc.o
+DRIVERSRC += mmc/*.c
+endif
+
+ifeq ($(LIB_MTD),yes)
+DRIVEROBJS += drivers/mtd/libmtd.o
+else
+DRIVERLIBS += mtd/libmtd.o
+DRIVERSRC += mtd/*.c
+endif
+
+ifeq ($(LIB_NAND),yes)
+DRIVEROBJS += drivers/mtd/nand/libnand.o
+else
+DRIVERLIBS += mtd/nand/libnand.o
+DRIVERSRC += mtd/nand/*.c
+endif
+
+ifeq ($(LIB_PARTITION),yes)
+DRIVEROBJS += drivers/mtd/partition/libpartition.o
+else
+DRIVERLIBS += mtd/partition/libpartition.o
+DRIVERSRC += mtd/partition/*.c
+endif
+
+ifeq ($(LIB_POWER),yes)
+DRIVEROBJS += drivers/power/libpower.o
+else
+DRIVERLIBS += power/libpower.o
+DRIVERSRC += power/*.c
+endif
+
+ifeq ($(LIB_SERIAL),yes)
+DRIVEROBJS += drivers/serial/libserial.o
+else
+DRIVERLIBS += serial/libserial.o
+DRIVERSRC += serial/*.c
+endif
+
+ifeq ($(LIB_SPI),yes)
+DRIVEROBJS += drivers/spi/libspi.o
+else
+DRIVERLIBS += spi/libspi.o
+DRIVERSRC += spi/*.c
+endif
+
+ifeq ($(LIB_USB_DWC),yes)
+DRIVEROBJS += drivers/usb_drv/libusb_dwc.o
+else
+DRIVERLIBS += usb_drv/libusb_dwc.o
+DRIVERSRC += usb_drv/*.c
+endif
+
+ifeq ($(LIB_SDIO),yes)
+DRIVEROBJS += drivers/sdio/libsdio.o
+else
+DRIVERLIBS += sdio/libsdio.o
+DRIVERSRC += sdio/*.c
+endif
+
+ifeq ($(LIB_LED),yes)
+DRIVEROBJS += drivers/led/libled.o
+else
+DRIVERLIBS += led/libled.o
+DRIVERSRC += led/*.c
+endif
+
+ifeq ($(LIB_LCD),yes)
+DRIVEROBJS += drivers/lcd/liblcd.o
+else
+DRIVERLIBS += lcd/liblcd.o
+DRIVERSRC += lcd/*.c
+endif
+
+ifeq ($(LIB_PERIPHERAL),yes)
+DRIVEROBJS += drivers/peripheral/libperipheral.o
+else
+DRIVERLIBS += peripheral/libperipheral.o
+DRIVERSRC += peripheral/*.c
+endif
+
+ifeq ($(LIB_CHARGER),yes)
+DRIVEROBJS += drivers/charger/libcharger.o
+else
+DRIVERLIBS += charger/libcharger.o
+DRIVERSRC += charger/*.c
+endif
+
+ifeq ($(LIB_HASH),yes)
+DRIVEROBJS += drivers/hash/libdrv_hash.o
+else
+DRIVERLIBS += hash/libdrv_hash.o
+DRIVERSRC += hash/*.c
+endif
+
+ifeq ($(LIB_RSA),yes)
+DRIVEROBJS += drivers/rsa/libdrv_rsa.o
+else
+DRIVERLIBS += rsa/libdrv_rsa.o
+DRIVERSRC += rsa/*.c
+endif
+
+ifeq ($(LIB_DMA),yes)
+DRIVEROBJS += drivers/dma/libdma.o
+else
+DRIVERLIBS += dma/libdma.o
+DRIVERSRC += dma/*.c
+endif
+
+ifeq ($(LIB_EFUSE),yes)
+DRIVEROBJS += drivers/efuse/libefuse.o
+else
+DRIVERLIBS += efuse/libefuse.o
+DRIVERSRC += efuse/*.c
+endif
+
+ifeq ($(LIB_WDT),yes)
+DRIVEROBJS += drivers/wdt/libwdt.o
+else
+DRIVERLIBS += wdt/libwdt.o
+DRIVERSRC += wdt/*.c
+endif