14 May, 2015

1 commit

  • CONFIG_ARMV7_VIRT depends on CONFIG_ARMV7_NONSEC, thus doesn't need to
    be taken into account additionally. CONFIG_ARMV7_PSCI is only set on
    boards that support CONFIG_ARMV7_NONSEC, and it only works on those.

    CC: Tang Yuantian
    CC: York Sun
    CC: Steve Rae
    CC: Andre Przywara
    Signed-off-by: Jan Kiszka
    Tested-by: Alison Wang
    Signed-off-by: Tom Warren

    Jan Kiszka
     

23 Apr, 2015

3 commits

  • This assignment conflicts with code that add flags with
    gd->flags |= FOO prior to the execution of this function.
    Seems like a historical artifact and creates bugs with
    early alloc().

    Cc: Masahiro Yamada
    Signed-off-by: Linus Walleij
    Acked-by: Simon Glass

    Linus Walleij
     
  • The board/SoC select menu in arch/arm/Kconfig is still cluttered.
    Add ARCH_INTEGRATOR into arch/arm/Kconfig and move the board select
    under arch/arm/mach-integrator.

    Signed-off-by: Masahiro Yamada
    Cc: Linus Walleij

    Masahiro Yamada
     
  • Commit d8bafe1310487ba0e0785997726b4792072178d3
    "ARMv8: enable DM in vexpress64 board" only enabled DM
    for the simulated vexpress64 board (FVP) with the
    hardcoded clock value for the simulated board, causing
    a console regression on the Juno board which was using
    a different clock setting.

    Fix this by enabling DM for all vexpress64 boards,
    defining the clock frequency per-board, deleting the
    static array of PL01x ports from the config file and
    relying solely on the port defined in the boardfile
    using platform data.

    Cc: David Feng
    Signed-off-by: Linus Walleij

    Linus Walleij
     

03 Apr, 2015

1 commit


29 Mar, 2015

2 commits


27 Mar, 2015

1 commit


24 Mar, 2015

1 commit

  • Various files are needlessly rebuilt every time due to the version and
    build time changing. As version.h is not actually needed, remove the
    include.

    Signed-off-by: Rob Herring
    Cc: Albert Aribaud
    Cc: Stefano Babic
    Cc: Minkyu Kang
    Cc: Marek Vasut
    Cc: Tom Warren
    Cc: Michal Simek
    Cc: Macpaul Lin
    Cc: Wolfgang Denk
    Cc: York Sun
    Cc: Stefan Roese
    Cc: Nobuhiro Iwamatsu
    Cc: Simon Glass
    Cc: Philippe Reynes
    Cc: Eric Jarrige
    Cc: "David Müller"
    Cc: Phil Edworthy
    Cc: Robert Baldyga
    Cc: Torsten Koschorrek
    Cc: Anatolij Gustschin
    Reviewed-by: Linus Walleij
    Reviewed-by: Łukasz Majewski

    Rob Herring
     

09 Mar, 2015

1 commit

  • While the Freescale ARMv8 board LS2085A will enter U-Boot both
    on a master and a secondary (slave) CPU, this is not the common
    behaviour on ARMv8 platforms. The norm is that U-Boot is entered
    from the master CPU only, while the other CPUs are kept in
    WFI (wait for interrupt) state.

    The code determining which CPU we are running on is using the
    MPIDR register, but the definition of that register varies with
    platform to some extent, and handling multi-cluster platforms
    (such as the Juno) will become cumbersome. It is better to only
    enable the multiple entry code on machines that actually need
    it and disable it by default.

    Make the single entry default and add a special
    ARMV8_MULTIENTRY KConfig option to be used by the
    platforms that need multientry and set it for the LS2085A.
    Delete all use of the CPU_RELEASE_ADDR from the Vexpress64
    boards as it is just totally unused and misleading, and
    make it conditional in the generic start.S code.

    This makes the Juno platform start U-Boot properly.

    Signed-off-by: Linus Walleij

    Linus Walleij
     

06 Mar, 2015

1 commit


30 Jan, 2015

