]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Merge tag 'u-boot-imx-20200804' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
authorTom Rini <trini@konsulko.com>
Tue, 4 Aug 2020 15:11:02 +0000 (11:11 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 4 Aug 2020 15:11:02 +0000 (11:11 -0400)
For 2020.10
-----------

- fixes for Toradex board
- fix warnings from previous PR
- HAB: reset instead of panic after failure
- new board:  MYiR Tech MYS-6ULX
- mx6cuboxi: use OF_PLATDATA
- further changes for DM

Travis: https://travis-ci.org/github/sbabic/u-boot-imx/builds/714513163

14 files changed:
1  2 
arch/arm/Kconfig
arch/arm/dts/Makefile
configs/colibri-imx6ull_defconfig
configs/colibri_imx7_defconfig
configs/colibri_imx7_emmc_defconfig
configs/mx6cuboxi_defconfig
configs/pcm058_defconfig
configs/pico-imx6_defconfig
configs/verdin-imx8mm_defconfig
drivers/gpio/mxc_gpio.c
drivers/video/imx/mxc_ipuv3_fb.c
include/configs/imx8mn_evk.h
include/configs/imx8mp_evk.h
include/configs/imx8mq_evk.h

Simple merge
Simple merge
Simple merge
Simple merge
index b4334371eb1ab26d8a90d0d3860daef9f47c4afc,3056cc03a5996e77d882c2535d9e906a03014acd..8355fef4192d6fc7d1e7ae226053d5144dafae8b
@@@ -84,4 -83,7 +84,6 @@@ CONFIG_USB_GADGET_VENDOR_NUM=0x1b6
  CONFIG_USB_GADGET_PRODUCT_NUM=0x4000
  CONFIG_CI_UDC=y
  CONFIG_DM_VIDEO=y
 -CONFIG_FAT_WRITE=y
  CONFIG_OF_LIBFDT_OVERLAY=y
+ CONFIG_BOARD_LATE_INIT=y
+ CONFIG_SYS_WHITE_ON_BLACK=y
index 0e1e64134b5859703d6a0a5305777c8eb607c4ef,59214ba907535e6bbce5112e05a999deabdcbce0..02f7279b032ba70178694145c3c6dd3142f82509
@@@ -40,9 -39,10 +40,10 @@@ CONFIG_CMD_EXT4_WRITE=
  # CONFIG_SPL_PARTITION_UUIDS is not set
  CONFIG_OF_CONTROL=y
  CONFIG_SPL_OF_CONTROL=y
 -CONFIG_DEFAULT_DEVICE_TREE="imx6dl-hummingboard2-emmc-som-v15"
  CONFIG_OF_LIST="imx6dl-hummingboard2-emmc-som-v15 imx6q-hummingboard2-emmc-som-v15"
  CONFIG_MULTI_DTB_FIT=y
 +CONFIG_ENV_OVERWRITE=y
+ CONFIG_SPL_OF_PLATDATA=y
  CONFIG_ENV_IS_IN_MMC=y
  CONFIG_SYS_RELOC_GD_ENV_ADDR=y
  CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
index e8a263bee5d15df359451a71981900bc88b17cff,b085a7dd0c39841c4f74441958958ac38e985b4b..045ef16ec71ae67ced8f33b22954458b3c0e1c6c
@@@ -7,12 -7,12 +7,12 @@@ CONFIG_SPL_LIBGENERIC_SUPPORT=
  CONFIG_ENV_SIZE=0x4000
  CONFIG_ENV_OFFSET=0x100000
  CONFIG_ENV_SECT_SIZE=0x10000
- CONFIG_SYS_SPI_U_BOOT_OFFS=0x40000
+ CONFIG_SYS_SPI_U_BOOT_OFFS=0x31400
  CONFIG_MX6_OCRAM_256KB=y
  CONFIG_TARGET_PCM058=y
 -CONFIG_SPL_TEXT_BASE=0x00908000
  CONFIG_DM_GPIO=y
  CONFIG_SPL_DM_SPI=y
 +CONFIG_SPL_TEXT_BASE=0x00908000
  CONFIG_SPL_MMC_SUPPORT=y
  CONFIG_SPL_SERIAL_SUPPORT=y
  CONFIG_NR_DRAM_BANKS=1
Simple merge
Simple merge
index a16f5719edebcd68649b17ec1e41ab81c4de57fc,fc7d296a2c16da345633dfc36670719be38b8b87..88b920a0746b9aa96ef42fc7dc9e9a704692aae6
@@@ -297,14 -309,15 +309,15 @@@ static int mxc_gpio_probe(struct udevic
  
  static int mxc_gpio_ofdata_to_platdata(struct udevice *dev)
  {
-       fdt_addr_t addr;
        struct mxc_gpio_plat *plat = dev_get_platdata(dev);
 -              addr = devfdt_get_addr(dev);
+       if (!CONFIG_IS_ENABLED(OF_PLATDATA)) {
+               fdt_addr_t addr;
++              addr = dev_read_addr(dev);
+               if (addr == FDT_ADDR_T_NONE)
+                       return -EINVAL;
  
-       addr = dev_read_addr(dev);
-       if (addr == FDT_ADDR_T_NONE)
-               return -EINVAL;
-       plat->regs = (struct gpio_regs *)addr;
+               plat->regs = (struct gpio_regs *)addr;
+       }
        plat->bank_index = dev->req_seq;
  
        return 0;
Simple merge
Simple merge
Simple merge
Simple merge