mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-25 11:28:51 +09:00
![Patrick Delaunay](/assets/img/avatar_default.png)
Activate ARCH_SUPPORT_PSCI as other TEGRA124 target and remove CONFIG_ARMV7_PSCI and CONFIG_ARMV7_PSCI_NR_CPUS in configs file as they are migrated in Kconfig. Select CONFIG_ARMV7_PSCI_0_1 (the first PSCI version), because CONFIG_ARMV7_PSCI_0_2 and CONFIG_ARMV7_PSCI_1_0 are not activated in this product. Hi, This patch depend on the previous serie [1]. I don't test this patch on real hardware but after this patch the size of the binary don't change. In .config we have: CONFIG_ARCH_SUPPORT_PSCI=y CONFIG_ARMV7_PSCI=y # CONFIG_ARMV7_PSCI_1_0 is not set # CONFIG_ARMV7_PSCI_0_2 is not set CONFIG_ARMV7_PSCI_0_1=y CONFIG_ARMV7_PSCI_NR_CPUS=4 In u-boot.cfg, this patch only add the 2 lines #define CONFIG_ARCH_SUPPORT_PSCI 1 #define CONFIG_ARMV7_PSCI_0_1 1 [1] "Convert CONFIG_ARMV7_PSCI_1_0 and CONFIG_ARMV7_PSCI_0_2 to Kconfig" http://patchwork.ozlabs.org/project/uboot/list/?series=184029 Regards Patrick END Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Peter Chubb <peter.chubb@data61.csiro.au> Signed-off-by: Tom Warren <twarren@nvidia.com>
64 lines
1.5 KiB
Plaintext
64 lines
1.5 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_TEGRA=y
|
|
CONFIG_SYS_TEXT_BASE=0x80110000
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_ENV_OFFSET=0xFFFFE000
|
|
CONFIG_SPL_TEXT_BASE=0x80108000
|
|
CONFIG_TEGRA124=y
|
|
CONFIG_TARGET_CEI_TK1_SOM=y
|
|
CONFIG_ARMV7_PSCI_0_1=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="tegra124-cei-tk1-som"
|
|
CONFIG_OF_SYSTEM_SETUP=y
|
|
CONFIG_CONSOLE_MUX=y
|
|
CONFIG_SYS_STDIO_DEREGISTER=y
|
|
CONFIG_SYS_PROMPT="Tegra124 (TK1-SOM) # "
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_PCI=y
|
|
CONFIG_CMD_SPI=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
# CONFIG_CMD_NFS is not set
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
# CONFIG_SPL_DOS_PARTITION is not set
|
|
# CONFIG_SPL_EFI_PARTITION is not set
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_SYS_MMC_ENV_PART=2
|
|
CONFIG_SPL_DM=y
|
|
CONFIG_DFU_MMC=y
|
|
CONFIG_DFU_RAM=y
|
|
CONFIG_DFU_SF=y
|
|
CONFIG_SYS_I2C_TEGRA=y
|
|
CONFIG_SF_DEFAULT_MODE=0
|
|
CONFIG_SF_DEFAULT_SPEED=24000000
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
CONFIG_RTL8169=y
|
|
CONFIG_PCI=y
|
|
CONFIG_DM_PCI=y
|
|
CONFIG_DM_PCI_COMPAT=y
|
|
CONFIG_PCI_TEGRA=y
|
|
CONFIG_DM_PMIC=y
|
|
CONFIG_PMIC_AS3722=y
|
|
CONFIG_DM_REGULATOR=y
|
|
CONFIG_REGULATOR_AS3722=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_TEGRA114_SPI=y
|
|
CONFIG_USB=y
|
|
CONFIG_DM_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_EHCI_TEGRA=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="NVIDIA"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0955
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x701a
|
|
CONFIG_CI_UDC=y
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_USB_HOST_ETHER=y
|
|
CONFIG_USB_ETHER_ASIX=y
|