05 Jun, 2017

1 commit


24 Jan, 2017

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
     

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
     

01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


16 Oct, 2012

1 commit

  • The CSI PODF bit-field used by the previous code for the i.MX31 CCM PDR0
    register is actually composed of two bit-fields: one pre-divider and one
    post-divider. This patch fixes the CCM access macros and the code using them
    accordingly.

    Signed-off-by: Benoît Thébaudeau
    Cc: Stefano Babic

    Benoît Thébaudeau
     

28 Oct, 2011

3 commits

  • * 'master' of git://git.denx.de/u-boot-arm:
    ARM: Add Calxeda Highbank platform
    dkb: make mmc command as default enabled
    Marvell: dkb: add mmc support
    ARM: pantheon: add mmc definition
    davinci: remove config.mk file from the sources
    ARM:AM33XX: Add support for TI AM335X EVM
    ARM:AM33XX: Added timer support
    ARM:AM33XX: Add emif/ddr support
    ARM:AM33XX: Add clock definitions
    ARM:AM33XX: Added support for AM33xx
    omap3/emif4: fix registers definition
    davinci: remove obsolete macro CONFIG_EMAC_MDIO_PHY_NUM
    davinci: emac: add support for more than 1 PHYs
    davinci: emac: add new features to autonegotiate for EMAC
    da850evm: Move LPSC configuration to board_early_init_f()
    omap4_panda: Build in cmd_gpio support on panda
    omap: Don't use gpio_free to change direction to input
    mmc: omap: Allow OMAP_HSMMC[23]_BASE to be unset
    OMAP3: overo : Add environment variable optargs to bootargs
    OMAP3: overo: Move ethernet CS4 configuration to execute based on board id
    OMAP3: overo : Use ttyO2 instead of ttyS2.
    da830: add support for NAND boot mode
    dm36x: revert cache disable patch
    dm644X: revert cache disable patch
    devkit8000: Add malloc space
    omap: spl: fix build break due to changes in FAT
    OMAP3 SPL: Provide weak omap_rev_string
    omap: beagle: Use ubifs instead of jffs2 for nand boot
    omap: overo: Disable pull-ups on camera PCLK, HS and VS signals
    omap: overo: Configure mux for gpio10
    SPL: Add DMA library
    omap3: Add interface for omap3 DMA
    omap3: Add DMA register accessors
    omap3: Add Base register for DMA
    arm, davinci: add missing LSPC define for MMC/SD1
    U-Boot/SPL: omap4: Make ddr pre-calculated timings as default.
    DaVinci: correct MDSTAT.STATE mask
    omap4: splitting padconfs into common, 4430 and 4460
    omap4: adding revision detection for 4460 ES1.1
    omap4: replacing OMAP4_CONTROL with OMAP4430_CONTROL
    gplug: fixed build error as a result of code cleanup patch
    kirkwood_spi: add dummy spi_init()
    gpio: mvmfp: reduce include platform file
    ARM: orion5x: reduce dependence of including platform file
    serial: reduce include platform file for marvell chip
    ARM: kirkwood: reduce dependence of including platform file
    ARM: armada100: reduce dependence of including platform file
    ARM: pantheon: reduce dependence of including platform file
    Armada100: Add env storage support for Marvell gplugD
    Armada100: Add SPI flash support for Marvell gplugD
    Armada100: Add SPI support for Marvell gplugD
    SPI: Add SPI driver support for Marvell Armada100
    dreamplug: initial board support.
    imx: fix coding style
    misc: pmic: drop old Freescale's pmic driver
    MX31: mx31pdk: use new pmic driver
    MX31: mx31ads: use new pmic driver
    MX31: mx31_litekit: use new pmic driver
    MX5: mx53evk: use new pmic driver
    MX5: mx51evk: use new pmic driver
    MX35: mx35pdk: use new pmic driver
    misc: pmic: addI2C support to pmic_fsl driver
    misc: pmic: use I2C_SET_BUS in pmic I2C
    MX5: efikamx/efikasb: use new pmic driver
    MX3: qong: use new pmic driver
    RTC: Switch mc13783 to generic pmic code
    MX5: vision2: use new pmic driver
    misc: pmic: Freescale PMIC switches to generic PMIC driver
    misc:pmic:samsung Enable PMIC driver at GONI target
    misc:pmic:max8998 MAX8998 support at a new PMIC driver.
    misc:pmic:core New generic PMIC driver
    mx31pdk: Remove unneeded config
    mx31: provide readable WEIM CS accessor
    MX51: vision2: Set global macros
    I2C: Add i2c_get/set_speed() to mxc_i2c.c
    ARM: Update mach-types
    devkit8000: Add config to enable SPL MMC boot
    devkit8000: protect board_mmc_init
    arm, post: add missing post_time_ms for arm
    cosmetic, post: Codingstyle cleanup
    arm, logbuffer: make it compileclean
    tegra2: Enable MMC for Seaboard
    tegra2: Add more pinmux functions
    tegra2: Rename PIN_ to PINGRP_
    tegra2: Add more clock functions
    tegra2: Clean up board code a little
    tegra2: Rename CLOCK_PLL_ID to CLOCK_ID

    Wolfgang Denk
     
  • This renames BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT.
    Along the way it removes some leftover

    #define BOARD_LATE_INIT 1

    and adds some basic documentation for board specific
    callbacks in README.

    Signed-off-by: Helmut Raiger
    Acked-by: Stefano Babic

    Helmut Raiger
     
  • setup_weimcs() and some macros are added to support the setup
    for i.MX31 WEIM chip selects. As a compromise between verbosity
    and readability an ASCII-art'ish bit comment is used instead of
    bitfields.
    All i.MX31 boards have been patched to use this approach using a
    helper program to verify the changes.

    Signed-off-by: Helmut Raiger
    Acked-by: Stefano Babic

    Helmut Raiger
     

