04 Dec, 2019

1 commit


21 Nov, 2019

2 commits

  • - In ARMv8 NXP Layerscape platforms we also need to make use of
    CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
    - On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
    to 0.
    - Add Kconfig entry for ENV_ADDR.
    - Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
    - Add ENV_xxx_REDUND options that depend on their primary option and
    SYS_REDUNDAND_ENVIRONMENT
    - On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
    for the pre-main-U-Boot environment location.
    - On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
    rather it being non-zero, as it will now be zero by default.
    - Rework the env_offset absolute in env/embedded.o to not use
    CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
    ENV_IS_IN_FLASH.
    - Migrate all platforms.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Cc: Patrick Delaunay
    Cc: uboot-stm32@st-md-mailman.stormreply.com
    Signed-off-by: Tom Rini
    Acked-by: Joe Hershberger
    Reviewed-by: Simon Goldschmidt

    Tom Rini
     
  • Today in initr_reloc_global_data() we use some non-obvious tests to
    determine if we need to relocate the env_addr within gd or not. In
    order to facilitate migration of other symbols to Kconfig we need to
    introduce a new symbol for this particular use case.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Signed-off-by: Tom Rini

    Tom Rini
     

08 Nov, 2019

1 commit


08 Oct, 2019

2 commits


23 Sep, 2019

1 commit


24 Aug, 2019

1 commit


23 Jun, 2019

1 commit


21 Jun, 2019

1 commit


15 May, 2019

1 commit

  • Commit d397f7c45b0b ("net: phy: micrel: Separate KSZ9000 drivers from
    KSZ8000 drivers") separated the KSZ8xxx and KSZ90x1 drivers and warns
    that you shouldn't select both of them due to a device ID clash between
    the KSZ9021 and the KS8721, asserting that "it is highly unlikely for a
    system to contain both a KSZ8000 and a KSZ9000 PHY". Unfortunately
    boards like the SAMA5D3xEK do contain both types of PHY, but fortunately
    the Linux Micrel PHY driver provides a solution by using different PHY
    ID and mask values to distinguish these chips.

    This commit contains the following changes:

    - The PHY ID and mask values for the KSZ9021 and the KS8721 now match
    those used by the Linux driver.
    - The warnings about not enabling both drivers have been removed.
    - The description for PHY_MICREL_KSZ8XXX has been corrected (these are
    10/100 PHYs, not GbE PHYs).
    - PHY_MICREL_KSZ9021 and PHY_MICREL_KSZ9031 no longer select PHY_GIGE
    since this is selected by PHY_MICREL_KSZ90X1.
    - All of the relevant defconfig files have been updated now that
    PHY_MICREL_KSZ8XXX does not default to 'Y'.

    Signed-off-by: James Byrne
    Acked-by: Joe Hershberger

    James Byrne
     

05 May, 2019

1 commit

  • This converts the following to Kconfig:
    CONFIG_SUPPORT_EMMC_BOOT

    As requested by Michal Simek , these boards
    have no eMMC so CONFIG_SUPPORT_EMMC_BOOT has not been migrated:

    xilinx_zynqmp_zc1275_revB
    xilinx_zynqmp_zc1751_xm018_dc4
    xilinx_zynqmp_zc1751_xm019_dc5
    xilinx_zynqmp_zcu100_revC
    xilinx_zynqmp_zcu102_rev1_0
    xilinx_zynqmp_zcu102_revA
    xilinx_zynqmp_zcu102_revB
    xilinx_zynqmp_zcu104_revA
    xilinx_zynqmp_zcu104_revC
    xilinx_zynqmp_zcu106_revA
    xilinx_zynqmp_zcu111_revA

    Signed-off-by: Alex Kiernan
    Acked-by: Lukasz Majewski
    Acked-by: Patrick Delaunay
    Acked-by: Ramon Fried
    Reviewed-by: Andy Shevchenko
    Tested-by: Sébastien Szymanski

    Alex Kiernan
     

30 Apr, 2019

2 commits


19 Jan, 2019

1 commit

  • The bounce buffer is used by a few drivers (most of the MMC drivers)
    to overcome limitations in their respective DMA implementation.

    This moves the configuration to Kconfig and makes it user-selectable
    (even though it will be a required feature to make those drivers
    work): the expected usage is for drivers depending on this to 'select'
    it unconditionally from their respective Kconfig (see follow-up
    patches).

    This commit includes a full migration using moveconfig.py to ensure
    that each commit compiles. To ensure bisectability we update
    dependencies of various drivers to now select BOUNCE_BUFFER when needed.

    [trini: Squash all patches to ensure bisectability]
    Signed-off-by: Tom Rini
    Signed-off-by: Philipp Tomsich
    Reviewed-by: Otavio Salvador [dw_mmc portion]
    Reviewed-by: Fabio Estevam [mxsmmc portion]
    Reviewed-by: Simon Glass [tegra portion]

    Philipp Tomsich
     

04 Sep, 2018

1 commit


18 Aug, 2018

1 commit


17 Aug, 2018

1 commit

  • We have the following cases:
    - CONFIG_NR_DRAM_BANKS was defined, migrate normally
    - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
    CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
    - CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
    2), set this to 8.

    Signed-off-by: Tom Rini

    Tom Rini
     

