[U-Boot] arch/x86/include/asm/atomic.h: error: expected string literal

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Nov 21 19:19:27 UTC 2017


Compilation of U-Boot fails with the appended .config

LOCK_PREFIX is defined in arch/x86/include/asm/bitops.h.
which is not included in rch/x86/include/asm/atomic.h.

The Linux kernel defines LOCK_PREFIX in
arch/x86/include/asm/alternative.h
included both in
arch/x86/include/asm/atomic.h
and in
arch/x86/include/asm/bitops.h

Shouldn't we do the same in U-Boot?

Best regards

Heinrich



In file included from fs/ubifs/ubifs.h:35:0,
                  from fs/ubifs/io.c:69:
./arch/x86/include/asm/atomic.h: In function ‘atomic_add’:
./arch/x86/include/asm/atomic.h:49:15: error: expected string literal 
before ‘LOCK_PREFIX’
   asm volatile(LOCK_PREFIX "addl %1,%0"
                ^~~~~~~~~~~
./arch/x86/include/asm/atomic.h: In function ‘atomic_sub’:
./arch/x86/include/asm/atomic.h:63:15: error: expected string literal 
before ‘LOCK_PREFIX’
   asm volatile(LOCK_PREFIX "subl %1,%0"
                ^~~~~~~~~~~
./arch/x86/include/asm/atomic.h: In function ‘atomic_inc’:
./arch/x86/include/asm/atomic.h:76:15: error: expected string literal 
before ‘LOCK_PREFIX’
   asm volatile(LOCK_PREFIX "incl %0"
                ^~~~~~~~~~~
./arch/x86/include/asm/atomic.h: In function ‘atomic_dec’:
./arch/x86/include/asm/atomic.h:88:15: error: expected string literal 
before ‘LOCK_PREFIX’
   asm volatile(LOCK_PREFIX "decl %0"
                ^~~~~~~~~~~
./arch/x86/include/asm/atomic.h: In function ‘atomic_inc_short’:
./arch/x86/include/asm/atomic.h:101:6: error: expected string literal 
before ‘LOCK_PREFIX’
   asm(LOCK_PREFIX "addw $1, %0" : "+m" (*v));
       ^~~~~~~~~~~
In file included from include/linux/bitops.h:124:0,
                  from include/common.h:25,
                  from include/ubi_uboot.h:17,
                  from fs/ubifs/ubifs.h:37,
                  from fs/ubifs/io.c:69:
fs/ubifs/misc.h: In function ‘ubifs_zn_dirty’:
./arch/x86/include/asm/bitops.h:255:25: warning: passing argument 2 of 
‘variable_test_bit’ discards ‘const’ qualifier from pointer target type 
[-Wdiscarded-qualifiers]

-------------- next part --------------
#
# Automatically generated file; DO NOT EDIT.
# U-Boot 2017.11 Configuration
#
CONFIG_CREATE_ARCH_SYMLINK=y
# CONFIG_ARC is not set
# CONFIG_ARM is not set
# CONFIG_M68K is not set
# CONFIG_MICROBLAZE is not set
# CONFIG_MIPS is not set
# CONFIG_NDS32 is not set
# CONFIG_NIOS2 is not set
# CONFIG_PPC is not set
# CONFIG_SANDBOX is not set
# CONFIG_SH is not set
CONFIG_X86=y
# CONFIG_XTENSA is not set
CONFIG_SYS_ARCH="x86"
CONFIG_SYS_SOC="qemu"
CONFIG_SYS_VENDOR="emulation"
CONFIG_SYS_BOARD="qemu-x86"
CONFIG_SYS_CONFIG_NAME="qemu-x86"
CONFIG_SYS_TEXT_BASE=0xfff00000
CONFIG_SYS_MALLOC_F_LEN=0x800
CONFIG_BOARD_SPECIFIC_OPTIONS=y
CONFIG_IDENT_STRING=""

#
# x86 architecture
#
CONFIG_X86_RUN_32BIT=y
# CONFIG_X86_RUN_64BIT is not set
# CONFIG_VENDOR_ADVANTECH is not set
# CONFIG_VENDOR_CONGATEC is not set
# CONFIG_VENDOR_COREBOOT is not set
# CONFIG_VENDOR_DFI is not set
# CONFIG_VENDOR_EFI is not set
CONFIG_VENDOR_EMULATION=y
# CONFIG_VENDOR_GOOGLE is not set
# CONFIG_VENDOR_INTEL is not set
# CONFIG_INTEL_MID is not set
CONFIG_PCIE_ECAM_BASE=0xe0000000
CONFIG_DEFAULT_DEVICE_TREE="qemu-x86_i440fx"
CONFIG_SYS_CAR_ADDR=0x10000
CONFIG_SYS_CAR_SIZE=0x10000
CONFIG_TARGET_QEMU_X86=y
# CONFIG_TARGET_QEMU_X86_64 is not set
CONFIG_ROM_TABLE_ADDR=0xf0000
CONFIG_ROM_TABLE_SIZE=0x10000
CONFIG_SMBIOS_PRODUCT_NAME="qemu-x86"
# CONFIG_DEBUG_UART is not set
CONFIG_QEMU=y
CONFIG_ACPI_PM1_BASE=0xe400
CONFIG_CPU_ADDR_BITS=36
CONFIG_AHCI=y
CONFIG_RAMBASE=0x100000
CONFIG_XIP_ROM_SIZE=0x100000
CONFIG_HPET_ADDRESS=0xfed00000
# CONFIG_SMM_TSEG is not set
CONFIG_X86_RESET_VECTOR=y
CONFIG_X86_16BIT_INIT=y
CONFIG_X86_32BIT_INIT=y
CONFIG_RESET_SEG_START=0xffff0000
CONFIG_RESET_SEG_SIZE=0x10000
CONFIG_RESET_VEC_LOC=0xfffffff0
CONFIG_SYS_X86_START16=0xfffff800
# CONFIG_X86_LOAD_FROM_32_BIT is not set
CONFIG_BOARD_ROMSIZE_KB_1024=y
# CONFIG_UBOOT_ROMSIZE_KB_512 is not set
CONFIG_UBOOT_ROMSIZE_KB_1024=y
# CONFIG_UBOOT_ROMSIZE_KB_2048 is not set
# CONFIG_UBOOT_ROMSIZE_KB_4096 is not set
# CONFIG_UBOOT_ROMSIZE_KB_8192 is not set
# CONFIG_UBOOT_ROMSIZE_KB_16384 is not set
CONFIG_UBOOT_ROMSIZE_KB=1024
CONFIG_ROM_SIZE=0x100000
# CONFIG_HAVE_INTEL_ME is not set
# CONFIG_X86_RAMTEST is not set
# CONFIG_HAVE_FSP is not set
# CONFIG_ENABLE_MRC_CACHE is not set
# CONFIG_HAVE_MRC is not set
# CONFIG_HAVE_REFCODE is not set
# CONFIG_SMP is not set
# CONFIG_HAVE_VGA_BIOS is not set

#
# System tables
#
CONFIG_GENERATE_PIRQ_TABLE=y
# CONFIG_GENERATE_SFI_TABLE is not set
CONFIG_GENERATE_MP_TABLE=y
CONFIG_GENERATE_ACPI_TABLE=y
# CONFIG_HAVE_ACPI_RESUME is not set
CONFIG_MAX_PIRQ_LINKS=8
CONFIG_IRQ_SLOT_COUNT=128
CONFIG_PCIE_ECAM_SIZE=0x10000000
CONFIG_I8259_PIC=y
CONFIG_I8254_TIMER=y
# CONFIG_SEABIOS is not set

#
# General setup
#
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_DISTRO_DEFAULTS=y
CONFIG_SYS_MALLOC_F=y
CONFIG_SPL_SYS_MALLOC_F_LEN=0x800
CONFIG_TPL_SYS_MALLOC_F_LEN=0x800
CONFIG_EXPERT=y
CONFIG_SYS_MALLOC_CLEAR_ON_INIT=y
# CONFIG_TOOLS_DEBUG is not set
# CONFIG_PHYS_64BIT is not set
CONFIG_BUILD_ROM=y

#
# Boot images
#
# CONFIG_ANDROID_BOOT_IMAGE is not set
CONFIG_FIT=y
CONFIG_FIT_ENABLE_SHA256_SUPPORT=y
# CONFIG_FIT_SIGNATURE is not set
# CONFIG_FIT_VERBOSE is not set
# CONFIG_FIT_BEST_MATCH is not set
# CONFIG_OF_BOARD_SETUP is not set
# CONFIG_OF_SYSTEM_SETUP is not set
# CONFIG_OF_STDOUT_VIA_ALIAS is not set
CONFIG_SYS_EXTRA_OPTIONS=""
CONFIG_ARCH_FIXUP_FDT_MEMORY=y

#
# API
#
# CONFIG_API is not set

#
# Boot timing
#
CONFIG_BOOTSTAGE=y
# CONFIG_SPL_BOOTSTAGE is not set
CONFIG_BOOTSTAGE_REPORT=y
CONFIG_BOOTSTAGE_RECORD_COUNT=30
CONFIG_SPL_BOOTSTAGE_RECORD_COUNT=5
# CONFIG_BOOTSTAGE_FDT is not set
# CONFIG_BOOTSTAGE_STASH is not set
CONFIG_BOOTSTAGE_STASH_ADDR=0
CONFIG_BOOTSTAGE_STASH_SIZE=0x1000

#
# Boot media
#
# CONFIG_NAND_BOOT is not set
# CONFIG_ONENAND_BOOT is not set
# CONFIG_QSPI_BOOT is not set
# CONFIG_SATA_BOOT is not set
# CONFIG_SD_BOOT is not set
# CONFIG_SPI_BOOT is not set
CONFIG_BOOTDELAY=2
CONFIG_USE_BOOTARGS=y
CONFIG_BOOTARGS="root=/dev/sdb3 init=/sbin/init rootwait ro"
# CONFIG_USE_BOOTCOMMAND is not set

#
# Console
#
CONFIG_MENU=y
# CONFIG_CONSOLE_RECORD is not set
CONFIG_LOGLEVEL=4
CONFIG_SPL_LOGLEVEL=4
# CONFIG_SILENT_CONSOLE is not set
# CONFIG_PRE_CONSOLE_BUFFER is not set
CONFIG_CONSOLE_MUX=y
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
# CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE is not set
# CONFIG_SYS_CONSOLE_ENV_OVERWRITE is not set
CONFIG_SYS_CONSOLE_INFO_QUIET=y
CONFIG_SYS_STDIO_DEREGISTER=y
CONFIG_DEFAULT_FDT_FILE=""
# CONFIG_VERSION_VARIABLE is not set
CONFIG_DISPLAY_CPUINFO=y
# CONFIG_DISPLAY_BOARDINFO is not set

#
# Start-up hooks
#
CONFIG_ARCH_EARLY_INIT_R=y
# CONFIG_ARCH_MISC_INIT is not set
# CONFIG_BOARD_EARLY_INIT_F is not set

#
# Security support
#
CONFIG_HASH=y

#
# SPL / TPL
#

#
# Command line interface
#
CONFIG_CMDLINE=y
CONFIG_HUSH_PARSER=y
CONFIG_SYS_PROMPT="=> "

#
# Autoboot options
#
CONFIG_AUTOBOOT=y
# CONFIG_AUTOBOOT_KEYED is not set

#
# FASTBOOT
#

#
# Commands
#

#
# Info commands
#
CONFIG_CMD_BDI=y
# CONFIG_CMD_CONFIG is not set
CONFIG_CMD_CONSOLE=y
CONFIG_CMD_CPU=y
# CONFIG_CMD_LICENSE is not set

#
# Boot commands
#
CONFIG_CMD_BOOTD=y
CONFIG_CMD_BOOTM=y
# CONFIG_CMD_BOOTZ is not set
CONFIG_CMD_BOOTEFI=y
CONFIG_CMD_BOOTEFI_HELLO_COMPILE=y
CONFIG_CMD_BOOTEFI_HELLO=y
CONFIG_CMD_BOOTEFI_SELFTEST=y
# CONFIG_CMD_BOOTMENU is not set
CONFIG_CMD_ELF=y
CONFIG_CMD_FDT=y
CONFIG_CMD_GO=y
CONFIG_CMD_RUN=y
CONFIG_CMD_IMI=y
# CONFIG_CMD_IMLS is not set
CONFIG_CMD_XIMG=y
# CONFIG_CMD_POWEROFF is not set
# CONFIG_CMD_THOR_DOWNLOAD is not set
CONFIG_CMD_ZBOOT=y

#
# Environment commands
#
# CONFIG_CMD_ASKENV is not set
CONFIG_CMD_EXPORTENV=y
CONFIG_CMD_IMPORTENV=y
CONFIG_CMD_EDITENV=y
# CONFIG_CMD_GREPENV is not set
CONFIG_CMD_SAVEENV=y
CONFIG_CMD_ENV_EXISTS=y
# CONFIG_CMD_ENV_CALLBACK is not set
# CONFIG_CMD_ENV_FLAGS is not set

#
# Memory commands
#
CONFIG_CMD_CRC32=y
# CONFIG_CRC32_VERIFY is not set
# CONFIG_CMD_EEPROM is not set
# CONFIG_LOOPW is not set
# CONFIG_CMD_MD5SUM is not set
# CONFIG_CMD_MEMINFO is not set
CONFIG_CMD_MEMORY=y
# CONFIG_CMD_MEMTEST is not set
# CONFIG_CMD_MX_CYCLIC is not set
# CONFIG_CMD_SHA1SUM is not set
# CONFIG_CMD_STRINGS is not set

#
# Compression commands
#
# CONFIG_CMD_LZMADEC is not set
# CONFIG_CMD_UNZIP is not set
# CONFIG_CMD_ZIP is not set

#
# Device access commands
#
# CONFIG_CMD_ARMFLASH is not set
# CONFIG_CMD_CLK is not set
# CONFIG_CMD_DEMO is not set
# CONFIG_CMD_DFU is not set
CONFIG_CMD_DM=y
# CONFIG_CMD_FDC is not set
# CONFIG_CMD_FLASH is not set
CONFIG_CMD_FPGA=y
# CONFIG_CMD_FPGA_LOADBP is not set
# CONFIG_CMD_FPGA_LOADFS is not set
CONFIG_CMD_FPGA_LOADMK=y
# CONFIG_CMD_FPGA_LOADP is not set
# CONFIG_CMD_FPGAD is not set
# CONFIG_CMD_FUSE is not set
# CONFIG_CMD_GPIO is not set
# CONFIG_CMD_GPT is not set
# CONFIG_RANDOM_UUID is not set
CONFIG_CMD_IDE=y
CONFIG_CMD_IO=y
# CONFIG_CMD_IOTRACE is not set
# CONFIG_CMD_I2C is not set
CONFIG_CMD_LOADB=y
CONFIG_CMD_LOADS=y
# CONFIG_CMD_MMC is not set
# CONFIG_CMD_NAND is not set
CONFIG_CMD_NVME=y
# CONFIG_CMD_MMC_SPI is not set
# CONFIG_CMD_ONENAND is not set
CONFIG_CMD_PART=y
CONFIG_CMD_PCI=y
# CONFIG_CMD_PCMCIA is not set
# CONFIG_CMD_READ is not set
# CONFIG_CMD_SATA is not set
# CONFIG_CMD_SAVES is not set
# CONFIG_CMD_SDRAM is not set
CONFIG_CMD_SF=y
CONFIG_CMD_SF_TEST=y
CONFIG_CMD_SPI=y
# CONFIG_CMD_TSI148 is not set
# CONFIG_CMD_UNIVERSE is not set
CONFIG_CMD_USB=y
# CONFIG_CMD_USB_SDP is not set
# CONFIG_CMD_USB_MASS_STORAGE is not set

#
# Shell scripting commands
#
CONFIG_CMD_ECHO=y
CONFIG_CMD_ITEST=y
CONFIG_CMD_SOURCE=y
# CONFIG_CMD_SETEXPR is not set

#
# Network commands
#
CONFIG_CMD_NET=y
# CONFIG_CMD_TFTPPUT is not set
# CONFIG_CMD_TFTPSRV is not set
# CONFIG_CMD_RARP is not set
CONFIG_CMD_DHCP=y
CONFIG_CMD_PXE=y
# CONFIG_CMD_NFS is not set
CONFIG_CMD_MII=y
CONFIG_CMD_PING=y
# CONFIG_CMD_CDP is not set
# CONFIG_CMD_SNTP is not set
# CONFIG_CMD_DNS is not set
# CONFIG_CMD_LINK_LOCAL is not set
# CONFIG_CMD_ETHSW is not set

#
# Misc commands
#
# CONFIG_CMD_BMP is not set
# CONFIG_CMD_BSP is not set
# CONFIG_CMD_CACHE is not set
# CONFIG_CMD_DISPLAY is not set
# CONFIG_CMD_LED is not set
CONFIG_CMD_DATE=y
CONFIG_CMD_TIME=y
CONFIG_CMD_GETTIME=y
CONFIG_CMD_MISC=y
# CONFIG_CMD_TIMER is not set
CONFIG_CMD_QFW=y
# CONFIG_CMD_TERMINAL is not set
# CONFIG_CMD_UUID is not set
CONFIG_CMD_BOOTSTAGE=y

#
# Power commands
#

#
# Security commands
#
# CONFIG_CMD_AES is not set
# CONFIG_CMD_BLOB is not set
# CONFIG_CMD_HASH is not set

#
# Firmware commands
#

#
# Filesystem commands
#
# CONFIG_CMD_BTRFS is not set
CONFIG_CMD_EXT2=y
CONFIG_CMD_EXT4=y
CONFIG_CMD_EXT4_WRITE=y
CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
# CONFIG_CMD_FS_UUID is not set
# CONFIG_CMD_JFFS2 is not set
CONFIG_CMD_MTDPARTS=y
CONFIG_MTDIDS_DEFAULT=""
CONFIG_MTDPARTS_DEFAULT=""
# CONFIG_CMD_MTDPARTS_SPREAD is not set
# CONFIG_CMD_REISER is not set
# CONFIG_CMD_SCSI is not set
# CONFIG_CMD_ZFS is not set

#
# Debug commands
#
# CONFIG_CMD_BEDBUG is not set
# CONFIG_CMD_DIAG is not set
CONFIG_CMD_IRQ=y
# CONFIG_CMD_KGDB is not set
# CONFIG_CMD_TRACE is not set
CONFIG_CMD_UBI=y
CONFIG_CMD_UBIFS=y

#
# Partition Types
#
CONFIG_PARTITIONS=y
CONFIG_MAC_PARTITION=y
CONFIG_DOS_PARTITION=y
CONFIG_ISO_PARTITION=y
# CONFIG_AMIGA_PARTITION is not set
CONFIG_EFI_PARTITION=y
CONFIG_EFI_PARTITION_ENTRIES_OFF=0
CONFIG_PARTITION_UUIDS=y
# CONFIG_PARTITION_TYPE_GUID is not set
CONFIG_SUPPORT_OF_CONTROL=y
CONFIG_DTC=y
CONFIG_PYLIBFDT=y
CONFIG_DTOC=y
CONFIG_BINMAN=y

#
# Device Tree Control
#
CONFIG_OF_CONTROL=y
# CONFIG_OF_BOARD_FIXUP is not set
# CONFIG_OF_LIVE is not set
CONFIG_OF_SEPARATE=y
# CONFIG_OF_EMBED is not set
# CONFIG_OF_BOARD is not set
# CONFIG_MULTI_DTB_FIT is not set
CONFIG_MKIMAGE_DTC_PATH="dtc"

#
# Environment
#
CONFIG_ENV_IS_NOWHERE=y
# CONFIG_ENV_IS_IN_EEPROM is not set
# CONFIG_ENV_IS_IN_FAT is not set
# CONFIG_ENV_IS_IN_FLASH is not set
# CONFIG_ENV_IS_IN_MMC is not set
# CONFIG_ENV_IS_IN_NAND is not set
# CONFIG_ENV_IS_IN_NVRAM is not set
# CONFIG_ENV_IS_IN_ONENAND is not set
# CONFIG_ENV_IS_IN_REMOTE is not set
# CONFIG_ENV_IS_IN_SPI_FLASH is not set
# CONFIG_ENV_IS_IN_UBI is not set
# CONFIG_ENV_AES is not set
CONFIG_NET=y
# CONFIG_NET_RANDOM_ETHADDR is not set
# CONFIG_NETCONSOLE is not set
CONFIG_NET_TFTP_VARS=y
CONFIG_BOOTP_PXE_CLIENTARCH=0
CONFIG_BOOTP_VCI_STRING="U-Boot"

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_DM=y
CONFIG_DM_WARN=y
# CONFIG_DM_DEBUG is not set
CONFIG_DM_DEVICE_REMOVE=y
CONFIG_DM_STDIO=y
CONFIG_DM_SEQ_ALIAS=y
# CONFIG_SPL_DM_SEQ_ALIAS is not set
CONFIG_REGMAP=y
CONFIG_SYSCON=y
# CONFIG_DEVRES is not set
CONFIG_SIMPLE_BUS=y
CONFIG_OF_TRANSLATE=y
CONFIG_DM_DEV_READ_INLINE=y
# CONFIG_ADC is not set
# CONFIG_ADC_EXYNOS is not set
# CONFIG_ADC_SANDBOX is not set
# CONFIG_SARADC_ROCKCHIP is not set
# CONFIG_SATA is not set

#
# SATA/SCSI device support
#
CONFIG_AHCI_PCI=y
# CONFIG_SATA_CEVA is not set
# CONFIG_DWC_AHCI is not set
CONFIG_BLK=y
# CONFIG_BLOCK_CACHE is not set
CONFIG_IDE=y

#
# Clock
#
# CONFIG_CLK is not set
CONFIG_CPU=y

#
# Hardware crypto devices
#
# CONFIG_FSL_CAAM is not set
# CONFIG_SYS_FSL_SEC_BE is not set
# CONFIG_SYS_FSL_SEC_LE is not set

#
# Demo for driver model
#
# CONFIG_DM_DEMO is not set

#
# DFU support
#

#
# DMA Support
#
# CONFIG_DMA is not set
# CONFIG_TI_EDMA3 is not set

#
# FPGA support
#
# CONFIG_FPGA_ALTERA is not set
# CONFIG_FPGA_SOCFPGA is not set
# CONFIG_FPGA_XILINX is not set

#
# GPIO Support
#
CONFIG_DM_GPIO=y
# CONFIG_ALTERA_PIO is not set
# CONFIG_DWAPB_GPIO is not set
# CONFIG_AT91_GPIO is not set
# CONFIG_ATMEL_PIO4 is not set
# CONFIG_INTEL_BROADWELL_GPIO is not set
# CONFIG_INTEL_ICH6_GPIO is not set
# CONFIG_IMX_RGPIO2P is not set
# CONFIG_LPC32XX_GPIO is not set
# CONFIG_MSM_GPIO is not set
# CONFIG_CMD_PCA953X is not set
# CONFIG_ROCKCHIP_GPIO is not set
# CONFIG_CMD_TCA642X is not set
# CONFIG_TEGRA_GPIO is not set
# CONFIG_TEGRA186_GPIO is not set
# CONFIG_VYBRID_GPIO is not set
# CONFIG_DM_74X164 is not set
# CONFIG_DM_PCA953X is not set
# CONFIG_MPC85XX_GPIO is not set

#
# I2C support
#
# CONFIG_DM_I2C is not set
# CONFIG_DM_I2C_COMPAT is not set
# CONFIG_SYS_I2C_DW is not set
# CONFIG_SYS_I2C_IMX_LPI2C is not set
CONFIG_DM_KEYBOARD=y
# CONFIG_CROS_EC_KEYB is not set
CONFIG_I8042_KEYB=y

#
# LED Support
#
# CONFIG_LED is not set
# CONFIG_LED_STATUS is not set

#
# Mailbox Controller Support
#
# CONFIG_DM_MAILBOX is not set

#
# Memory Controller drivers
#

#
# Multifunction device drivers
#
# CONFIG_MISC is not set
# CONFIG_CROS_EC is not set
# CONFIG_DS4510 is not set
# CONFIG_FSL_SEC_MON is not set
# CONFIG_MXC_OCOTP is not set
# CONFIG_NUVOTON_NCT6102D is not set
# CONFIG_PWRSEQ is not set
# CONFIG_PCA9551_LED is not set
# CONFIG_WINBOND_W83627 is not set
CONFIG_QFW=y

#
# MMC Host controller Support
#
# CONFIG_MMC is not set
CONFIG_DM_MMC=y

#
# MTD Support
#
# CONFIG_MTD is not set
# CONFIG_MTD_NOR_FLASH is not set
# CONFIG_NAND is not set

#
# SPI Flash Support
#
CONFIG_DM_SPI_FLASH=y
# CONFIG_SPI_FLASH is not set

#
# UBI support
#
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_WL_THRESHOLD=4096
CONFIG_MTD_UBI_BEB_LIMIT=20
# CONFIG_MTD_UBI_FASTMAP is not set
# CONFIG_BITBANGMII is not set
# CONFIG_MV88E6352_SWITCH is not set
# CONFIG_PHYLIB is not set
CONFIG_DM_ETH=y
CONFIG_NETDEVICES=y
# CONFIG_PHY_GIGE is not set
# CONFIG_ALTERA_TSE is not set
# CONFIG_BCM_SF2_ETH is not set
# CONFIG_DWC_ETH_QOS is not set
CONFIG_E1000=y
# CONFIG_E1000_SPI_GENERIC is not set
# CONFIG_E1000_SPI is not set
# CONFIG_CMD_E1000 is not set
# CONFIG_ETH_DESIGNWARE is not set
# CONFIG_ETHOC is not set
# CONFIG_FTMAC100 is not set
# CONFIG_MACB is not set
# CONFIG_PCH_GBE is not set
# CONFIG_RGMII is not set
# CONFIG_RTL8139 is not set
# CONFIG_RTL8169 is not set
# CONFIG_SMC911X is not set
# CONFIG_SUN7I_GMAC is not set
# CONFIG_SUN4I_EMAC is not set
# CONFIG_SUN8I_EMAC is not set
CONFIG_NVME=y
CONFIG_PCI=y
CONFIG_DM_PCI=y
# CONFIG_DM_PCI_COMPAT is not set
CONFIG_PCI_PNP=y
# CONFIG_PCIE_ECAM_GENERIC is not set
# CONFIG_PCI_XILINX is not set
# CONFIG_PCIE_LAYERSCAPE is not set

#
# PHY Subsystem
#
# CONFIG_PHY is not set
# CONFIG_SPL_PHY is not set
# CONFIG_MVEBU_COMPHY_SUPPORT is not set

#
# Pin controllers
#
# CONFIG_PINCTRL is not set

#
# Power
#

#
# Power Domain Support
#
# CONFIG_POWER_DOMAIN is not set
# CONFIG_DM_PMIC is not set
# CONFIG_PMIC_AS3722 is not set
# CONFIG_POWER_MC34VR500 is not set
# CONFIG_DM_REGULATOR is not set
# CONFIG_DM_PWM is not set
# CONFIG_PWM_SANDBOX is not set
# CONFIG_RAM is not set

#
# Remote Processor drivers
#

#
# Reset Controller Support
#
# CONFIG_DM_RESET is not set

#
# Real Time Clock
#
CONFIG_DM_RTC=y
# CONFIG_RTC_PCF2127 is not set
# CONFIG_RTC_DS1307 is not set
# CONFIG_SCSI is not set
CONFIG_DM_SCSI=y

#
# Serial drivers
#
CONFIG_BAUDRATE=115200
CONFIG_REQUIRE_SERIAL_CONSOLE=y
CONFIG_SERIAL_PRESENT=y
CONFIG_SPL_SERIAL_PRESENT=y
CONFIG_DM_SERIAL=y
# CONFIG_SERIAL_RX_BUFFER is not set
# CONFIG_SPL_DM_SERIAL is not set
# CONFIG_TPL_DM_SERIAL is not set
# CONFIG_DEBUG_UART_SKIP_INIT is not set
# CONFIG_ALTERA_JTAG_UART is not set
# CONFIG_ALTERA_UART is not set
# CONFIG_ATMEL_USART is not set
# CONFIG_FSL_LPUART is not set
# CONFIG_MVEBU_A3700_UART is not set
# CONFIG_NULLDEV_SERIAL is not set
CONFIG_SYS_NS16550=y
# CONFIG_MSM_SERIAL is not set
# CONFIG_PXA_SERIAL is not set

#
# Sound support
#
# CONFIG_SOUND is not set

#
# SPI Support
#
CONFIG_DM_SPI=y
# CONFIG_ALTERA_SPI is not set
# CONFIG_CADENCE_QSPI is not set
# CONFIG_DESIGNWARE_SPI is not set
# CONFIG_EXYNOS_SPI is not set
# CONFIG_FSL_DSPI is not set
# CONFIG_ICH_SPI is not set
# CONFIG_MVEBU_A3700_SPI is not set
# CONFIG_ROCKCHIP_SPI is not set
# CONFIG_TEGRA114_SPI is not set
# CONFIG_TEGRA20_SFLASH is not set
# CONFIG_TEGRA20_SLINK is not set
# CONFIG_TEGRA210_QSPI is not set
# CONFIG_XILINX_SPI is not set
# CONFIG_SOFT_SPI is not set
# CONFIG_FSL_ESPI is not set
# CONFIG_FSL_QSPI is not set
# CONFIG_NDS_AE3XX_SPI is not set
# CONFIG_TI_QSPI is not set
# CONFIG_OMAP3_SPI is not set

#
# SPMI support
#
# CONFIG_SPMI is not set

#
# System reset device drivers
#
# CONFIG_SYSRESET is not set
# CONFIG_SYSRESET_SYSCON is not set
# CONFIG_SYSRESET_WATCHDOG is not set
# CONFIG_DM_THERMAL is not set

#
# Timer Support
#
CONFIG_TIMER=y
# CONFIG_TIMER_EARLY is not set
# CONFIG_ALTERA_TIMER is not set
# CONFIG_ATMEL_PIT_TIMER is not set
CONFIG_X86_TSC_TIMER=y
# CONFIG_OMAP_TIMER is not set
# CONFIG_AST_TIMER is not set
# CONFIG_STI_TIMER is not set
# CONFIG_ROCKCHIP_TIMER is not set

#
# TPM support
#
CONFIG_USB=y
CONFIG_DM_USB=y

#
# USB Host Controller Drivers
#
CONFIG_USB_HOST=y
# CONFIG_USB_XHCI_HCD is not set
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_MSM is not set
CONFIG_USB_EHCI_PCI=y
# CONFIG_USB_EHCI_GENERIC is not set
# CONFIG_USB_OHCI_HCD is not set
# CONFIG_USB_UHCI_HCD is not set
# CONFIG_USB_DWC2 is not set
# CONFIG_USB_DWC3 is not set

#
# MUSB Controller Driver
#
# CONFIG_USB_MUSB_HOST is not set
# CONFIG_USB_MUSB_GADGET is not set
# CONFIG_USB_MUSB_TI is not set

#
# ULPI drivers
#

#
# USB peripherals
#
CONFIG_USB_STORAGE=y
CONFIG_USB_KEYBOARD=y
CONFIG_SYS_USB_EVENT_POLL=y
# CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE is not set
# CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is not set
# CONFIG_USB_GADGET is not set
CONFIG_USB_HOST_ETHER=y
CONFIG_USB_ETHER_ASIX=y
# CONFIG_USB_ETHER_ASIX88179 is not set
# CONFIG_USB_ETHER_LAN75XX is not set
# CONFIG_USB_ETHER_LAN78XX is not set
# CONFIG_USB_ETHER_MCS7830 is not set
# CONFIG_USB_ETHER_RTL8152 is not set
CONFIG_USB_ETHER_SMSC95XX=y

#
# Graphics support
#
CONFIG_DM_VIDEO=y
# CONFIG_BACKLIGHT_GPIO is not set
CONFIG_VIDEO_BPP8=y
CONFIG_VIDEO_BPP16=y
CONFIG_VIDEO_BPP32=y
CONFIG_VIDEO_ANSI=y
CONFIG_CONSOLE_NORMAL=y
# CONFIG_CONSOLE_ROTATION is not set
# CONFIG_CONSOLE_TRUETYPE is not set
CONFIG_SYS_WHITE_ON_BLACK=y
# CONFIG_NO_FB_CLEAR is not set

#
# TrueType Fonts
#
# CONFIG_VIDCONSOLE_AS_LCD is not set
CONFIG_VIDEO_VESA=y
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
# CONFIG_FRAMEBUFFER_VESA_MODE_100 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_101 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_102 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_103 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_104 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_105 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_106 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_107 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_108 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_109 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_10A is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_10B is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_10C is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_10D is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_10E is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_10F is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_110 is not set
CONFIG_FRAMEBUFFER_VESA_MODE_111=y
# CONFIG_FRAMEBUFFER_VESA_MODE_112 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_113 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_114 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_115 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_116 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_117 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_118 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_119 is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_11A is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_11B is not set
# CONFIG_FRAMEBUFFER_VESA_MODE_USER is not set
CONFIG_FRAMEBUFFER_VESA_MODE=0x111
# CONFIG_VIDEO_LCD_ANX9804 is not set
# CONFIG_VIDEO_LCD_SSD2828 is not set
# CONFIG_VIDEO_MVEBU is not set
# CONFIG_DISPLAY is not set
# CONFIG_ATMEL_HLCD is not set
# CONFIG_VIDEO_BROADWELL_IGD is not set
# CONFIG_VIDEO_IVYBRIDGE_IGD is not set
# CONFIG_VIDEO_ROCKCHIP is not set
# CONFIG_VIDEO_STM32 is not set
# CONFIG_VIDEO_TEGRA20 is not set
# CONFIG_VIDEO_TEGRA124 is not set
# CONFIG_VIDEO_BRIDGE is not set
CONFIG_CONSOLE_SCROLL_LINES=5
# CONFIG_LCD is not set
# CONFIG_VIDEO_SIMPLE is not set
# CONFIG_VIDEO_DT_SIMPLEFB is not set

#
# Watchdog Timer Support
#
# CONFIG_BCM2835_WDT is not set
# CONFIG_ULP_WATCHDOG is not set
# CONFIG_WDT is not set
# CONFIG_PHYS_TO_BUS is not set

#
# File systems
#
# CONFIG_FS_BTRFS is not set
# CONFIG_FS_CBFS is not set
CONFIG_FS_FAT=y
# CONFIG_FAT_WRITE is not set
CONFIG_FS_FAT_MAX_CLUSTSIZE=65536
# CONFIG_FS_JFFS2 is not set
# CONFIG_FS_CRAMFS is not set
# CONFIG_YAFFS2 is not set

#
# Library routines
#
# CONFIG_BCH is not set
# CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED is not set
CONFIG_HAVE_PRIVATE_LIBGCC=y
CONFIG_USE_PRIVATE_LIBGCC=y
CONFIG_SYS_HZ=1000
# CONFIG_USE_TINY_PRINTF is not set
CONFIG_REGEX=y
# CONFIG_LIB_RAND is not set
# CONFIG_SPL_TINY_MEMSET is not set
# CONFIG_TPL_TINY_MEMSET is not set
CONFIG_RBTREE=y
# CONFIG_CMD_DHRYSTONE is not set

#
# Security support
#
# CONFIG_AES is not set
# CONFIG_RSA is not set
# CONFIG_TPM is not set

#
# Hashing Support
#
CONFIG_SHA1=y
CONFIG_SHA256=y
# CONFIG_SHA_HW_ACCEL is not set
CONFIG_MD5=y

#
# Compression Support
#
# CONFIG_LZ4 is not set
# CONFIG_LZMA is not set
CONFIG_LZO=y
# CONFIG_SPL_LZO is not set
# CONFIG_SPL_GZIP is not set
# CONFIG_ERRNO_STR is not set
CONFIG_OF_LIBFDT=y
# CONFIG_OF_LIBFDT_OVERLAY is not set
# CONFIG_SPL_OF_LIBFDT is not set
# CONFIG_FDT_FIXUP_PARTITIONS is not set

#
# System tables
#
CONFIG_GENERATE_SMBIOS_TABLE=y
CONFIG_SMBIOS_MANUFACTURER="emulation"
# CONFIG_EFI is not set
CONFIG_EFI_LOADER=y
# CONFIG_UNIT_TEST is not set


More information about the U-Boot mailing list