29 Mar, 2015

6 commits

  • make the CPU clock selectable via Kconfig

    this removes the sunxi specific CONFIG_CLK_FULL_SPEED defined in each
    soc header and replaces it's use in board/sunxi/board.c with
    CONFIG_SYS_CLK_FREQ from Kconfig which allows us to configure board
    specific frequency on boot

    Signed-off-by: Iain Paton
    [hdegoede@redhat.com s/CONFIG_SYS_CLK_FREQ/CONFIG_TIMER_CLK_FREQ/ for the
    arch-timer clk speed on sun7i to fix mis-compile on sun7i]
    Acked-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Iain Paton
     
  • clock_set_pll1 would pick the next highest available cpu clock speed if
    a value not in the pre defined table was selected. this potentially
    results in overclocking the soc.

    reverse the selection method so that we select the next lowest speed
    and add the missing 912Mhz setting that's requested by sun7i which also
    uses the sun4i clock code.

    Signed-off-by: Iain Paton
    Acked-by: Hans de Goede
    Signed-off-by: Hans de Goede

    Iain Paton
     
  • The usb0 / otg phy on sunxi boards has a bug where it wrongly detects a
    high speed squelch on usb reset deassert when a lo speed device is plugged in.

    The android kernel has a work around for this in the form of temporary
    disabling the phy's squelch detection on reset deassert, this commit adds
    the same workaround to the u-boot sunxi musb code, thereby fixing various usb
    lo speed devices not working.

    Tested with a (before non working) usb keyboard and a usb 2.4 GHz wireless
    keyboard/mouse combo receiver.

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

    Hans de Goede
     
  • Now that loading files using semihosting can be done using
    a command in standard scripts, and we have rewritten the boardfile
    and added it to the Vexpress64, let's delete the external
    interface to the semihosting file retrieveal and rely solely
    on these commands, and staticize them inside that file so the
    whole business is self-contained.

    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • Instead of sprinkling custom code and calls over the Vexpress64
    boardfile, create a command that loads images using semihosting
    just like we would load from flash memory of over the network,
    using a special command:

    smhload

    This will make it possible to remove some custom calls and
    code and make the boot easier.

    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • The semihosting trap call does not like being inlined, probably
    because that will mean register reordering screwing up the return
    value in r0, so tag this function "noinline".

    Signed-off-by: Linus Walleij

    Linus Walleij
     

28 Mar, 2015

15 commits


25 Mar, 2015

3 commits

  • Intel Quark SoC integrates two 10/100 ethernet controllers which can
    be connected to an external RMII PHY. The MAC IP is from Designware.
    Enable this support with the existing U-Boot Designware MAC driver
    so that the ethernet port on Intel Galileo board can be used.

    Signed-off-by: Bin Meng
    Acked-by: Simon Glass

    Bin Meng
     
  • Using __DATE__ and __TIME__ results in an error due to -Werror=date-time
    with gcc-4.9 (__DATE__ / __TIME__ might prevent reproducible builds) so
    switch these over to U_BOOT_DATE / U_BOOT_TIME

    Cc: Bin Meng
    Cc: Simon Glass
    Signed-off-by: Tom Rini
    Acked-by: Simon Glass

    Tom Rini
     
  • This patch cleans up the quark MRC codes coding style by:
    - Remove BIT0/1../31 defines from mrc_util.h
    - Create names for the documented BITs and use them
    - For undocumented single BITs, use (1 << n) directly
    - For undocumented ORed BITs, use the hex number directly
    - Remove redundancy parenthesis all over the codes
    - Replace to use lower case hex numbers

    Signed-off-by: Bin Meng

    Bin Meng
     

24 Mar, 2015

1 commit

  • Various files are needlessly rebuilt every time due to the version and
    build time changing. As version.h is not actually needed, remove the
    include.

    Signed-off-by: Rob Herring
    Cc: Albert Aribaud
    Cc: Stefano Babic
    Cc: Minkyu Kang
    Cc: Marek Vasut
    Cc: Tom Warren
    Cc: Michal Simek
    Cc: Macpaul Lin
    Cc: Wolfgang Denk
    Cc: York Sun
    Cc: Stefan Roese
    Cc: Nobuhiro Iwamatsu
    Cc: Simon Glass
    Cc: Philippe Reynes
    Cc: Eric Jarrige
    Cc: "David Müller"
    Cc: Phil Edworthy
    Cc: Robert Baldyga
    Cc: Torsten Koschorrek
    Cc: Anatolij Gustschin
    Reviewed-by: Linus Walleij
    Reviewed-by: Łukasz Majewski

    Rob Herring
     

23 Mar, 2015

11 commits


20 Mar, 2015

1 commit


19 Mar, 2015

3 commits