31 May, 2017

2 commits


29 May, 2017

6 commits

  • Adding documentation on the new config properties:
    'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET
    'u-boot,mmc-env-offset-redundant'
    - overrides CONFIG_ENV_OFFSET_REDUND

    Signed-off-by: Philipp Tomsich
    Reviewed-by: Jaehoon Chung

    Philipp Tomsich
     
  • This introduces the ability to override the environment offets from the
    device tree by setting the following nodes in '/config':
    'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET
    'u-boot,mmc-env-offset-redundant'
    - overrides CONFIG_ENV_OFFSET_REDUND

    To keep with the previous logic, the CONFIG_* defines still need to
    be available and the statically defined values become the defaults,
    when the corresponding properties are not set in the device-tree.

    Signed-off-by: Philipp Tomsich
    Acked-by: Simon Glass

    Philipp Tomsich
     
  • Currently while setting the vsel value for dcdc1 and dcdc2
    the driver is wrongly masking the entire 8 bits in the process
    clearing PFM (bit7) field as well. Hence describe an appropriate
    mask for vsel field and modify only those bits in the vsel
    mask.

    Source: http://www.ti.com/lit/ds/symlink/tps65218.pdf

    Signed-off-by: Keerthy
    Fixes: 86db550b38 ("power: Add support for the TPS65218 PMIC")
    Reviewed-by: Jaehoon Chung

    Keerthy
     
  • Number of blocks is a 9 bit field where 0 stands for a unlimited
    number of blocks. Therefore the max number of blocks which can
    be set is 511.

    Signed-off-by: Heiner Kallweit

    Heiner Kallweit
     
  • Inside of
    max77686_buck_volt2hex/max77686_buck_hex2volt/max77686_ldo_volt2hex we
    check that the value we calculate is >= 0 however we declare 'hex' as
    unsigned int making these always true. Mark these as 'int' instead. We
    also move hex_max to int as they are constants that are 0x3f/0xff.
    Given that the above functions are marked as returning an int, make the
    variables we assign their return value to also be int to be able to
    catch the error condition now. Reported by clang-3.8.

    Cc: Jaehoon Chung
    Signed-off-by: Tom Rini

    Tom Rini
     
  • In some places we check if part_config is set to MMCPART_NOAVAILABLE
    (0xff). With part_config being a char this is always false. We should
    be using a u8 to store this value instead, after a quick consultation
    with the Linux Kernel. Reported by clang-3.8.

    Cc: Jaehoon Chung
    Signed-off-by: Tom Rini

    Tom Rini
     

26 May, 2017

2 commits


24 May, 2017

17 commits


23 May, 2017

13 commits

  • Support Andestech eth ftmac100 device tree flow on AG101P/AE3XX platform.
    Verification:
    Boot linux kernel via dhcp and bootm ok.

    NDS32 # setenv bootm_size 0x2000000;setenv fdt_high 0x1f00000;
    NDS32 # dhcp 0x600000 10.0.4.97:boomimage-310y-ae300-spi.bin
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    DHCP client bound to address 10.0.4.178 (4899 ms)
    Using mac@e0100000 device
    TFTP from server 10.0.4.97; our IP address is 10.0.4.178
    Filename 'boomimage-310y-ae300-spi.bin'.
    Load address: 0x600000
    Loading: #################################################################
    #################################################################
    #################################################################
    ...
    ...
    ###################################
    233.4 KiB/s
    done
    Bytes transferred = 13872076 (d3abcc hex)
    NDS32 # dhcp 0x2000000 10.0.4.97:ae300.dtb
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    DHCP client bound to address 10.0.4.178 (4592 ms)
    Using mac@e0100000 device
    TFTP from server 10.0.4.97; our IP address is 10.0.4.178
    Filename 'ae300.dtb'.
    Load address: 0x2000000
    Loading: #
    82 KiB/s
    done
    Bytes transferred = 2378 (94a hex)
    NDS32 # bootm 0x600000 - 0x2000000
    Image Name:
    Created: 2017-03-22 6:52:03 UTC
    Image Type: NDS32 Linux Kernel Image (uncompressed)
    Data Size: 13872012 Bytes = 13.2 MiB
    Load Address: 0000c000
    Entry Point: 0000c000
    Verifying Checksum ... OK
    Booting using the fdt blob at 0x2000000
    Loading Kernel Image ... OK
    Loading Device Tree to 01efc000, end 01eff949 ... OK
    Linux version 3.10.102-20375-gb0034c1-dirty (rick@app09)
    (gcc version 4.9.3 (2016-07-06_nds32le-linux-glibc-v3_experimental) )
    #293 PREEMPT Wed Mar 22 14:49:28 CST 2017
    CPU: NDS32 N13, AndesCore ID(wb), CPU_VER 0x0d11103f(id 13, rev 17, cfg 4159)
    ...
    ...
    Signed-off-by: rick

    rick
     
  • In situations like an autobuilder we are likely to not have bl31.bin
    present and thus would fail to build and propagate the error upwards.
    Instead, print a big warning to stderr so that human will see that
    something is wrong but complete the build.

    Cc: Maxime Ripard
    Reviewed-by: Andre Przywara
    Reviewed-by: Simon Glass
    Signed-off-by: Tom Rini

    Tom Rini
     
  • trini: Make Kconfig SPL_xxx entires only show if SPL, so that we don't
    get Kconfig errors on platforms without SPL, ie sandbox (without SPL).

    Signed-off-by: Tom Rini

    Tom Rini
     
  • Tom Rini
     
  • Tom Rini
     
  • The original commit for the MCF54418TWR ColdFire development board
    support defined a 'CONFIG_SYS_FAULT_ECCONFIG_SYS_NO_FLASHHO_LINK_DOWN'
    which obviously has a rogue 'CONFIG_SYS_NO_FLASH' embedded in the
    intended 'CONFIG_SYS_FAULT_ECHO_LINK_DOWN' define.

    Signed-off-by: Lothar Waßmann

    Lothar Waßmann
     
  • Enable this option by default on sandbox to increase build coverage.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This converts the following to Kconfig:
    CONFIG_CMD_LZMADEC

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This converts the following to Kconfig:
    CONFIG_LZMA

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This is not used in U-Boot. Drop it.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This converts the following to Kconfig:
    CONFIG_CMD_KGDB

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This converts the following to Kconfig:
    CONFIG_CMD_IRQ

    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini

    Simon Glass
     
  • Rather than using CMD_JFFS2 for both the filesystem and its command, we
    should have a separate option for each. This allows us to enable JFFS2
    support without the command, if desired, which reduces U-Boot's size
    slightly.

    Signed-off-by: Simon Glass

    Simon Glass