1. 09 7月, 2019 4 次提交
    • M
      at91, omap2plus: configs: migrate CONFIG_ENV_ to defconfigs · a9221f3e
      Markus Klotzbuecher 提交于
      Enable the extended ENV options for AT91 and OMAP2PLUS in order to be
      able to use CONFIG_ENV_UBI_* on these architectures.
      
      As this change also makes the configs ENV_SIZE, ENV_SECT_SIZE,
      ENV_OFFSET visible to AT91 and OMAP2PLUS, migrate users of these to
      KConfig.
      
      This migration was run using an extended moveconfig.py which evaluates
      expressions such as "(512 << 10)". See patch ("moveconfig: expand
      simple expressions").
      
      All modified boards were built with SOURCE_DATE_EPOCH=0 before and
      after the change and successfully confirmed that the identical binary
      is generated (the only exception was igep00x0, which does not define
      CONFIG_ENV_IS_IN_UBI in the original board header. Once that is
      defined, the test passes too).
      
      hs: rebased patch to:
        68b90e57: "configs: tinker-rk3288 disable CONFIG_SPL_I2C_SUPPORT"
      Signed-off-by: NMarkus Klotzbuecher <markus.klotzbuecher@kistler.com>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Eugen Hristev <eugen.hristev@microchip.com>
      Cc: Tom Rini <trini@konsulko.com>
      a9221f3e
    • M
      env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUND · ff4818cc
      Markus Klotzbuecher 提交于
      Introduce the KConfig option CONFIG_ENV_UBI_VOLUME_REDUND for defining
      the name of the UBI volume used to store the redundant environment.
      Signed-off-by: NMarkus Klotzbuecher <markus.klotzbuecher@kistler.com>
      Reviewed-by: NHeiko Schocher <hs@denx.de>
      Cc: Kyungmin Park <kmpark@infradead.org>
      
      hs: get rid of stm32mp1* build errors
      ff4818cc
    • M
      moveconfig: expand simple expressions · b237d358
      Markus Klotzbuecher 提交于
      Add support for expanding simple expressions and sizes such as
      "(4 * 1024)", "(512 << 10)" or "(SZ_256K)".
      
      This can help to significantly reduce the number of "suspicious"
      moves, such as
      
       'CONFIG_ENV_SIZE="(64 << 10)"' was removed by savedefconfig.
      
      If the expansion fails, it falls back to the original string.
      Signed-off-by: NMarkus Klotzbuecher <markus.klotzbuecher@kistler.com>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Heiko Schocher <hs@denx.de>
      b237d358
    • T
      Prepare v2019.07 · e5aee22e
      Tom Rini 提交于
      Signed-off-by: NTom Rini <trini@konsulko.com>
      e5aee22e
  2. 08 7月, 2019 5 次提交
  3. 07 7月, 2019 4 次提交
  4. 06 7月, 2019 1 次提交
  5. 05 7月, 2019 6 次提交
    • S
      mips: mt76xx: Implement new d-cache fix in last_stage_init() · 9814fb27
      Stefan Roese 提交于
      With commit 06985289 ("watchdog: Implement generic watchdog_reset()
      version") the init sequence has changed in arch_misc_init(), resulting
      in a re-appearance of the d-cache issue on MT7688 boards (e.g. gardena).
      When this happens, the first (or sometimes later ones as well) TFTP
      command hangs and does not complete correctly. This leads to the
      assumption that the d-cache is not in a clean state once the ethernet
      driver is called (d-cache is used here for the buffers). The old work-
      around with the cache flush somehow does not work any more now with
      the new code change.
      
      Unfortunately adding CONFIG_SYS_MALLOC_CLEAR_ON_INIT also did not fix
      this issue. With v2019.07-rc3 it shows again. The time of accessing
      the data seems to be very important here. It needs to be "very late"
      in the boot process.
      
      Testing has shown, that copying a 64KiB area in DDR at a very late
      bootup time, directly before calling into the prompt, fixes this issue.
      Flushing of the complete d-cache does not seem to necessary, as this
      copy alone seems to fix this problem.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      9814fb27
    • J
      usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3 generic glue · 3b83829e
      Jean-Jacques Hiblot 提交于
      dwc3-generic has been broken since MISC uclass has been modified to scan DT
      sub-nodes after bind.
      Fixing it by a using the no-op uclass.
      Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      3b83829e
    • J
      dm: Add a No-op uclass · 07e33711
      Jean-Jacques Hiblot 提交于
      This uclass is intended for devices that do not need any features from the
      uclass, including binding children.
      This will typically be used by devices that are used to bind child devices
      but do not use dm_scan_fdt_dev() to do it. That is for example the case of
      several USB wrappers that have 2 child devices (1 for device and 1 for
      host) but bind only one at a any given time.
      Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      07e33711
    • J
      usb: dwc3-generic: remove dm_scan_fdt_dev() from the remove() callback · e445d466
      Jean-Jacques Hiblot 提交于
      There is simply no reason to do that here.
      Signed-off-by: NJean-Jacques Hiblot <jjhiblot@ti.com>
      e445d466
    • M
      usb: ehci-mx6: Fix bus enumeration for DM case · 501547ce
      Marek Vasut 提交于
      The EHCI iMX6 driver is only partly converted to DT probing and
      still uses a tremendous amount of hard-coded addresses. Worse,
      the driver uses hard-coded SoC-model-specific base addresses, which
      are derived from values protected by SoC-specific macros, hence the
      driver is also compiled for a specific SoC model. Even worse, the
      driver depends on specific sequential indexing of the controllers,
      from which it derives offsets in the PHY and ANATOP register sets.
      
      However, when the driver is probed from DT, the indexing is not
      correct. In fact, each controller has index 0. This patch derives
      the index for DT probing case from the controller base addresses,
      which is not the way this should be done, however it is the least
      intrusive approach, favorable this close to release.
      
      The necessary steps to convert this driver fully to DT probing are
      described inside the patch, however this should be done in the next
      release and depends on iMX clock driver patches.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Abel Vesa <abel.vesa@nxp.com>
      Cc: Adam Ford <aford173@gmail.com>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Ludwig Zenz <lzenz@dh-electronics.com>
      Cc: Lukasz Majewski <lukma@denx.de>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Vagrant Cascadian <vagrant@debian.org>
      501547ce
    • A
      rockchip: make_fit_atf.py: fix loadables property set error · 619f002d
      Andy Yan 提交于
      Commit b238e4b0 ("rockchip: Cleanup of make_fit_atf.py.") set
      firmware = "atf_1";
      loadables = "uboot","atf_1","atf_2";
      
      Actually it should be:
      firmware = "atf_1";
      loadables = "uboot","atf_2","atf_3";
      Signed-off-by: NAndy Yan <andy.yan@rock-chips.com>
      Reviewed-by: NKever Yang <kever.yang@rock-chips.com>
      619f002d
  6. 04 7月, 2019 9 次提交
  7. 02 7月, 2019 11 次提交