22 Jul, 2014

2 commits


24 Jul, 2013

1 commit


26 Jun, 2013

1 commit

  • With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type,
    which is required to represent block numbers for storage devices that
    exceed 2TiB (the block size usually is 512B), e.g. recent hard drives.

    For some obscure reason, the current U-Boot code uses lbaint_t for the
    number of blocks to read (a rather optimistic estimation of how RAM
    sizes will evolve), but not for the starting address. Trying to access
    blocks beyond the 2TiB boundary will simply wrap around and read a
    block within the 0..2TiB range.

    We now use lbaint_t for block start addresses, too. This required
    changes to all block drivers as the signature of block_read(),
    block_write() and block_erase() in block_dev_desc_t changed.

    Signed-off-by: Sascha Silbe

    Sascha Silbe
     

02 May, 2013

1 commit


03 Nov, 2012

1 commit

  • The prototypes in the header were changed by commit 4ac8f8e0 but the
    functions no longer match. Correct this.

    It seems odd that block devices take an lbaint_t for the block count, but
    an unsigned long for the blknr. Surely we should promote blknr to lbaint_t
    also?

    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini

    Simon Glass
     

17 Oct, 2012

9 commits


16 Oct, 2012

1 commit


26 Sep, 2012

1 commit


19 Mar, 2012

3 commits


07 Mar, 2012

1 commit


04 Nov, 2011

2 commits

  • Fix:
    cmd_ide.c: In function 'ide_ident':
    cmd_ide.c:988:6: warning: variable 'do_retry' set but not used
    [-Wunused-but-set-variable]

    Delete the unused variable.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     
  • Make file acceptable to checkpatch.

    This is only a basic clean up to the extend possible without any real
    changes to the source code. Warnings due to line over 80 characters
    were accepted because these affect only printf()s with user visible
    strings. No attempts were made to fix warnings about volatile and
    externs - these need a more thorough cleanup.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

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
     
  • cmd_ide.c: In function ‘ide_read’:
    cmd_ide.c:1227:2: warning: format ‘%LX’ expects argument of type ‘long long
    unsigned int’, but argument 3 has type ‘lbaint_t’ [-Wformat]

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

    Marek Vasut
     
  • 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
     

02 Oct, 2011

1 commit


26 Jul, 2011

2 commits


01 May, 2011

2 commits

  • The changes introduced by commit 0abddf8 ``cmd_ide: enhance new
    feature "CONFIG_IDE_AHB"'' caused compiler warnings like

    cmd_ide.c: In function 'ide_init':
    cmd_ide.c:716: warning: assignment from incompatible pointer type

    Constify the respective function arguments to fix this.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     
  • Although most IDE controller is designed to be connected to PCI bridge,
    there are still some IDE controller support AHB interface for SoC design.

    The driver implementation of these IDE-AHB controllers differ from other
    IDE-PCI controller, some additional registers and commands access is required
    during CMD/DATA I/O. Hence a configuration "CONFIG_IDE_AHB" in cmd_ide.c is
    required to be defined to support these kinds of SoC controllers. Such as
    Faraday's FTIDE020 series and Global Unichip's UINF-0301.

    Signed-off-by: Macpaul Lin

    Macpaul Lin
     

05 Feb, 2011

1 commit


12 Jan, 2011

1 commit


29 Nov, 2010

2 commits


20 Sep, 2010

1 commit

  • Recent changes caused that the HMI10 board now is included in the
    boards built by MAKEALL, which revealed that compilation for this
    board has been broken for a long time:

    ps2ser.c: In function 'ps2ser_init':
    ps2ser.c:155: error: 'UART_LCR' undeclared (first use in this function)
    ps2ser.c:155: error: (Each undeclared identifier is reported only once
    ps2ser.c:155: error: for each function it appears in.)
    ps2ser.c:156: error: 'UART_DLL' undeclared (first use in this function)
    ps2ser.c:157: error: 'UART_DLM' undeclared (first use in this function)
    ps2ser.c:159: error: 'UART_IER' undeclared (first use in this function)
    ps2ser.c:160: error: 'UART_MCR' undeclared (first use in this function)
    ps2ser.c:161: error: 'UART_FCR' undeclared (first use in this function)
    ps2ser.c:162: error: 'UART_FCR_ENABLE_FIFO' undeclared (first use in this function)
    ps2ser.c:166: error: 'UART_LSR' undeclared (first use in this function)
    ps2ser.c: In function 'ps2ser_putc':
    ps2ser.c:198: error: 'UART_LSR' undeclared (first use in this function)
    ps2ser.c:200: error: 'UART_TX' undeclared (first use in this function)
    ps2ser.c: In function 'ps2ser_getc_hw':
    ps2ser.c:224: error: 'UART_LSR' undeclared (first use in this function)
    ps2ser.c:225: error: 'UART_RX' undeclared (first use in this function)
    ps2ser.c: In function 'ps2ser_interrupt':
    ps2ser.c:293: error: 'UART_IIR' undeclared (first use in this function)

    The board is orphaned, and AFAICT has reached EOL.
    Drop support for it.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

08 Aug, 2010

3 commits


25 Jul, 2010

1 commit

  • Lots of code use this construct:

    cmd_usage(cmdtp);
    return 1;

    Change cmd_usage() let it return 1 - then we can replace all these
    ocurrances by

    return cmd_usage(cmdtp);

    This fixes a few places with incorrect return code handling, too.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk