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
     

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
     

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
     

06 Jun, 2014

1 commit

  • arch/arm/include/asm/spl.h requires all SoCs to have
    arch/arm/include/asm/arch-*/spl.h.

    But many of them just define BOOT_DEVICE_* macros.

    Those macros are used in the "switch (boot_device) { ... }"
    statement in common/spl/spl.c.

    So they should not be archtecture specific, but be described as
    a simpile enumeration.

    This commit merges most of arch/arm/include/asm/arch-*/spl.h
    into arch/arm/include/asm/spl.h.

    With a little more effort, arch-zynq/spl.h and arch-socfpga/spl.h
    will be merged, while I am not sure about OMAP and Exynos.

    Signed-off-by: Masahiro Yamada
    Cc: Tom Rini
    Cc: Michal Simek
    Cc: Andreas Bießmann
    Cc: Stephen Warren
    Cc: Tom Warren
    CC: Stefano Babic
    CC: Minkyu Kang
    Cc: Dinh Nguyen
    Acked-by: Andreas Bießmann
    Acked-by: Michal Simek
    Acked-by: Stefano Babic
    Acked-by: Stephen Warren
    Acked-by: Tim Harvey
    Tested-by: Bo Shen [on sama5d3xek board for at91 part]
    Acked-by: Stephen Warren
    Tested-by: Stefano Babic [applying Tim's i.MX6 patches]
    Acked-by: Tom Rini

    Masahiro Yamada
     

01 Apr, 2014

1 commit

  • The DRAM size can be easily detected at runtime on i.MX53. Implement
    such detection on M53EVK and adjust the rest of the macros accordingly
    to use the detected values.

    An important thing to note here is that we had to override the function
    for trimming the effective DRAM address, get_effective_memsize(). That
    is because the function uses CONFIG_MAX_MEM_MAPPED as the upper bound of
    the available DRAM and we don't have gd->bd->bi_dram[0].size set up at
    the time the function is called, thus we cannot put this into the macro
    CONFIG_MAX_MEM_MAPPED . Instead, we use custom override where we use the
    size of the first DRAM block which we just detected.

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Stefano Babic
    Cc: Wolfgang Denk

    Marek Vasut
     

18 Dec, 2013

1 commit


01 Nov, 2013

1 commit


27 Sep, 2013

1 commit


11 Sep, 2013

1 commit

  • Make sure value in register r0 and r1 is preserved and passed to
    the board_init_ll() and mxs_common_spl_init() where it can be
    processed further. The value in r0 can be configured during the
    BootStream generation to arbitary value, r1 contains pointer to
    return value from CALL'd function.

    This patch also clears the value in r0 before returning to BootROM
    to make sure the BootROM is not confused by this value.

    Finally, this patch cleans up some comments in the start.S file.

    Signed-off-by: Marek Vasut
    Cc: Fabio Estevam
    Cc: Stefano Babic

    Marek Vasut
     

24 Jul, 2013

1 commit


26 Jun, 2013

1 commit


05 May, 2013

2 commits

  • There is no change of behavior, except for the folloing line that has been
    removed because the iomux mode was not set accordingly and the pad used for OTG
    OC is not this one:
    mxc_iomux_set_input(MX53_USBOH3_IPP_IND_OTG_OC_SELECT_INPUT, 1);

    Signed-off-by: Benoît Thébaudeau

    Benoît Thébaudeau
     
  • Add basic support for the DENX M53EVK board. Currently supported is:
    MMC (incl. booting)
    NAND (incl. booting)
    Ethernet, I2C, USB, SATA, RTC.

    Signed-off-by: Marek Vasut
    Cc: Albert ARIBAUD
    Cc: Benoît Thébaudeau
    Cc: Fabio Estevam
    Cc: Scott Wood
    Cc: Stefano Babic
    Cc: Tom Rini
    Cc: Wolfgang Denk

    Marek Vasut
     

08 Mar, 2013

1 commit


28 Jan, 2013

1 commit


21 Jan, 2013

1 commit


01 Sep, 2012

5 commits


15 May, 2012

1 commit


27 Mar, 2012

2 commits


16 Jan, 2012

4 commits


20 Dec, 2011

1 commit


10 Dec, 2011

2 commits


11 Nov, 2011

5 commits

  • This enables the second port, aka. the port with the USB connector on the
    M28EVK.

    Signed-off-by: Marek Vasut
    Cc: Stefano Babic
    Cc: Wolfgang Denk
    Cc: Detlev Zundel
    Cc: Remy Bohmer

    Marek Vasut
     
  • This code allows the DDR DRAM size to be detected at runtime. The RAM size is
    stored into two scratch registers, from which it is then fetched in U-Boot.

    Signed-off-by: Marek Vasut
    Cc: Stefano Babic
    Cc: Wolfgang Denk
    Cc: Detlev Zundel

    Marek Vasut
     
  • This patch introduces proper ARM vector handling for i.MX28 CPU. This issue
    wasn't addressed because the interrupts weren't enabled on any ARMv5 core,
    therefore the issue wasn't noticed earlier.

    In previous implementation, the vectoring code used by i.MX28 CPU when an
    exception happened was that of the SPL. With this change, the branch target when
    an exception happens can be reconfigured by U-Boot.

    Signed-off-by: Marek Vasut
    Cc: Stefano Babic
    Cc: Wolfgang Denk
    Cc: Detlev Zundel

    Marek Vasut
     
  • This patch adds SPL code for the M28 board.

    Signed-off-by: Marek Vasut
    Cc: Andy Fleming
    Cc: Stefano Babic
    Cc: Wolfgang Denk
    Cc: Detlev Zundel

    Marek Vasut
     
  • This contains support for the following components:
    - DUART
    - MMC
    - Both FEC interfaces
    - NAND
    - I2C (RTC, EEPROM)
    - SPI (FLASH)

    Signed-off-by: Marek Vasut
    Cc: Stefano Babic
    Cc: Wolfgang Denk
    Cc: Detlev Zundel

    Marek Vasut