09 Jun, 2015

4 commits

  • Signed-off-by: Tom Rini

    Tom Rini
     
  • AM335x-based 'Gumstix Pepper' SBCs and variants use different types of
    RAM (DDR2 vs DDR3 with DDR3 being the default). Detect the board type
    by reading the factory-programmed EEPROM [1] and use this to select any
    runtime boot options such as RAM type.

    [1] http://elinux.org/BeagleBoardPinMux#List_of_Vendor_and_Device_IDs

    Signed-off-by: Adam YH Lee
    Signed-off-by: Ash Charles

    Adam YH Lee
     
  • This patch adds the feature to only stop the autobooting, and therefor
    boot into the U-Boot prompt, when the input string / password matches
    a values that is encypted via a SHA256 hash and saved in the environment.

    This feature is enabled by defined these config options:
    CONFIG_AUTOBOOT_KEYED
    CONFIG_AUTOBOOT_STOP_STR_SHA256

    Signed-off-by: Stefan Roese
    Reviewed-by: Simon Glass

    Stefan Roese
     
  • This patch moves the following config options to Kconfig:

    CONFIG_AUTOBOOT_KEYED
    CONFIG_AUTOBOOT_PROMPT
    CONFIG_AUTOBOOT_DELAY_STR
    CONFIG_AUTOBOOT_STOP_STR
    AUTOBOOT_KEYED_CTRLC

    Signed-off-by: Stefan Roese
    Reviewed-by: Simon Glass
    [trini: Drop ip04 and pm9263 configs/ additions, those boards previously
    set CONFIG_AUTOBOOT_PROMPT but never used it, re-run savedefconfig over
    all boards that did change. Make digsy_mtc_* string include seconds to
    match others and not warn. ]
    Signed-off-by: Tom Rini
    Cc: Masahiro Yamada

    Stefan Roese
     

08 Jun, 2015

19 commits


06 Jun, 2015

5 commits


05 Jun, 2015

3 commits


04 Jun, 2015

9 commits

  • Rename the Astar_MID756 to Et_q8_v1_6 to match the kernel dts name.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     
  • Copy over all the latest dts changes from mripard/sunxi/dt-for-4.2 ,
    this gives us a proper dtsi file for the A33 rather then abusing
    sun8i-a23.dtsi for this.

    And this replaces our minimal (dummy) sun7i-a20-mk808c and
    sun8i-a33-astar-mid756 dts files with proper ones.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     
  • Add "allwinner,sun8i-a33-pinctrl", this is used by the latest upstream
    linux sunxi dts files.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     
  • The Mele A1000G-quad and the Mele M9 have the same PCB, sofar we've been
    using the same defconfig (and dts on the kernel side) for both models.
    Unfortunately this does not work for the otg controller, on the M9 this
    is routed to a micro-usb connector on the outside, while as on the
    A1000G-quad it is connected to an usb to sata bridge.

    This commit adds a new defconfig for the Mele-A1000G-quad to allow using
    different otg controller settings on the 2 boards.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     
  • Before this commit the code for determining the disconnect threshold was
    checking for sun4i or sun6i assuming that those where the exception and
    that newer SoCs use a disconnect threshold of 2 like sun7i does.

    But it turns out that newer SoCs actually use a disconnect threshold of 3
    and sun5i and sun7i are the exceptions, so check for those instead.

    Here are the settings from the various Allwinner SDK sources:
    sun4i-a10: USBC_Phy_Write(usbc_no, 0x2a, 3, 2);
    sun5i-a13: USBC_Phy_Write(usbc_no, 0x2a, 2, 2);
    sun6i-a31: USBC_Phy_Write(usbc_no, 0x2a, 3, 2);
    sun7i-a20: USBC_Phy_Write(usbc_no, 0x2a, 2, 2);
    sun8i-a23: USBC_Phy_Write(usbc_no, 0x2a, 3, 2);
    sun8i-h3: USBC_Phy_Write(usbc_no, 0x2a, 3, 2);
    sun9i-a80: USBC_Phy_Write(usbc_no, 0x2a, 3, 2);

    Note this commit makes no functional changes for sun4i - sun7i, and
    changes the disconnect threshold for sun8i to match what Allwinner uses.

    Signed-off-by: Hans de Goede
    Acked-by: Ian Campbell

    Hans de Goede
     
  • On some boards we need to enable the internal pull-up te reliable detect
    that no card is inserted.

    Signed-off-by: Hans de Goede

    Hans de Goede
     
  • Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • A conflict between the PMIC and unit test work means that the sandbox test
    device tree file is no-longer built. Fix this.

    Series-to: u-boot
    Series-cc: joe, prz

    Change-Id: I6616428e05713e5306f848e7dd0a645dedf0934e
    Signed-off-by: Simon Glass

    Simon Glass
     
  • These were lost when the PMIC series was applied. Add them back so that the
    tests pass again.

    Reported-by: Joe Hershberger
    Signed-off-by: Simon Glass
    Acked-by: Joe Hershberger

    Simon Glass