06 Feb, 2020

1 commit

  • At present dm/device.h includes the linux-compatible features. This
    requires including linux/compat.h which in turn includes a lot of headers.
    One of these is malloc.h which we thus end up including in every file in
    U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
    which needs to use the system malloc() in some files.

    Move the compatibility features into a separate header file.

    Signed-off-by: Simon Glass

    Simon Glass
     

03 Dec, 2019

2 commits


21 Nov, 2019

1 commit

  • The board file has a build time check to ensure that we do not have the
    redundant environment overwriting the factory data. However, using the
    symbol CONFIG_ENV_SIZE_REDUND isn't strictly needed as that is always
    the same as CONFIG_ENV_SIZE. Use CONFIG_ENV_SIZE instead so that we can
    later drop CONFIG_ENV_SIZE_REDUND.

    Cc: Stefan Roese
    Signed-off-by: Tom Rini
    Reviewed-by: Stefan Roese

    Tom Rini
     

12 Aug, 2019

2 commits

  • This file contains lots of internal details about the environment. Most
    code can include env.h instead, calling the functions there as needed.

    Rename this file and add a comment at the top to indicate its internal
    nature.

    Signed-off-by: Simon Glass
    Acked-by: Joe Hershberger
    Reviewed-by: Simon Goldschmidt
    [trini: Fixup apalis-tk1.c]
    Signed-off-by: Tom Rini

    Simon Glass
     
  • Move env_set() over to the new header file.

    Acked-by: Joe Hershberger
    Signed-off-by: Simon Glass

    Simon Glass
     

09 Apr, 2019

1 commit

  • The GARDENA smart Gateway boards are equipped with an Atmel / Microchip
    AT91SAM9G25 SoC and with 128 MiB of RAM and 256 MiB of NAND storage.
    This patch adds support for this board including SPL support. Therefore
    the AT91Boostrap is not needed on this platform any more.

    Signed-off-by: Stefan Roese
    Cc: Heiko Schocher
    Cc: Andreas Bießmann
    Cc: Eugen Hristev
    Reviewed-by: Heiko Schocher

    Stefan Roese
     

01 Dec, 2018

1 commit

  • Some factory data is stored in the SPI NOR and needs to get extracted
    from there into U-Boot environment variables.

    This patch also includes a board-specific command "fd_write" to
    provide some dummy / default values for this factory-data in the SPI
    NOR flash. This should only be necessary for testing purposes though.

    Signed-off-by: Stefan Roese
    Cc: Daniel Schwierzeck

    Stefan Roese
     

18 Nov, 2018

2 commits


23 Sep, 2018

1 commit

  • The Gardena Smart-Gateway boards have a MT7688 SoC with 128 MiB of RAM
    and 8 MiB of flash (SPI NOR) and additional 128MiB SPI NAND storage.

    This patch also includes 2 targets. One is the target that can be
    programmed into the SPI NOR flash and a 2nd target "xxx-ram" is
    added to support loading and booting via an already running U-Boot
    version. This allows easy development and testing without the
    need to flash the image each time.

    Signed-off-by: Stefan Roese
    [fixed and regenerated defconfig files]
    Signed-off-by: Daniel Schwierzeck

    Stefan Roese