28 Feb, 2018

1 commit


26 Feb, 2018

8 commits


25 Feb, 2018

7 commits

  • Commit d695d6627803 ("spl: eMMC/SD: Provide one __weak spl_boot_mode()
    function") breaks the boot on several i.MX6 boards,
    such as cuboxi and wandboard:

    U-Boot SPL 2018.03-rc1-00212-g48914fc119 (Feb 10 2018 - 11:04:33 +1300)
    Trying to boot from MMC1
    Failed to mount ext2 filesystem...
    spl_load_image_ext: ext4fs mount err - 0

    Partially revert it so that we can boot U-Boot again on these
    i.MX6 platforms.

    Reported-by: Jonathan Gray
    Signed-off-by: Fabio Estevam
    Tested-by: Breno Lima

    Fabio Estevam
     
  • The device-tree node for the PMU clk controller assigns to its parent
    (i.e. PLL_PPLL) even though this clock currently is set up statically
    by an init-function.

    In order to avoid unexpected failures, a simple implementation of
    set_rate (which accepts requests, but notifies the caller of the
    preset frequency in its return value) and get_rate (which always
    returns the preset frequency) are added.

    Note that this is required for the RK808 PMIC to probe successfully on
    the RK3399-Q7, following the support for the assigned-clocks property.

    References: commit f4fcba5c5baa ("clk: implement clk_set_defaults()")
    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger

    Philipp Tomsich
     
  • TPL offset 0xff704004 is unaligned address which is adding nearest
    8-bytes for next instruction, So 0xff704004 is adding 0x20 for
    proper alignment which is causing the next instruction data
    0xefffffff is moved.

    Hexdump with overlaped bytes:
    -----------------------------
    0000000 0000 0000 0000 0000 0000 0000 0000 0000
    0000010 0000 0000 0000 0000 0000 0000 ffff eaff

    So, Fix the TEXT_BASE for proper aligned address 0xff704000

    Signed-off-by: Jagan Teki
    Acked-by: Philipp Tomsich

    Jagan Teki
     
  • Due to size limitations in SPL by adding falcon mode,
    rk3288 support TPL. In order to not overlap SPL_TEXT_BASE
    add TPL_TEXT_BASE with u-boot-tpl.lds that intern call
    u-boot-spl.lds with proper TEXT_BASE values.

    Signed-off-by: Jagan Teki
    Acked-by: Philipp Tomsich

    Jagan Teki
     
  • Since commit ba1f96672522 ("net: designware: add clock support"), the
    designware GMAC driver enables all referenced clocks. While this is a
    no-op for the RK3368 during boot-up (reset behaviour has all the clock
    gates open anyway), we still need to handle the clock-ids passed in
    the enable op of the clock-driver and return a success.

    This change extends the RK3368 clk driver to:
    (a) provide a enable op
    (b) signals success to the caller when the clocks for the GMAC are
    enabled (no actual action is necessary as the gates are open
    after reset)

    References: commit ba1f96672522 ("net: designware: add clock support")
    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger

    Philipp Tomsich
     
  • Since commit ba1f96672522 ("net: designware: add clock support"), the
    designware GMAC driver enables all referenced clocks. While this is a
    no-op for the RK3399 during boot-up (reset behaviour has all the clock
    gates open anyway), we still need to handle the clock-ids passed in
    the enable op of the clock-driver and return a success.

    This change extends the enable-op of the rk3399 clk driver to signal
    success to the caller when the clocks for the GMAC are enabled.

    References: commit ba1f96672522 ("net: designware: add clock support")
    Signed-off-by: Philipp Tomsich
    Tested-by: Klaus Goger

    Philipp Tomsich
     
  • usdhc4 has eMMC on icore-rqs boards, SPL is not detecting
    it becuase of u-boot,dm-spl flag so add it to make eMMC working.

    Signed-off-by: Jagan Teki

    Jagan Teki
     

24 Feb, 2018

21 commits


23 Feb, 2018

3 commits

  • U-Boot pulled in several core makefiles from Linux. The following
    are not used in U-Boot:

    - CONFIG_DEBUG_SECTION_MISMATCH
    - CONFIG_FTRACE_MCOUNT_RECORD
    - CONFIG_GCOV_KERNEL
    - CONFIG_GCOV_PROFILE_ALL
    - CONFIG_KASAN
    - CONFIG_MODVERSIONS

    We can remove the unused code if we like. (although it will get the
    scripts out of sync)

    CONFIG_BOOM and CONFIG_HIS_DRIVER are just mentioned in the comment
    block of scripts/basic/fixdep.c

    CONFIG_SHELL is not configuration, but a variable for internal-use.
    It is just a historical misnomer in Kbuild.

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Simon Glass

    Masahiro Yamada
     
  • For the omap3_logic boards, the environment is always in NAND.
    This removes the ENV_IS_IN_FAT flag to eliminate the extra chatter.

    Signed-off-by: Adam Ford

    Adam Ford
     
  • Add entry for ISSI IS25LP256 part.

    Signed-off-by: Marek Vasut
    Cc: Jagan Teki

    Marek Vasut