16 Oct, 2011

1 commit

  • The top level Makefile does not do any recursion into subdirs when
    cleaning, so these clean/distclean targets in random arch/board dirs
    never get used. Punt them all.

    MAKEALL didn't report any errors related to this that I could see.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

17 Jul, 2011

1 commit


22 Jun, 2011

1 commit


28 Apr, 2011

1 commit


18 Nov, 2010

1 commit

  • Before this commit, weak symbols were not overridden by non-weak symbols
    found in archive libraries when linking with recent versions of
    binutils. As stated in the System V ABI, "the link editor does not
    extract archive members to resolve undefined weak symbols".

    This commit changes all Makefiles to use partial linking (ld -r) instead
    of creating library archives, which forces all symbols to participate in
    linking, allowing non-weak symbols to override weak symbols as intended.
    This approach is also used by Linux, from which the gmake function
    cmd_link_o_target (defined in config.mk and used in all Makefiles) is
    inspired.

    The name of each former library archive is preserved except for
    extensions which change from ".a" to ".o". This commit updates
    references accordingly where needed, in particular in some linker
    scripts.

    This commit reveals board configurations that exclude some features but
    include source files that depend these disabled features in the build,
    resulting in undefined symbols. Known such cases include:
    - disabling CMD_NET but not CMD_NFS;
    - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

    Signed-off-by: Sebastien Carlier

    Sebastien Carlier
     

19 Oct, 2010

1 commit

  • The change is currently needed to be able to remove the board
    configuration scripting from the top level Makefile and replace it by
    a simple, table driven script.

    Moving this configuration setting into the "CONFIG_*" name space is
    also desirable because it is needed if we ever should move forward to
    a Kconfig driven configuration system.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

23 Jul, 2009

1 commit


13 Jun, 2009

1 commit


16 May, 2009

1 commit


15 May, 2009

1 commit


21 Mar, 2009

1 commit

  • A recent gcc added a new unaligned rodata section called '.rodata.str1.1',
    which needs to be added the the linker script. Instead of just adding this
    one section, we use a wildcard ".rodata*" to get all rodata linker section
    gcc has now and might add in the future.

    However, '*(.rodata*)' by itself will result in sub-optimal section
    ordering. The sections will be sorted by object file, which causes extra
    padding between the unaligned rodata.str.1.1 of one object file and the
    aligned rodata of the next object file. This is easy to fix by using the
    SORT_BY_ALIGNMENT command.

    This patch has not be tested one most of the boards modified. Some boards
    have a linker script that looks something like this:

    *(.text)
    . = ALIGN(16);
    *(.rodata)
    *(.rodata.str1.4)
    *(.eh_frame)

    I change this to:

    *(.text)
    . = ALIGN(16);
    *(.eh_frame)
    *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))

    This means the start of rodata will no longer be 16 bytes aligned.
    However, the boundary between text and rodata/eh_frame is still aligned to
    16 bytes, which is what I think the real purpose of the ALIGN call is.

    Signed-off-by: Trent Piepho

    Trent Piepho
     

24 Feb, 2009

1 commit

  • The "eet" variant of the imx31_phycore board has an OLED display, using a
    s6e63d6 display controller on the first SPI interface, using GPIO57 as a
    chip-select for it. With this configuration you can display 256 colour BMP
    images in 16-bit RGB (RGB565) LCD mode.

    Signed-off-by: Guennadi Liakhovetski
    Acked-by: Jean-Christophe PLAGNIOL-VILLARD

    Guennadi Liakhovetski
     

19 Nov, 2008

1 commit

  • Most of the bss initialization loop increments 4 bytes
    at a time. And the loop end is checked for an 'equal'
    condition. Make the bss end address aligned by 4, so
    that the loop will end as expected.

    Signed-off-by: Selvamuthukumar
    Signed-off-by: Wolfgang Denk

    Selvamuthukumar
     

12 Aug, 2008

1 commit


03 Jul, 2008

1 commit


02 Jul, 2008

1 commit


21 May, 2008

1 commit

  • This commit gets rid of a huge amount of silly white-space issues.
    Especially, all sequences of SPACEs followed by TAB characters get
    removed (unless they appear in print statements).

    Also remove all embedded "vim:" and "vi:" statements which hide
    indentation problems.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

14 Apr, 2008

1 commit


11 Apr, 2008

1 commit

  • Reverting became necessary after it turned out that the patches in
    the u-boot-arm repo were modified, and in some cases corrupted.

    This reverts the following commits:

    066bebd6353e33af3adefc3404560871699e9961
    7a837b7310166ae8fc8b8d66d7ef01b60a80f9d6
    c88ae20580b2b01487b4cdcc8b2a113f551aee36
    a147e56f03871bba4f05058d5e04ce7deb010b04
    d6674e0e2a6a1f033945f78838566210d3f28c95
    8c8463cce44d849e37744749b32d38e1dfb12e50
    c98b47ad24b2d91f41c09a3d62d7f70ad84f4b7d
    8bf69d81782619187933a605f1a95ee1d069478d
    8c16cb0d3b971f46fbe77c072664c0f2dcd4471d
    a574a73852a527779234e73e17e7597fd8128882
    1377b5583a48021d983e1fd565f7d40c89e84d63
    1704dc20917b4f71e373e2c888497ee666d40380

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

30 Mar, 2008

1 commit