04 Jun, 2018

1 commit


30 May, 2018

1 commit

  • Separate CMD_FASTBOOT from FASTBOOT and move code and configuration to
    drivers/fastboot.

    Switch dependencies on FASTBOOT to USB_FUNCTION_FASTBOOT as anyone who wants
    FASTBOOT before this series wants USB_FUNCTION_FASTBOOT. Split
    USB_FUNCTION_FASTBOOT from FASTBOOT so they retain their existing
    behaviour.

    Signed-off-by: Alex Kiernan
    Reviewed-by: Simon Glass
    Acked-by: Joe Hershberger

    Alex Kiernan
     

18 May, 2018

7 commits

  • Enable Secure boot(HAB) for BTicino Mamoj board.

    Signed-off-by: Jagan Teki

    Jagan Teki
     
  • Add Falcon mode support to boot Linux directly after SPL.

    Signed-off-by: Jagan Teki

    Jagan Teki
     
  • Add DFU support for BTicino Mamoj board and update
    the same steps in README.

    Signed-off-by: Jagan Teki
    Signed-off-by: Simone CIANNI
    Signed-off-by: Raffaele RECALCATI

    Jagan Teki
     
  • Enable fastboot and ums for host to interact eMMC on
    Mamoj board.

    Signed-off-by: Jagan Teki
    Signed-off-by: Simone CIANNI
    Signed-off-by: Raffaele RECALCATI

    Jagan Teki
     
  • MX6DL Mamoj boards has Freescale PFUZE100 PMIC, add support
    for it through DM_PMIC dt definition.

    pmic log:
    Reviewed-by: Stefano Babic

    ========
    => pmic list
    | Name | Parent name | Parent uclass @ seq
    | pfuze100@08 | i2c@021f8000 | i2c @ 3
    => pmic dev pfuze100@08
    dev: 0 @ pfuze100@08
    => pmic dump
    Dump pmic: pfuze100@08 registers

    0x00: 10 00 00 21 00 01 3f 01 00 7f 00 00 00 00 00 81
    0x10: 00 00 3f 00 00 00 00 00 00 00 00 10 00 00 00 00
    0x20: 2b 2b 2b 08 c4 00 00 00 00 00 00 00 00 00 2b 2b
    0x30: 2b 08 c4 00 00 72 72 72 08 d4 00 00 2c 2c 2c 08
    0x40: e4 00 00 2c 2c 2c 08 e4 00 00 6f 6f 6f 08 f4 00
    0x50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x60: 00 00 00 00 00 00 48 00 00 00 10 06 1e 1e 17 10
    0x70: 1a 1f 00 00 00 00 00 00 00 00 00 00 00 00 00

    Signed-off-by: Jagan Teki
    Signed-off-by: Simone CIANNI
    Signed-off-by: Raffaele RECALCATI

    Jagan Teki
     
  • i.MX6DL Mamoj has i2c3 and i2c4 buses, add support
    through DM_I2C with dt definition.

    i2c log:
    Reviewed-by: Stefano Babic

    =======
    => i2c bus
    Bus 2: i2c@021a8000
    Bus 3: i2c@021f8000
    => i2c dev 2
    Setting bus to 2
    => i2c speed 400000
    Setting bus speed to 400000 Hz
    => i2c probe
    Valid chip addresses: 20 51 53
    => i2c md 53 0xff
    00ff: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
    => i2c md 51 0xff
    00ff: a8 08 40 50 09 43 46 52 42 18 80 8e ae a9 d0 53 ..@P.CFRB......S
    => i2c dev 3
    Setting bus to 3
    => i2c speed 100000
    Setting bus speed to 100000 Hz
    => i2c probe
    Valid chip addresses: 08 40 48 4B
    => i2c md 08 0xff
    00ff: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

    Signed-off-by: Jagan Teki
    Signed-off-by: Simone CIANNI
    Signed-off-by: Raffaele RECALCATI

    Jagan Teki
     
  • Add initial support for i.MX6DL BTicino Mamoj board.

    Mamoh board added:
    - SPL
    - SPL_DM
    - SPL_OF_CONTROL
    - DM for U-Boot proper
    - OF_CONTROL for U-Boot proper
    - eMMC
    - FEC
    - Boot from eMMC
    - Boot from USB SDP

    Signed-off-by: Simone CIANNI
    Signed-off-by: Raffaele RECALCATI
    Signed-off-by: Jagan Teki

    Jagan Teki