11 Oct, 2017

1 commit

  • Having this as a 'default y' is rather annoying because it doesn't
    actually compile unless other options are defined in the board header:

    ../cmd/bootm.c: In function 'do_imls_nor':
    ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
    i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {

    Make it 'default n' so people who develop new boards that start from a
    blank defconfig have one less compilation failure to debug.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     

28 Aug, 2017

1 commit


15 Aug, 2017

1 commit


09 Aug, 2017

1 commit


01 Aug, 2017

1 commit

  • Migrate all remaining instances of CMD_NAND, CMD_NAND_TRIMFFS
    CMD_NAND_LOCK_UNLOCK and CMD_NAND_TORTURE from the headers into the
    defconfig files.

    Tested-by: Adam Ford
    Signed-off-by: Tom Rini
    Reviewed-by: Bin Meng

    Tom Rini
     

31 Jul, 2017

1 commit


26 Jul, 2017

1 commit


30 Jun, 2017

2 commits


24 Mar, 2017

2 commits

  • This commit replaces legacy timer code with usage of arc timer
    driver.

    It removes arch/arc/lib/time.c file and selects CONFIG_CLK,
    CONFIG_TIMER and CONFIG_ARC_TIMER options for all ARC boards by default.
    Therefore we remove CONFIG_CLK option from less common axs101 and
    axs103 defconfigs.

    Also it removes legacy CONFIG_SYS_TIMER_RATE config symbol from
    axs10x.h, tb100.h and nsim.h configs files as it is no longer required.

    Signed-off-by: Vlad Zakharov
    Reviewed-by: Simon Glass

    Vlad Zakharov
     
  • We want to use the same device tree blobs in both Linux and U-Boot for
    ARC boards.

    Earlier device tree sources in U-Boot were very simplified and hadn't been
    updated for quite a long period of time.

    So this commit is the first step on the road to unified device tree blobs.

    First of all we re-organize device tree sources for AXS10X boards.
    As AXS101 and AXS103 boards consist of AXS10X motherboard and AXC001 and
    AXC003 cpu tiles respectively we add corresponding device tree source
    files: axs10x_mb.dtsi for motherboard, axc001.dtsi and axc003.dtsi for
    cpu tiles and axs101.dts and axs103.dts to represent actual boards.

    Also we delete axs10x.dts as it is no longer used.

    One more important change - we add timer device to ARC skeleton device
    tree sources as both ARC700 and ARCHS cores contain such timer.
    We add core_clk nodes to abilis_tb100, nsim, axc001 and axc003 device tree
    sources as it is referenced via phandle from timer node in common
    skeleton.dtsi file.

    Signed-off-by: Vlad Zakharov
    Reviewed-by: Simon Glass

    Vlad Zakharov
     

14 Mar, 2017

1 commit


26 Jan, 2017

1 commit


11 Jan, 2017

1 commit

  • This commit was created as follows:

    [1] Rename the option with the following command:
    find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
    -type f -print | xargs sed -i -e 's/CONFIG_DWMMC/CONFIG_MMC_DW/g'

    [2] create the entry for MMC_DW in drivers/mmc/Kconfig
    (the prompt and help were copied from Linux)

    [3] run "tools/moveconfig.py -y MMC_DW"

    [4] add "depends on MMC_DW" to the MMC_DW_ROCKCHIP entry

    [5] Clean-up doc/README.socfpga by hand

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Marek Vasut

    Masahiro Yamada
     

30 Dec, 2016

1 commit

  • Commit 7a777f6d6f35 ("mmc: Add generic Kconfig option") created
    a Kconfig entry for this option without any actual moves, then
    commit 44c798799f66 ("sunxi: Use Kconfig CONFIG_MMC") moved
    instances only for SUNXI.

    We generally do not like such partial moves. This kind of work
    is automated by tools/moveconfig.py, so it is pretty easy to
    complete this move.

    I am adding "default ARM || PPC || SANDBOX" (suggested by Tom).
    This shortens the configs and will ease new board porting.

    This commit was created as follows:

    [1] Edit Kconfig (remove the "depends on", add the "default",
    copy the prompt and help message from Linux)

    [2] Run 'tools/moveconfig.py -y -s -r HEAD MMC'

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Jaehoon Chung

    Masahiro Yamada
     

09 Sep, 2016

1 commit


08 Aug, 2016

1 commit

  • Add this option as a common config for all OHCI controllers. Its
    help message was copied from Linux. Also, I moved it below EHCI
    to respect the order in Linux's Kconfig.

    Add CONFIG_USB_OHCI_HCD=y to axs103_defconfig, which is the only
    user of OHCI_GENERIC.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

05 Aug, 2016

1 commit

  • As of now we have 2 flavors of ARC SDP boards:
    1) AXS101 - with ARC770 in ASIC
    2) AXS103 - with ARC HS38 in FPGA

    Both options share exactly the same base-board and only differ with
    CPU-tiles in use. That means all peripherals are the same (they are
    implemented in FPGA on the base-board) and so generic board could be
    used for both.

    While at it:
    * Recreated defconfigs with savedefconfig
    * In include/configs/axs10x.h numerical sizes replaced with
    defines from linux/sizes.h for better readability.

    Signed-off-by: Alexey Brodkin
    Reviewed-by: Tom Rini

    Alexey Brodkin
     

