mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
14c251ffe1
At present we have SPL_POWER but not piain POWER. This works because there is a special build rule in Makefile that always includes the drivers/power directory. It is better to have all driver directories included by drivers/Makefile and there is already a rule in there for this purpose. It just needs a Kconfig for U-Boot proper, so add one. Update the pmic.h header file so that it defines the old pmic struct always, when driver model is not in use. That will avoid build errors for boards which enable POWER but not DM_PMIC. Enable this option always. That seems strange at first sight, but it actually but mimics the current Makefile behaviour. Once we can drop the old PMICs it should be easy enough to rename DM_PMIC to POWWER, or something similar. Signed-off-by: Simon Glass <sjg@chromium.org>
80 lines
2.1 KiB
Text
80 lines
2.1 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_POSITION_INDEPENDENT=y
|
|
CONFIG_ARCH_MEDIATEK=y
|
|
CONFIG_SYS_TEXT_BASE=0x4c000000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_SIZE=0x1000
|
|
CONFIG_ENV_OFFSET=0x0
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="mt8183-pumpkin"
|
|
CONFIG_TARGET_MT8183=y
|
|
CONFIG_DEBUG_UART_BASE=0x11002000
|
|
CONFIG_DEBUG_UART_CLOCK=26000000
|
|
# CONFIG_PSCI_RESET is not set
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_SYS_LOAD_ADDR=0x4c000000
|
|
# CONFIG_ANDROID_BOOT_IMAGE is not set
|
|
CONFIG_FIT=y
|
|
# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
|
|
CONFIG_DEFAULT_FDT_FILE="mt8183-pumpkin"
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_HUSH_PARSER=y
|
|
# CONFIG_CMD_BDI is not set
|
|
# CONFIG_CMD_CONSOLE is not set
|
|
# CONFIG_CMD_BOOTD is not set
|
|
# CONFIG_CMD_BOOTI is not set
|
|
# CONFIG_CMD_ELF is not set
|
|
# CONFIG_CMD_GO is not set
|
|
# CONFIG_CMD_IMI is not set
|
|
# CONFIG_CMD_XIMG is not set
|
|
# CONFIG_CMD_EXPORTENV is not set
|
|
# CONFIG_CMD_IMPORTENV is not set
|
|
# CONFIG_CMD_EDITENV is not set
|
|
# CONFIG_CMD_CRC32 is not set
|
|
# CONFIG_CMD_MEMORY is not set
|
|
CONFIG_CMD_CLK=y
|
|
CONFIG_CMD_GPT=y
|
|
# CONFIG_RANDOM_UUID is not set
|
|
# CONFIG_CMD_LOADB is not set
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_PART=y
|
|
# CONFIG_CMD_ITEST is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
# CONFIG_CMD_BLOCK_CACHE is not set
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_FS_GENERIC=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_SYS_MMC_ENV_PART=2
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
CONFIG_DEVRES=y
|
|
CONFIG_CLK=y
|
|
CONFIG_USB_FUNCTION_FASTBOOT=y
|
|
CONFIG_FASTBOOT_BUF_ADDR=0x4d000000
|
|
CONFIG_FASTBOOT_BUF_SIZE=0x8000000
|
|
CONFIG_FASTBOOT_FLASH=y
|
|
CONFIG_FASTBOOT_FLASH_MMC_DEV=0
|
|
# CONFIG_INPUT is not set
|
|
# CONFIG_MMC_QUIRKS is not set
|
|
CONFIG_MMC_MTK=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_PHY=y
|
|
CONFIG_PHY_MTK_TPHY=y
|
|
# CONFIG_POWER is not set
|
|
CONFIG_BAUDRATE=921600
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_DEBUG_UART_ANNOUNCE=y
|
|
CONFIG_MTK_SERIAL=y
|
|
CONFIG_USB=y
|
|
CONFIG_DM_USB_GADGET=y
|
|
CONFIG_USB_MTU3=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0e8d
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x201c
|
|
CONFIG_USB_ETHER=y
|
|
CONFIG_WDT=y
|
|
CONFIG_WDT_MTK=y
|
|
# CONFIG_REGEX is not set
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|
|
# CONFIG_EFI_LOADER is not set
|