15 May, 2015

2 commits


09 May, 2015

1 commit


06 May, 2015

2 commits


30 Apr, 2015

1 commit


25 Apr, 2015

1 commit


24 Apr, 2015

1 commit

  • This adds NAND boot support for LS2085AQDS, using SPL framework.
    Details of forming NAND image can be found in README.

    Signed-off-by: Scott Wood
    [York Sun: Remove +S from defconfig after commit 252ed872]
    Signed-off-by: York Sun

    Scott Wood
     

23 Apr, 2015

2 commits


22 Apr, 2015

1 commit

  • The Debug Server driver is responsible for loading the Debug
    server FW on the Service Processor (Cortex-A5 core) on LS2085A like
    SoCs and then polling for the successful initialization of the same.
    TOP MEM HIDE is adjusted to ensure the space required by Debug Server
    FW is accounted for. MC uses the DDR area which is calculated as:

    MC DDR region start = Top of DDR - area reserved by Debug Server FW

    Signed-off-by: Bhupesh Sharma
    Reviewed-by: York Sun

    Bhupesh Sharma
     

19 Apr, 2015

7 commits


17 Apr, 2015

1 commit


06 Mar, 2015

1 commit

  • The Security Monitor is the SOC’s central reporting point for
    security-relevant events such as the success or failure of boot
    software validation and the detection of potential security compromises.

    The API's for transition of Security states have been added
    which will be used in case of SECURE BOOT.

    Signed-off-by: Ruchika Gupta
    Signed-off-by: Gaurav Rana
    Reviewed-by: York Sun

    gaurav rana
     

19 Feb, 2015

1 commit


13 Feb, 2015

1 commit


30 Jan, 2015

5 commits


06 Jan, 2015

1 commit

  • drivers/misc/i2c_eeprom.c fails to build unless CONFIG_FIT_SIGNATURE
    is defined.

    CC drivers/misc/i2c_eeprom.o
    drivers/misc/i2c_eeprom.c: In function 'i2c_eeprom_read':
    drivers/misc/i2c_eeprom.c:15:10: error: 'ENODEV' undeclared
    (first use in this function)
    drivers/misc/i2c_eeprom.c:15:10: note: each undeclared identifier
    is reported only once for each function it appears in
    drivers/misc/i2c_eeprom.c: In function 'i2c_eeprom_write':
    drivers/misc/i2c_eeprom.c:21:10: error: 'ENODEV' undeclared
    (first use in this function)
    drivers/misc/i2c_eeprom.c:22:1: warning: control reaches end of
    non-void function [-Wreturn-type]
    drivers/misc/i2c_eeprom.c: In function 'i2c_eeprom_read':
    drivers/misc/i2c_eeprom.c:16:1: warning: control reaches end of
    non-void function [-Wreturn-type]
    make[2]: *** [drivers/misc/i2c_eeprom.o] Error 1
    make[1]: *** [drivers/misc] Error 2
    make: *** [drivers] Error 2

    By the way, Sandbox (enabling CONFIG_FIT_SIGNATURE) is luckily
    working depending on it.
    Sandbox includes include/asm-generic/errno.h
    from include/errno.h
    from include/u-boot/rsa-checksum.h
    from include/image.h
    from include/common.h
    from drivers/misc/i2c_eeprom.c

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

    Masahiro Yamada
     

14 Dec, 2014

1 commit


12 Dec, 2014

2 commits

  • There seem to be a few EEPROM drivers around - perhaps we should have a
    single standard one? This simple driver is used for sandbox testing, but
    could be pressed into more active service.

    Signed-off-by: Simon Glass
    Acked-by: Heiko Schocher
    Reviewed-by: Masahiro Yamada

    Simon Glass
     
  • To enable testing of I2C, add a simple I2C EEPROM simulator for sandbox.
    It supports reading and writing from a small data store.

    Signed-off-by: Simon Glass
    Acked-by: Heiko Schocher
    Reviewed-by: Masahiro Yamada

    Simon Glass
     

01 Dec, 2014

4 commits

  • Leave the OCOTP turned on, so that we subsequent access do not fail.

    After enabling the thermal driver on a mx6sxsabresd board:

    U-Boot 2015.01-rc1-18267-g99d4189-dirty (Nov 24 2014 - 12:59:01)

    CPU: Freescale i.MX6SX rev1.0 at 792 MHz
    CPU: Temperature 48 C
    Reset cause: POR
    Board: MX6SX SABRE SDB
    I2C: ready
    DRAM: 1 GiB
    PMIC: PFUZE100 ID=0x10
    MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
    00:01.0 - 16c3:abcd - Bridge device
    01:00.0 - 8086:08b1 - Network controller
    In: serial
    Out: serial
    Err: serial
    Net:
    (hang)

    As the thermal driver accesses the ocotp registers, its clock will be disabled
    afterwards.

    Then when the MAC address is read (also from ocotp registers) it will cause a
    hang.

    Do not disable the ocotp clock to prevent this problem.

    Signed-off-by: Fabio Estevam
    Reviewed-by: Benoît Thébaudeau

    Fabio Estevam
     
  • A previous operation may have set the error flag, which must be cleared
    before a new write operation can be issued.

    Signed-off-by: Hector Palacios

    Hector Palacios
     
  • The write operation may fail when trying to write to a locked area. In
    this case the ERROR bit is set in the CTRL register. Check for that
    condition and return an error.

    Signed-off-by: Hector Palacios
    Reviewed-by: Fabio Estevam

    Hector Palacios
     
  • The code may goto 'fail' upon error with 'ret' variable set to an error
    code, but this variable was being overwritten by a final preparation
    function to restore the HCLK, so success was (in general) returned even
    after an error was hit previously.

    With this change, the function may now return success even if the final
    preparation function fails, but it's probably enough to print a message
    because (if successful) the real programming of the fuses has already
    completed.

    Signed-off-by: Hector Palacios

    Hector Palacios
     

25 Nov, 2014

1 commit


23 Nov, 2014

1 commit

  • U-Boot has never cared about the type when we get max/min of two
    values, but Linux Kernel does. This commit gets min, max, min3, max3
    macros synced with the kernel introducing type checks.

    Many of references of those macros must be fixed to suppress warnings.
    We have two options:
    - Use min, max, min3, max3 only when the arguments have the same type
    (or add casts to the arguments)
    - Use min_t/max_t instead with the appropriate type for the first
    argument

    Signed-off-by: Masahiro Yamada
    Acked-by: Pavel Machek
    Acked-by: Lukasz Majewski
    Tested-by: Lukasz Majewski
    [trini: Fixup arch/blackfin/lib/string.c]
    Signed-off-by: Tom Rini

    Masahiro Yamada
     

22 Nov, 2014

1 commit


21 Nov, 2014

1 commit


23 Oct, 2014

1 commit