2 commits

  • The Juno Development Platform is a physical Versatile Express
    device with some differences from the emulated semihosting
    models. The main difference is that the system is split in
    a SoC and an FPGA where the SoC hosts the serial ports at
    totally different adresses.

    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • The Versatile Express ARMv8 semihosted FVP platform is still
    using the legacy CONFIG_SYS_EXTRA_OPTIONS method to configure
    some compile-time flags. Get rid of this and create a Kconfig
    entry for the FVP model, and a selectable bool for the
    semihosting library.

    The FVP subboard is now modeled as a target choice so we can
    eventually choose between different ARMv8 versatile express
    boards (FVP, base model, Juno...) this way. All dependent
    symbols are updated to reflect this.

    The 64bit Versatile Express board symbols are renamed
    VEXPRESS64 so we have some chance to see what is actually
    going on. Tested on the FVP fast model.

    Acked-by: Steve Rae
    Signed-off-by: Linus Walleij

    Linus Walleij
     

29 Dec, 2014

1 commit


29 Oct, 2014

1 commit

  • This commit introduces a Kconfig symbol for each ARM CPU:
    CPU_ARM720T, CPU_ARM920T, CPU_ARM926EJS, CPU_ARM946ES, CPU_ARM1136,
    CPU_ARM1176, CPU_V7, CPU_PXA, CPU_SA1100.
    Also, it adds the CPU feature Kconfig symbol HAS_VBAR which is selected
    for CPU_ARM1176 and CPU_V7.

    For each target, the corresponding CPU is selected and the definition of
    SYS_CPU in the corresponding Kconfig file is removed.

    Also, it removes redundant "string" type in some Kconfig files.

    Signed-off-by: Georges Savoundararadj
    Acked-by: Albert ARIBAUD
    Cc: Masahiro Yamada

    Georges Savoundararadj
     

25 Sep, 2014

2 commits

  • Since commit ddaf5c8f3030050fcd356a1e49e3ee8f8f52c6d4
    (patman: RunPipe() should not pipe stdout/stderr unless asked),
    Patman spits lots of "Invalid MAINTAINERS address: '-'"
    error messages for patches with global changes.
    It takes too long for Patman to process them.

    Anyway, "M: -" does not carry any important information.
    Rather, it is just like a place holder in case of assigning
    a new board maintainer. Let's comment out.

    This commit can be reproduced by the following command:

    find . -name MAINTAINERS | xargs sed -i -e '/^M:[[:blank:]]*-$/s/^/#/'

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • The "S: Orphan" in MAINTAINERS means that the maintainer in the
    "M:" field is unreachable (i.e. the email address is not working).
    (Refer to the definition of "Orphan" adopted in U-Boot
    in the log of commit 31f1b654b2f395b69faa5d0d3c1eb0803923bd3b,
    "boards.cfg: move boards with invalid emails to Orphan")

    For patch files adding global changes, scripts/get_maintainer.pl
    adds bunch of such invalid email addresses, which results in
    tons of annoying bounce emails.

    This commit can be reproduced by the following command:

    find . -name MAINTAINERS | xargs sed -i -e '
    /^M:[[:blank:]]/ {
    N
    /S:[[:blank:]]Orphan/s/^/#/
    }
    '

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

    Masahiro Yamada
     

17 Sep, 2014

2 commits


14 Sep, 2014

1 commit

  • Now the types of CONFIG_SYS_{ARCH, CPU, SOC, VENDOR, BOARD, CONFIG_NAME}
    are specified in arch/Kconfig.

    We can delete the ones in arch and board Kconfig files.

    This commit can be easily reproduced by the following command:

    find . -name Kconfig -a ! -path ./arch/Kconfig | xargs sed -i -e '
    /config[[:space:]]SYS_\(ARCH\|CPU\|SOC\|\VENDOR\|BOARD\|CONFIG_NAME\)/ {
    N
    s/\n[[:space:]]*string//
    }
    '

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

31 Aug, 2014

1 commit


30 Aug, 2014

1 commit


30 Jul, 2014