13 Jun, 2016

1 commit


10 Jun, 2016

1 commit


17 May, 2016

1 commit


26 Apr, 2016

1 commit


22 Dec, 2015

1 commit

  • This commit adds support of USB 1.1 storage media on AXS103 board.
    For some yet unknown reason USB 2.0 doesn't work on AXS103 board issuing
    messages like this:
    ------------------------>8-------------------
    AXS# usb start
    starting USB...
    USB0: USB EHCI 1.00
    scanning bus 0 for devices... EHCI timed out on TD - token=0x80008c80
    unable to get device descriptor (error=-1)
    1 USB Device(s) found
    ------------------------>8-------------------

    As a work-around we're falling back to USB 1.1.
    Indeed it is much slower but at least USB storage devices are usable on
    AXS103.

    Signed-off-by: Alexey Brodkin
    Cc: Marek Vasut
    Cc: Simon Glass

    Alexey Brodkin
     

08 Dec, 2015

1 commit


22 Nov, 2015

1 commit


18 Nov, 2015

1 commit

  • With this change Synopsys DesignWare SDP board is switched to driver
    model for both serial port (serial_dw) and Ethernet (Designware GMAC).

    This simplifies include/configs/axs101.h and allows for reuse of Linux's
    Device Tree description.

    For simplicity Linux's .dts files are not blindly copied but only very
    few extracts of them are really used (those that are supported in U-Boot
    at the moment).

    Signed-off-by: Alexey Brodkin
    Reviewed-by: Simon Glass
    Cc: Masahiro Yamada

    Alexey Brodkin
     

07 Sep, 2015

1 commit

  • This fixes building in automated flow that doesn't use defconfigs.

    See discussion on that topic here:
    http://patchwork.ozlabs.org/patch/502558/

    See similar patches for other architectures/platforms here:
    [1] http://git.denx.de/?p=u-boot.git;a=commit;h=ff560a13056a565a4e9ce1761bd04276a3cace88
    [2] http://git.denx.de/?p=u-boot.git;a=commit;h=589907e2c187ec69b351c38ccda36730d25ab5d6

    And while at it add missing shell prompt to axs103.

    Cc: Tom Rini
    Cc: Joe Hershberger
    Cc: Masahiro Yamada
    Signed-off-by: Alexey Brodkin

    Alexey Brodkin
     

26 Jun, 2015

2 commits

  • This sets the default commands Kconfig to match
    include/config_cmd_default.h commands in the common/Kconfig and removes
    them from include/configs.

    Signed-off-by: Joe Hershberger
    [trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates]
    Signed-off-by: Tom Rini

    Joe Hershberger
     
  • Some archs/boards specify their own default by pre-defining the config
    which causes the Kconfig system to mix up the order of the configs in
    the defconfigs... This will cause merge pain if allowed to proliferate.

    Remove the configs that behave this way from the archs.

    A few configs still remain, but that is because they only exist as
    defaults and do not have a proper Kconfig entry. Those appear to be:

    SPIFLASH
    DISPLAY_BOARDINFO

    Signed-off-by: Joe Hershberger
    [trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates,
    drop DM_USB from MSI_Primo81 as USB_MUSB_SUNXI isn't converted yet to DM]
    Signed-off-by: Tom Rini

    Joe Hershberger
     

01 Jun, 2015

1 commit


13 May, 2015

1 commit

  • In order to reduce merge conflicts and to maintain the simplest possible
    defconfig files, we should be using the savedefconfig feature of Kconfig
    every time a new feature is added. This keeps the defconfig settings to
    a minimum (only those things not default) and keeps them in the same
    order as the Kconfig options.

    Signed-off-by: Joe Hershberger
    Cc: Masahiro Yamada
    Acked-by: Stephen Warren
    Cc: Tom Rini

    Joe Hershberger
     

19 Apr, 2015

1 commit


03 Apr, 2015

1 commit

  • Before that moment our defconfigs were manually modified with addition
    of new options. That means once anybody wants to add another option and
    re-genarate defconfig with "make defconfig" there will be lots of
    differences. So to make future modifications more clean we'll do bulk
    re-generation right away.

    Signed-off-by: Alexey Brodkin

    Alexey Brodkin
     

13 Feb, 2015

1 commit

  • ARC HS and ARC EM are new cores based on ARCv2 ISA which is binary
    incompatible with ISAv1 (AKA ARCompact).

    Significant difference between ISAv2 and v1 is implementation of
    interrupt vector table.

    In v1 it is implemented in the same way as on many other architectures -
    as a special location where user may put whether code executed in place
    (if machine word of space is enough) or jump to a full-scale interrupt
    handler.

    In v2 interrupt table is just an array of adresses of real interrupt
    handlers. That requires a separate section for IVT that is not encoded
    as code by assembler.

    This change adds support for following cores:
    * ARC EM6 (simple 32-bit microcontroller without MMU)
    * ARC HS36 (advanced 32-bit microcontroller without MMU)
    * ARC HS38 (advanced 32-bit microcontroller with MMU)

    As a part of ARC HS38 new version of MMU (v4) was introduced.

    Also this change adds AXS131 board which is the same DW ARC SDP base board but
    with ARC HS38 CPU tile.

    Signed-off-by: Alexey Brodkin

    Alexey Brodkin