]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Merge branch 'next'
authorTom Rini <trini@konsulko.com>
Mon, 11 Jul 2022 14:18:13 +0000 (10:18 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 11 Jul 2022 18:58:57 +0000 (14:58 -0400)
25 files changed:
1  2 
MAINTAINERS
Makefile
arch/arm/dts/Makefile
arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi
board/kontron/sl-mx8mm/spl.c
configs/imx8mm_data_modul_edm_sbc_defconfig
configs/imx8mn_bsh_smm_s2_defconfig
configs/imx8mq_phanbell_defconfig
configs/kontron-sl-mx8mm_defconfig
configs/nanopi-r2s-rk3328_defconfig
configs/pinebook-pro-rk3399_defconfig
configs/rockpro64-rk3399_defconfig
configs/socfpga_chameleonv3_defconfig
drivers/gpio/Kconfig
drivers/usb/gadget/Kconfig
fs/squashfs/sqfs.c
include/configs/imx8mm_data_modul_edm_sbc.h
include/configs/imx8mn_bsh_smm_s2.h
include/configs/rk3036_common.h
include/configs/rk3188_common.h
include/configs/rk322x_common.h
include/configs/socfpga_chameleonv3.h
include/efi_loader.h
lib/crypto/Kconfig
scripts/config_whitelist.txt

diff --cc MAINTAINERS
Simple merge
diff --cc Makefile
Simple merge
Simple merge
Simple merge
index f8c75a2b237ea9e322986c0d6e17df264ea91c3b,5013dc5895c76c9f0a39a40de23b4d9d74222a62..79995591f28dabd59a48485d900735b366ff84ba
@@@ -26,14 -26,22 +26,24 @@@ CONFIG_OF_SYSTEM_SETUP=
  CONFIG_DEFAULT_FDT_FILE="freescale/imx8mn-bsh-smm-s2.dtb"
  CONFIG_ARCH_MISC_INIT=y
  CONFIG_BOARD_LATE_INIT=y
+ CONFIG_SPL_MAX_SIZE=0x25000
+ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
+ CONFIG_SPL_BSS_START_ADDR=0x950000
+ CONFIG_SPL_BSS_MAX_SIZE=0x2000
  CONFIG_SPL_BOARD_INIT=y
  CONFIG_SPL_BOOTROM_SUPPORT=y
+ # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
+ CONFIG_SPL_STACK=0x980000
+ CONFIG_SYS_SPL_MALLOC=y
+ CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y
+ CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0x42200000
+ CONFIG_SYS_SPL_MALLOC_SIZE=0x80000
  CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
  CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
 +CONFIG_SPL_DMA=y
  CONFIG_SPL_I2C=y
  CONFIG_SPL_MTD_SUPPORT=y
 +CONFIG_SPL_NAND_SUPPORT=y
  CONFIG_SPL_POWER=y
  CONFIG_SPL_WATCHDOG=y
  CONFIG_SYS_PROMPT="> "
Simple merge
index f453ace625549e5ca5eb063dcec6836bf8f6ba5e,17658d5334d737f1b026e6c4e87aed3e9538f0ec..344f627bf5f7dc5001b91e52da6a70a1e0fc51f5
@@@ -100,10 -111,9 +112,10 @@@ CONFIG_DM_PMIC=
  CONFIG_DM_PMIC_PCA9450=y
  CONFIG_SPL_DM_PMIC_PCA9450=y
  CONFIG_DM_REGULATOR=y
 +CONFIG_DM_REGULATOR_PCA9450=y
  CONFIG_DM_RTC=y
  CONFIG_RTC_RV8803=y
- CONFIG_CONS_INDEX=2
+ CONFIG_DM_SERIAL=y
  CONFIG_MXC_UART=y
  CONFIG_SPI=y
  CONFIG_DM_SPI=y
Simple merge
index aaa52c6ea7032b51eb895808215bcdf088328f26,af473f9136725fb4ed9cfb8c85c5ec9e3e1ab560..602bcb78cb26cd664e7ed49fdff5f79baeeef44d
@@@ -20,9 -21,17 +22,16 @@@ CONFIG_USE_PREBOOT=
  CONFIG_DEFAULT_FDT_FILE="rockchip/rk3399-pinebook-pro.dtb"
  CONFIG_DISPLAY_BOARDINFO_LATE=y
  CONFIG_MISC_INIT_R=y
+ CONFIG_SPL_MAX_SIZE=0x2e000
+ CONFIG_SPL_PAD_TO=0x7f8000
+ CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
+ CONFIG_SPL_BSS_START_ADDR=0x400000
+ CONFIG_SPL_BSS_MAX_SIZE=0x2000
  # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
+ # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
+ CONFIG_SPL_STACK=0x400000
  CONFIG_SPL_STACK_R=y
  CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x10000
 -CONFIG_SPL_MTD_SUPPORT=y
  CONFIG_SPL_SPI_LOAD=y
  CONFIG_TPL=y
  CONFIG_CMD_BOOTZ=y
Simple merge
index 12f3950d44a9042b90156499964f3d335b69930c,0000000000000000000000000000000000000000..e78d3b51dedc0885a132b28ec06d9cc9b5f7ea40
mode 100644,000000..100644
--- /dev/null
@@@ -1,28 -1,0 +1,34 @@@
 +CONFIG_ARM=y
 +CONFIG_ARCH_SOCFPGA=y
 +CONFIG_ENV_SIZE=0x10000
 +CONFIG_ENV_OFFSET=0x4400
 +CONFIG_DEFAULT_DEVICE_TREE="socfpga_arria10_chameleonv3_480_2"
 +CONFIG_SPL_TEXT_BASE=0xFFE00000
 +CONFIG_SPL_DRIVERS_MISC=y
 +CONFIG_TARGET_SOCFPGA_CHAMELEONV3=y
 +CONFIG_SPL_FS_FAT=y
 +CONFIG_DISTRO_DEFAULTS=y
 +CONFIG_FIT=y
 +CONFIG_SPL_FIT=y
 +# CONFIG_USE_SPL_FIT_GENERATOR is not set
 +CONFIG_MISC_INIT_R=y
++CONFIG_SPL_NO_BSS_LIMIT=y
++CONFIG_SYS_SPL_MALLOC=y
++CONFIG_HAS_CUSTOM_SPL_MALLOC_START=y
++CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR=0xffe2b000
++CONFIG_SYS_SPL_MALLOC_SIZE=0x15000
 +CONFIG_SPL_ENV_SUPPORT=y
 +CONFIG_SPL_FPGA=y
++CONFIG_SYS_BOOTM_LEN=0x2000000
 +CONFIG_ENV_IS_IN_MMC=y
 +CONFIG_SYS_I2C_DW=y
 +CONFIG_MISC=y
 +CONFIG_ATSHA204A=y
 +CONFIG_FS_LOADER=y
 +CONFIG_SPL_FS_LOADER=y
 +CONFIG_MMC_DW=y
 +CONFIG_DM_ETH=y
 +CONFIG_ETH_DESIGNWARE=y
 +CONFIG_TIMER=y
 +CONFIG_SPL_TIMER=y
 +CONFIG_DESIGNWARE_APB_TIMER=y
Simple merge
Simple merge
Simple merge
index d09c2ab01610feadfaa060fb75dbc02f9effc51c,84c19824bdca7d9c9f65d4fd44146bab3d73cfa5..c6b296281424f22d690691b3144e39d0313f6e2b
  #include <config_distro_bootcmd.h>
  
  #define NANDARGS \
-       "mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \
-       "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
-       "nandargs=setenv bootargs " \
+       "nandargs=setenv bootargs console=${console} " \
                "${optargs} " \
 +              "mtdparts=${mtdparts} " \
                "root=${nandroot} " \
                "rootfstype=${nandrootfstype}\0" \
        "nandroot=ubi0:root rw ubi.mtd=nandrootfs\0" \
index f4f6bcab5edadbea361c1a768a681de77b0f291a,ac57721f02143f79f07e112be9c9fba4f06e41e8..6616396777a03646c557ed7fab7295dd13d10cfb
@@@ -8,13 -8,11 +8,8 @@@
  #include <asm/arch-rockchip/hardware.h>
  #include "rockchip-common.h"
  
- #define CONFIG_SYS_CBSIZE             1024
  #define CONFIG_SYS_HZ_CLOCK           24000000
  
- #define CONFIG_SYS_INIT_SP_ADDR               0x60100000
- #define CONFIG_SPL_STACK              0x10081fff
 -#define CONFIG_ROCKCHIP_MAX_INIT_SIZE (4 << 10)
 -#define CONFIG_ROCKCHIP_CHIP_TAG      "RK30"
--
  #define CONFIG_SYS_SDRAM_BASE         0x60000000
  #define SDRAM_BANK_SIZE                       (512UL << 20UL)
  #define SDRAM_MAX_SIZE                  (CONFIG_NR_DRAM_BANKS * SDRAM_BANK_SIZE)
index 5c4dfa61e05ab3850d87dc266ab812914f384b7e,56fba3ff2578ae957f244a010742958e4dcc58e8..6fe1b2d9a2e0da3571dbf77dc8c0c33213480431
@@@ -9,13 -9,8 +9,6 @@@
  #include <asm/arch-rockchip/hardware.h>
  #include "rockchip-common.h"
  
- #define CONFIG_SYS_CBSIZE             1024
- #ifdef CONFIG_SPL_ROCKCHIP_BACK_TO_BROM
- /* Bootrom will load u-boot binary to 0x60000000 once return from SPL */
- #endif
- #define CONFIG_SYS_INIT_SP_ADDR               0x60100000
 -#define CONFIG_ROCKCHIP_MAX_INIT_SIZE (0x8000 - 0x800)
 -#define CONFIG_ROCKCHIP_CHIP_TAG      "RK31"
  #define CONFIG_IRAM_BASE      0x10080000
  
  /* spl size 32kb sram - 2kb bootrom */
index f66a7d23be36bd663530e60e448610f1e943bd0c,ec9e9ca1e31a0bc9342c2e079267803a2da560c4..4fb86b69a8e9ffe39b64cc20fcdd49c352e7d22e
@@@ -8,14 -8,10 +8,8 @@@
  #include <asm/arch-rockchip/hardware.h>
  #include "rockchip-common.h"
  
- #define CONFIG_SYS_CBSIZE             1024
- #define CONFIG_SYS_BOOTM_LEN  (64 << 20)      /*  64M */
  #define CONFIG_SYS_HZ_CLOCK           24000000
  
- #define CONFIG_SYS_INIT_SP_ADDR               0x61100000
- #define CONFIG_SPL_MAX_SIZE           0x100000
 -#define CONFIG_ROCKCHIP_MAX_INIT_SIZE (28 << 10)
 -#define CONFIG_ROCKCHIP_CHIP_TAG      "RK32"
  #define CONFIG_IRAM_BASE              0x10080000
  
  #define CONFIG_SYS_SDRAM_BASE         0x60000000
index 891b762946bb067337c677641ea7e6628f83fce7,0000000000000000000000000000000000000000..75d2081fac888e177a7ba7eca5aa788143099740
mode 100644,000000..100644
--- /dev/null
@@@ -1,44 -1,0 +1,39 @@@
- #define CONFIG_SYS_BOOTM_LEN  (32 * 1024 * 1024)
 +/* SPDX-License-Identifier: GPL-2.0 */
 +/*
 + * Copyright 2022 Google LLC
 + */
 +#ifndef __SOCFGPA_CHAMELEONV3_H__
 +#define __SOCFGPA_CHAMELEONV3_H__
 +
 +#include <asm/arch/base_addr_a10.h>
 +
- /* SPL memory allocation configuration, this is for FAT implementation */
- #define CONFIG_SYS_SPL_MALLOC_SIZE    0x00015000
 +/*
 + * U-Boot general configurations
 + */
 +
 +/* Memory configurations  */
 +#define PHYS_SDRAM_1_SIZE             0x40000000
 +
 +/*
 + * Serial / UART configurations
 + */
 +#define CONFIG_SYS_NS16550_MEM32
 +#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600, 115200}
 +
 +#define CONFIG_EXTRA_ENV_SETTINGS \
 +      "autoload=no\0" \
 +      "bootargs=cma=256M console=ttyS1,115200 root=/dev/mmcblk0p3 rw rootwait\0" \
 +      "distro_bootcmd=bridge enable; run bootcmd_mmc\0" \
 +      "bootcmd_mmc=load mmc 0:1 ${loadaddr} kernel.itb; bootm\0" \
 +      "bootcmd_net=dhcp; tftpboot ${loadaddr} kernel.itb; bootm\0"
 +
 +/*
 + * L4 OSC1 Timer 0
 + */
 +/* reload value when timer count to zero */
 +#define TIMER_LOAD_VAL                        0xFFFFFFFF
 +
 +/* The rest of the configuration is shared */
 +#include <configs/socfpga_common.h>
 +
 +#endif        /* __SOCFGPA_CHAMELEONV3_H__ */
Simple merge
Simple merge
index c61df4fb1c9b1e946aef5ac4e5ca018ac43293c7,f4ae48d26516cdc03ea9ab9f4f7d6acaf5ff4aee..efc2f3bcf71ee2db4cf65e8ba5f9b4333dbab721
@@@ -493,7 -389,8 +389,6 @@@ CONFIG_RAMBOOT_TEXT_BAS
  CONFIG_RAMDISK_ADDR
  CONFIG_RD_LVL
  CONFIG_RESET_VECTOR_ADDRESS
- CONFIG_RESTORE_FLASH
 -CONFIG_ROCKCHIP_CHIP_TAG
 -CONFIG_ROCKCHIP_MAX_INIT_SIZE
  CONFIG_ROCKCHIP_SDHCI_MAX_FREQ
  CONFIG_ROOTPATH
  CONFIG_RTC_DS1337