mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 17:08:52 +09:00
![Philipp Tomsich](/assets/img/avatar_default.png)
The bounce buffer is used by a few drivers (most of the MMC drivers) to overcome limitations in their respective DMA implementation. This moves the configuration to Kconfig and makes it user-selectable (even though it will be a required feature to make those drivers work): the expected usage is for drivers depending on this to 'select' it unconditionally from their respective Kconfig (see follow-up patches). This commit includes a full migration using moveconfig.py to ensure that each commit compiles. To ensure bisectability we update dependencies of various drivers to now select BOUNCE_BUFFER when needed. [trini: Squash all patches to ensure bisectability] Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Otavio Salvador <otavio@ossystems.com.br> [dw_mmc portion] Reviewed-by: Fabio Estevam <festevam@gmail.com> [mxsmmc portion] Reviewed-by: Simon Glass <sjg@chromium.org> [tegra portion]
56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_MX7=y
|
|
CONFIG_SYS_TEXT_BASE=0x87800000
|
|
CONFIG_SECURE_BOOT=y
|
|
CONFIG_TARGET_WARP7=y
|
|
CONFIG_ARMV7_BOOT_SEC_DEFAULT=y
|
|
# CONFIG_ARMV7_VIRT is not set
|
|
CONFIG_IMX_RDC=y
|
|
CONFIG_IMX_BOOTAUX=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_FIT=y
|
|
CONFIG_FIT_VERBOSE=y
|
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/warp7/imximage.cfg"
|
|
CONFIG_BOUNCE_BUFFER=y
|
|
CONFIG_HUSH_PARSER=y
|
|
# CONFIG_CMD_BOOTD is not set
|
|
CONFIG_CMD_BOOTZ=y
|
|
# CONFIG_CMD_IMI is not set
|
|
# CONFIG_CMD_XIMG is not set
|
|
CONFIG_CMD_MEMTEST=y
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_PART=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_EXT2=y
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_FS_GENERIC=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_DFU_MMC=y
|
|
CONFIG_FSL_ESDHC=y
|
|
CONFIG_OPTEE=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_MXC_USB_OTG_HACTIVE=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="FSL"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0525
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
|
|
CONFIG_CI_UDC=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_USB_ETHER=y
|
|
CONFIG_USB_ETH_CDC=y
|
|
CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00"
|
|
CONFIG_OF_LIBFDT=y
|
|
CONFIG_OPTEE_LOAD_ADDR=0x84000000
|
|
CONFIG_OPTEE_TZDRAM_SIZE=0x3000000
|
|
CONFIG_OPTEE_TZDRAM_BASE=0x9d000000
|
|
CONFIG_BOOTM_OPTEE=y
|