25 Sep, 2014

1 commit

  • 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
     

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 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
     

12 Jun, 2014

1 commit


18 Apr, 2014

1 commit


25 Jan, 2014

1 commit


18 Nov, 2013

1 commit


01 Nov, 2013

2 commits


15 Oct, 2013

1 commit


24 Jul, 2013

1 commit


10 May, 2013

1 commit

  • Many boot image configuration files refer to the
    appropriate documentation file, but these references
    contain typos in the directory and file name. Fix
    them. Also fix reference to doc/README.SPL file.

    Signed-off-by: Anatolij Gustschin
    Cc: Prafulla Wadaskar
    Cc: Stefano Babic
    Acked-by: Stefano Babic

    Anatolij Gustschin
     

02 Apr, 2013

1 commit

  • 'bool' is defined in random places. This patch consolidates them into a
    single header file include/linux/types.h, using stdbool.h introduced in C99.

    All other #define, typedef and enum are removed. They are all consistent with
    true = 1, false = 0.

    Replace FALSE, False with false. Replace TRUE, True with true.
    Skip *.py, *.php, lib/* files.

    Signed-off-by: York Sun

    York Sun
     

09 Jan, 2013

1 commit

  • This saves stack and code memory for local copy, and
    consumes initialized data memory. For 22 of the 29
    kirkwood-based boards, this results in a global saving
    of about 30 bytes. For 7 of them, it results in an
    increase of 6 to 14 bytes.

    Signed-off-by: Albert ARIBAUD

    Albert ARIBAUD
     

14 Dec, 2012

1 commit


17 Oct, 2012

1 commit


16 Oct, 2012

2 commits

  • Remove the support for not-CONFIG_SERIAL_MULTI part from serial
    port drivers and some board files. Since CONFIG_SERIAL_MULTI is
    now enabled by default, that part is a dead code. Remove it.

    Signed-off-by: Marek Vasut
    Cc: Marek Vasut
    Cc: Anatolij Gustschin
    Cc: Stefan Roese
    Signed-off-by: Tom Rini

    Marek Vasut
     
  • Implement support for CONFIG_SERIAL_MULTI into marvell serial driver.
    This driver was so far only usable directly, but this patch also adds
    support for the multi method. This allows using more than one serial
    driver alongside the marvell driver. Also, add a weak implementation
    of default_serial_console() returning this driver.

    Signed-off-by: Marek Vasut
    Cc: Marek Vasut
    Cc: Tom Rini
    Cc: Anatolij Gustschin
    Cc: Stefan Roese

    Marek Vasut
     

03 Sep, 2012

1 commit


29 Jul, 2012

1 commit


07 Jul, 2012

1 commit


24 May, 2012

1 commit

  • These are all the files which use the API incorrectly but did not get
    built using MAKEALL -a powerpc|arm. I have no compiler for them, but
    the remaining issues should be far less than without this patch.

    Any outstanding issues are left to the maintainers of boards that use
    these drivers.

    Signed-off-by: Joe Hershberger

    Joe Hershberger
     

23 May, 2012

1 commit


19 Mar, 2012

1 commit

  • A few subsystems are using the same define "NAMESIZE". This has been
    working so far because they define it to the same number. However, I
    want to change the size of eth_device's NAMESIZE, so rather than tweak
    the define names, simply drop references to it. Almost no one does,
    and the handful that do can easily be changed to a sizeof().

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

07 Mar, 2012

2 commits


02 Dec, 2011

2 commits

  • Fix:
    db64460.c: In function 'debug_led':
    db64460.c:413:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64460_eth_real_open':
    mv_eth.c:423:6: warning: variable 'port_status' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64460_eth_stop':
    mv_eth.c:641:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64460_eth_xmit':
    mv_eth.c:717:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64460_eth_receive':
    mv_eth.c:802:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64460_eth_get_stats':
    mv_eth.c:901:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64460_eth_update_stat':
    mv_eth.c:929:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
    mv_eth.c:928:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64460_eth_print_stat':
    mv_eth.c:1010:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'eth_clear_mib_counters':
    mv_eth.c:2067:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
    sdram_init.c: In function 'check_dimm':
    sdram_init.c:289:50: warning: variable 'trrd_clocks' set but not used [-Wunused-but-set-variable]
    sdram_init.c:289:37: warning: variable 'tras_clocks' set but not used [-Wunused-but-set-variable]
    sdram_init.c:289:24: warning: variable 'trcd_clocks' set but not used [-Wunused-but-set-variable]
    sdram_init.c:289:8: warning: variable 'trp_clocks' set but not used [-Wunused-but-set-variable]
    sdram_init.c:279:34: warning: variable 'devicesForErrCheck' set but not used [-Wunused-but-set-variable]
    sdram_init.c: In function 'setup_sdram':
    sdram_init.c:1255:13: warning: variable 'check' set but not used [-Wunused-but-set-variable]
    sdram_init.c: In function 'initdram':
    sdram_init.c:1744:25: warning: variable 'check' set but not used [-Wunused-but-set-variable]
    sdram_init.c:1742:14: warning: variable 's1' set but not used [-Wunused-but-set-variable]
    sdram_init.c:1742:6: warning: variable 's0' set but not used [-Wunused-but-set-variable]

    Note: no attempt was make to clean up the mess coding style and
    other issues in sdram_init.c

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     
  • Fix:
    db64360.c: In function 'debug_led':
    db64360.c:413:6: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64360_eth_real_open':
    mv_eth.c:424:6: warning: variable 'port_status' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64360_eth_stop':
    mv_eth.c:642:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64360_eth_xmit':
    mv_eth.c:718:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64360_eth_receive':
    mv_eth.c:803:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64360_eth_get_stats':
    mv_eth.c:902:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64360_eth_update_stat':
    mv_eth.c:930:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
    mv_eth.c:929:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64360_eth_print_stat':
    mv_eth.c:1011:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'eth_clear_mib_counters':
    mv_eth.c:2068:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
    sdram_init.c: In function 'check_dimm':
    sdram_init.c:289:50: warning: variable 'trrd_clocks' set but not used [-Wunused-but-set-variable]
    sdram_init.c:289:37: warning: variable 'tras_clocks' set but not used [-Wunused-but-set-variable]
    sdram_init.c:289:24: warning: variable 'trcd_clocks' set but not used [-Wunused-but-set-variable]
    sdram_init.c:289:8: warning: variable 'trp_clocks' set but not used [-Wunused-but-set-variable]
    sdram_init.c:279:34: warning: variable 'devicesForErrCheck' set but not used [-Wunused-but-set-variable]
    sdram_init.c: In function 'setup_sdram':
    sdram_init.c:1256:13: warning: variable 'check' set but not used [-Wunused-but-set-variable]
    sdram_init.c: In function 'initdram':
    sdram_init.c:1735:25: warning: variable 'check' set but not used [-Wunused-but-set-variable]
    sdram_init.c:1733:14: warning: variable 's1' set but not used [-Wunused-but-set-variable]
    sdram_init.c:1733:6: warning: variable 's0' set but not used [-Wunused-but-set-variable]

    Note: no attempt was make to clean up the mess coding style and
    other issues in sdram_init.c

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

04 Nov, 2011

1 commit

  • Fix build issues:

    mvrtc.c: In function 'rtc_get':
    mvrtc.c:45: warning: implicit declaration of function 'readl'
    mvrtc.c: In function 'rtc_set':
    mvrtc.c:100: warning: implicit declaration of function 'writel'
    dreamplug.c: In function 'board_early_init_f':
    dreamplug.c:43: warning: implicit declaration of function 'kw_config_gpio'
    dreamplug.c: In function 'board_init':
    dreamplug.c:108: warning: implicit declaration of function 'kw_sdram_bar'
    drivers/rtc/librtc.o: In function `rtc_set':
    /home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:92: undefined reference to `writel'
    /home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:103: undefined reference to `writel'
    drivers/rtc/librtc.o: In function `rtc_reset':
    /home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:117: undefined reference to `readl'
    /home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:120: undefined reference to `readl'
    drivers/rtc/librtc.o: In function `rtc_get':
    /home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:45: undefined reference to `readl'
    /home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:48: undefined reference to `readl'
    ...

    Signed-off-by: Anatolij Gustschin
    Cc: Jason Cooper
    Cc: Albert ARIBAUD
    Acked-by: Marek Vasut

    Anatolij Gustschin
     

28 Oct, 2011

8 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
     
  • interrupts.c: In function 'interrupt_init_cpu':
    interrupts.c:40: error: 'ETHERNET0_INTERRUPT_CAUSE_REGISTER' undeclared (first
    use in this function)
    interrupts.c:40: error: (Each undeclared identifier is reported only once
    interrupts.c:40: error: for each function it appears in.)
    interrupts.c:40: error: 'ETHERNET1_INTERRUPT_CAUSE_REGISTER' undeclared (first
    use in this function)
    interrupts.c:40: error: 'ETHERNET2_INTERRUPT_CAUSE_REGISTER' undeclared (first
    use in this function)
    interrupts.c:44: error: 'ETHERNET0_INTERRUPT_MASK_REGISTER' undeclared (first
    use in this function)
    interrupts.c:44: error: 'ETHERNET1_INTERRUPT_MASK_REGISTER' undeclared (first
    use in this function)
    interrupts.c:44: error: 'ETHERNET2_INTERRUPT_MASK_REGISTER' undeclared (first
    use in this function)

    Signed-off-by: Marek Vasut
    Cc: Wolfgang Denk
    Cc: Simon Glass
    Cc: Mike Frysinger

    Marek Vasut
     
  • Signed-off-by: Lei Wen

    Lei Wen
     
  • Signed-off-by: Prafulla Wadaskar

    Prafulla Wadaskar
     
  • For files like the drivers/serial/serial.c, it must include the
    platform file, as the CONFIG_SYS_NS16550_COM1 must reference to the
    definition in the platform definition files.

    Include the platform definition file in the config file, so that it
    would decouple the dependence for the driver files.

    Signed-off-by: Lei Wen

    Lei Wen
     
  • For files like the drivers/serial/serial.c, it must include the
    platform file, as the CONFIG_SYS_NS16550_COM1 must reference to the
    definition in the platform definition files.

    Include the platform definition file in the config file, so that it
    would decouple the dependence for the driver files.

    Updated cpu.h to remove build errors for gplugd board (by prafulla)

    Signed-off-by: Lei Wen
    Signed-off-by: Prafulla Wadaskar

    Lei Wen
     
  • This patch add SPI driver support for Marvell gplugD

    Signed-off-by: Ajay Bhargav

    Ajay Bhargav
     
  • Copied wholeheartedly from board/Marvell/guruplug and modified to add support
    for SPI NOR flash.

    CONFIG_MACH_DREAMPLUG defined in include/configs/dreamplug.h until Linus's
    kernel.org tree adds it to mach-types.h. Once it trickles down, the definition
    can be removed from include/configs/dreamplug.h.

    Signed-off-by: Jason Cooper

    Jason Cooper
     

22 Oct, 2011

1 commit