29 Jan, 2017

12 commits

  • Add a new defconfig file for the AM335x High Security EVM. This config
    is specific for the case of memory device booting. Memory device booting
    is handled separatly from peripheral booting on HS devices as the load
    address changes.

    This defconfig is the same as for the non-secure part, except for:
    CONFIG_TI_SECURE_DEVICE option set to 'y'
    CONFIG_ISW_ENTRY_ADDR updated for secure images.
    CONFIG_FIT_IMAGE_POST_PROCESS option set to 'y'
    CONFIG_SPL_FIT_IMAGE_POST_PROCESS option set to 'y'
    CONFIG_USE_TINY_PRINTF option set to 'y' to reduce SPL size
    CONFIG_SPL_SYS_MALLOC_SIMPLE set to 'y' to reduce SPL size

    Signed-off-by: Andrew F. Davis
    Reviewed-by: Tom Rini

    Andrew F. Davis
     
  • spl_init on some boards is called after stack and heap relocation, on
    some platforms spl_relocate_stack_gd is called to handle setting the
    limit to its value CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN when simple
    SPL malloc is enabled during relocation. spl_init should then not
    re-assign the old pre-relocation limit when this is defined.

    Signed-off-by: Andrew F. Davis
    Reviewed-by: Tom Rini

    Andrew F. Davis
     
  • Add debug statements to memalign_simple to match malloc_simple.

    Signed-off-by: Andrew F. Davis
    Reviewed-by: Tom Rini

    Andrew F. Davis
     
  • ast2500 Eval Board device tree and board specific configuration.
    Reviewed-by: Simon Glass

    maxims@google.com
     
  • Add configuration file with parameters that are very likely to be shared by
    all ast2500-based boards.
    Add ast2500-board.c file with the init code that is very likely to be
    shared by all ast2500-based boards.
    Reviewed-by: Simon Glass

    maxims@google.com
     
  • Clock Driver

    This driver is ast2500-specific and is not compatible with earlier
    versions of this chip. The differences are not that big, but they are
    in somewhat random places, so making it compatible with ast2400 is not
    worth the effort at the moment.

    SDRAM MC driver

    The driver is very ast2500-specific and is completely incompatible
    with previous versions of the chip.

    The memory controller is very poorly documented by Aspeed in the
    datasheet, with any mention of the whole range of registers missing. The
    initialization procedure has been basically taken from Aspeed SDK, where
    it is implemented in assembly. Here it is rewritten in C, with very limited
    understanding of what exactly it is doing.
    Reviewed-by: Simon Glass

    maxims@google.com
     
  • Add support for Watchdog Timer, which is compatible with AST2400 and
    AST2500 watchdogs. There is no uclass for Watchdog yet, so the driver
    does not follow the driver model. It also uses fixed clock, so no clock
    driver is needed.

    Add support for timer for Aspeed ast2400/ast2500 devices.
    The driver actually controls several devices, but because all devices
    share the same Control Register, it is somewhat difficult to completely
    decouple them. Since only one timer is needed at the moment, this should
    be OK. The timer uses fixed clock, so does not rely on a clock driver.

    Add sysreset driver, which uses watchdog timer to do resets and particular
    watchdog device to use is hardcoded (0)
    Reviewed-by: Simon Glass

    maxims@google.com
     
  • In the cases of some boards, a MACH_TYPE number is used which is either
    not registered upstream or worse (for functionality) is re-using the
    number of a different (or reference) platform instead. Make sure we
    have a comment in these cases.

    Cc: Albert ARIBAUD
    Cc: Walter Schweizer
    Cc: Stefan Roese
    Cc: Fabio Estevam
    Signed-off-by: Tom Rini
    Acked-by: Stefan Roese

    Tom Rini
     
  • This board is using MACH_TYPE values that were clearly picked during
    development and not registered. Remove rather than support.

    Cc: Heiko Schocher
    Signed-off-by: Tom Rini

    Tom Rini
     
  • With the latest mach-types values we have many instances where we no
    longer need to define a value and a few cases where the name (but not
    value) have changed slightly.

    Signed-off-by: Tom Rini

    Tom Rini
     
  • This reverts commit 70b26cd057f42c7126088b49d4285955c8a00eae.

    This is not a strict revert as it is easier to fix
    board/atmark-techno/armadillo-800eva/armadillo-800eva.c to now the
    correct name (same value) than to revert that change too.

    Signed-off-by: Tom Rini

    Tom Rini
     
  • This re-syncs us with the official and full list of MACH_TYPE_xxx values
    from http://www.armlinux.org.uk/developer/machines/

    Signed-off-by: Tom Rini

    Tom Rini
     

28 Jan, 2017

9 commits


27 Jan, 2017

1 commit


26 Jan, 2017

12 commits


25 Jan, 2017

6 commits