2 commits

  • We have switched to Kconfig and the boards.cfg file is going to
    be removed. We have to retrieve the board status and maintainers
    information from it.

    The MAINTAINERS format as in Linux Kernel would be nice
    because we can crib the scripts/get_maintainer.pl script.

    After some discussion, we chose to put a MAINTAINERS file under each
    board directory, not the top-level one because we want to collect
    relevant information for a board into a single place.

    TODO:
    Modify get_maintainer.pl to scan multiple MAINTAINERS files.

    Signed-off-by: Masahiro Yamada
    Suggested-by: Tom Rini
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • This commit adds:
    - arch/${ARCH}/Kconfig
    provide a menu to select target boards
    - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
    set CONFIG macros to the appropriate values for each board
    - configs/${TARGET_BOARD}_defconfig
    default setting of each board

    (This commit was automatically generated by a conversion script
    based on boards.cfg)

    In Linux Kernel, defconfig files are located under
    arch/${ARCH}/configs/ directory.
    It works in Linux Kernel since ARCH is always given from the
    command line for cross compile.

    But in U-Boot, ARCH is not given from the command line.
    Which means we cannot know ARCH until the board configuration is done.
    That is why all the "*_defconfig" files should be gathered into a
    single directory ./configs/.

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

    Masahiro Yamada
     

03 Jul, 2014

1 commit

  • The armv8 ARM Trusted Firmware (ATF) can be used to load various ATF
    images and u-boot, and does this for virtual platforms by using
    semihosting. This commit extends this idea by allowing u-boot to also
    use semihosting to load the kernel/ramdisk/dtb. This eliminates the need
    for a bootwrapper and produces a more realistic boot sequence with
    virtual models.

    Though the semihosting code is quite generic, support for armv7 in
    fastmodel is less useful due to the wide range of available silicon
    and the lack of a free armv7 fastmodel, so this change contains an
    untested armv7 placeholder for the service trap opcode.

    Please refer to doc/README.semihosting for a more detailed description
    of semihosting and how it is used with the armv8 virtual platforms.

    Signed-off-by: Darwin Rambo
    Cc: trini@ti.com
    Cc: fenghua@phytium.com.cn
    Cc: bhupesh.sharma@freescale.com

    Darwin Rambo
     

27 Feb, 2014

1 commit


28 Jan, 2014

1 commit


25 Jan, 2014

1 commit

  • If timer_init() is made a weak stub function, then it allows us to
    remove several empty timer_init functions for those boards that
    already have a timer initialized when u-boot starts. Architectures
    that use the timer framework may also remove the need for timer.c.

    Signed-off-by: Darwin Rambo
    Reviewed-by: Tim Kryger

    Darwin Rambo
     

13 Jan, 2014

1 commit


09 Jan, 2014

1 commit


05 Nov, 2013

1 commit


01 Nov, 2013

1 commit


15 Oct, 2013

1 commit


04 Oct, 2013

1 commit

  • To enable hypervisors utilizing the ARMv7 virtualization extension
    on the Versatile Express board with the A15 core tile, we add the
    required configuration variable.
    Also we define the board specific smp_set_cpu_boot_addr() function to
    set the start address for secondary cores in the VExpress specific
    manner.
    There is no need to provide a custom smp_waitloop() function here.

    This also serves as an example for what to do when adding support for
    new boards.

    Signed-off-by: Andre Przywara

    Andre Przywara
     

24 Jul, 2013

1 commit


23 May, 2013

2 commits

  • This patch creates a new config for the A5 dual core tile that includes the
    generic config for the Versatile Express platform.

    The generic config has been modified to provide support for the Extended
    Memory Map, as used on the A5 core tile. A5 does not support the legacy
    memory map.

    Signed-off-by: Ryan Harkin
    Signed-off-by: Andre Przywara

    Ryan Harkin
     
  • The current ca9x4_ct_vxp platform contains support for a Versatile
    Express motherboard with a quad core A9 core tile.

    This patch separates the Versatile Express motherboard code and the
    A9 specific code, to ease supporting more core tiles in the next
    patches.

    Andre: merged the first two of Ryan's original patches and did some
    checkpatch fixes.

    Signed-off-by: Ryan Harkin
    Signed-off-by: Andre Przywara

    Ryan Harkin
     

01 Sep, 2012

1 commit


29 Jul, 2012

1 commit


26 Mar, 2012

1 commit