30 Jul, 2013

16 commits

  • Add the tca642x gpio expander driver

    Datasheet:
    http://www.ti.com/product/tca6424a

    Signed-off-by: Dan Murphy

    Dan Murphy
     
  • The BeagleBone Black differs from the other AM335x boards in a few
    significant ways, so it makes sense to create a custom configuration
    for it. In particular, it uses eMMC instead of NAND flash.

    Signed-off-by: Justin Waters

    Justin Waters
     
  • Some boards, such as the BeagleBone Black, have an eMMC chip intstead
    of NAND. We can use the eMMC boot partition to store the environment,
    since it isn't used for anything else. This allows us to have a
    configurable environment on those boards.

    Signed-off-by: Justin Waters

    Justin Waters
     
  • This rule catches images such as MLO.byteswap

    Signed-off-by: Justin Waters

    Justin Waters
     
  • The BeagleBone Black can boot from either the MMC card
    or eMMC chip on board. We should try both interfaces.

    This modification also allows a graceful fallback if
    a device exists but boot images are not present on it.

    Changes for v2:

    * Fix boot partition - it should always show up as mmcblk0p2
    * Fix missing FDT load

    Signed-off-by: Justin Waters

    Justin Waters
     
  • Many modern U-Boot ports enable command line editing and
    a history buffer. The am335x_evm configuration is fairly
    comprehensive as it is, so a few extra kb should not be
    noticable, and it adds a very convenient feature.

    Signed-off-by: Justin Waters

    Justin Waters
     
  • Give the user the ability to disable NAND support by defining
    CONFIG_NO_NAND. This will allow custom hardware to easily support
    this configuration.

    Signed-off-by: Justin Waters
    [trini: Make apply on top of other series]
    Signed-off-by: Tom Rini

    Justin Waters
     
  • accessing a lan9303 switch with the cpsw driver results in wrong
    speed detection, as the switch sets the BMSR_ERCAP in BMSR
    register, and follow read of the MII_STAT1000 register fails, as
    the switch does not support it. Current code did not check,
    if a phy_read() fails ... fix this.

    Signed-off-by: Heiko Schocher
    Cc: Joe Hershberger
    Acked-by: Mugunthan V N
    Signed-off-by: Tom Rini

    Heiko Schocher
     
  • The Beaglebone White may be populated with a memory cape that has a NOR
    module. Document how to program it.

    Signed-off-by: Tom Rini

    Tom Rini
     
  • NOR requires that s_init be within the first 4KiB of the image so that
    we can perform the rest of the required pinmuxing to talk with the rest
    of NOR that we are found on. When NOR_BOOT is set we save our
    environment in NOR at 512KiB and a redundant copy at 768KiB. We avoid
    using SPL for this case and u-boot.bin is written directly to the start
    of NOR.

    We enclose the DMM-related parts of arch/arm/cpu/armv7/am33xx/emif4.c
    with TI81xx checks as at this time U-Boot does not discard unused
    sections in the main build and this code relies on functions specific to
    (and only provided in) ti81xx-related code.

    Cc: Albert ARIBAUD
    Signed-off-by: Steve Kipisz
    Signed-off-by: Tom Rini

    Steve Kipisz
     
  • This patch adds support for the NOR module that attaches
    to the memory cape for a Beaglebone board. This does not
    add booting support; only support so that you can boot from
    SD/MMC and see the NOR module so that it can be programmed.

    Signed-off-by: Steve Kipisz
    [trini: Clean up config changes slightly]
    Signed-off-by: Tom Rini

    Steve Kipisz
     
  • Based on our usage of the GPMC, either with NOR or NAND we do not need
    to be setting the irqstatus or irqenable bits and should clear them like
    we have historically.

    Signed-off-by: Tom Rini

    Tom Rini
     
  • We rework the various board_is_foo() checks to take a pointer to
    struct am335x_baseboard_id rather than using a local copy in board.c.
    This allows us to make use of the same checks in mux.c as well as fixing
    problems when this code could be running from read-only memory.

    Reviewed-by: Peter Korsgaard
    Signed-off-by: Tom Rini

    Tom Rini
     
  • - Style cleanup (# define -> #define)
    - Due to ROM issues, redudant loading isn't feasible, so drop.
    - Given extra space, increase max size of U-Boot to 512KiB
    - Correct env size to match usage (we had not re-defined ENV_SIZE).
    - Given extra space, keep env size as 128KiB, add redundant environment.

    Reviewed-by: Peter Korsgaard
    Signed-off-by: Tom Rini

    Tom Rini
     
  • We always set a CONFIG_ENV_IS_...somewhere... so drop the initial define
    of NOWHERE.

    Reviewed-by: Peter Korsgaard
    Signed-off-by: Tom Rini

    Tom Rini
     
  • The AM335x GP EVM ships with NAND. Document programming of the chip
    including the redundant locations that the ROM will check.

    Signed-off-by: Tom Rini

    Tom Rini
     

27 Jul, 2013

22 commits


25 Jul, 2013

2 commits