08 Apr, 2014

1 commit


04 Apr, 2014

1 commit


03 Apr, 2014

1 commit


29 Mar, 2014

1 commit


25 Mar, 2014

1 commit


18 Mar, 2014

1 commit

  • Add a simple LCD driver which uses SDL to display the image. We update the
    image regularly, while still providing for reasonable performance.

    Adjust the common lcd code to support sandbox.

    For command-line runs we do not want the LCD to be displayed, so add a
    --show_lcd option to enable it.

    Tested-by: Che-Liang Chiou
    Signed-off-by: Simon Glass

    Simon Glass
     

13 Mar, 2014

3 commits

  • Prior to Kbuild, $(TOPDIR) or $(SRCTREE) was used for
    pointing to the top of source directory.
    (No difference between the two.)

    In Kbuild style, $(srctree) is used instead.
    This commit renames TOPDIR to srctree and delete the
    defition of TOPDIR.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • Pull out "$(SRCTREE)/" from CONFIG_SYS_KWD_CONFIG
    and push it into the top Makefile.

    Signed-off-by: Masahiro Yamada
    Cc: Michael Walle
    Cc: Simon Guinot
    Cc: Dave Purdy
    Cc: Stefan Herbrechtsmeier
    Cc: Luka Perkov
    Cc: Valentin Longchamp
    Cc: Jason Cooper
    Cc: Siddarth Gore
    Cc: Prafulla Wadaskar
    Cc: Eric Cooper
    Cc: Suriyan Ramasami

    Masahiro Yamada
     
  • - extend the discussion of USB network related config options such that
    all available adapter drivers are listed, and that the 'usb' command
    for the interactive prompt and scripting becomes available
    - suggest to *not* put individual IP configuration parameters into the
    exectuable, but instead to put them into external environment or fetch
    them from network

    Signed-off-by: Gerhard Sittig
    Acked-by: Simon Glass
    Acked-by: Marek Vasut

    Gerhard Sittig
     

12 Mar, 2014

1 commit


10 Mar, 2014

1 commit

  • CONFIG_SYS_HZ must be always 1000, but M5271EVB.h defines it
    as 1000000 and idmr.h defines it as (50000000 / 64).

    When compiling these two boards, a warning message is displayed:

    time.c:14:2: warning: #warning "CONFIG_SYS_HZ must be 1000
    and should not be defined by platforms" [-Wcpp]

    There are no board maintainers for them so this commit just
    deletes them.

    Signed-off-by: Masahiro Yamada
    Cc: Jason Jin

    Masahiro Yamada
     

05 Mar, 2014

4 commits


27 Feb, 2014

2 commits

  • Conflicts:
    arch/arm/cpu/armv7/config.mk
    board/ti/am43xx/mux.c
    include/configs/am43xx_evm.h

    Signed-off-by: Tom Rini

    Tom Rini
     
  • When we tell the compiler to optimize for ARMv7 (and ARMv6 for that
    matter) it assumes a default of SCTRL.A being cleared and unaligned
    accesses being allowed and fast at the hardware level. We set this bit
    and must pass along -mno-unaligned-access so that the compiler will
    still breakdown accesses and not trigger a data abort.

    To better help understand the requirements of the project with respect
    to unaligned memory access, the
    Documentation/unaligned-memory-access.txt file has been added as
    doc/README.unaligned-memory-access.txt and is taken from the v3.14-rc1
    tag of the kernel.

    Cc: Albert ARIBAUD
    Cc: Mans Rullgard
    Signed-off-by: Tom Rini

    Tom Rini
     

26 Feb, 2014

1 commit

  • - Generate include/generated/{timestamp.h, version.h}
    more simply by using filechk rule.

    - Add $(UBOOTRELEASE) variable and re-write u-boot.imx rule
    more simply.

    - Rename U_BOOT_VERSION in Makefile to UBOOTVERSION

    Before this commit, the same variable name, "U_BOOT_VERSION"
    was used for two different strings.

    One of them was defined in Makefile.
    It takes the form like "2014.01-rc1" and used in
    makefiles and script files.

    The other is defined in include/generated/version.h
    It takes the form like "U-Boot 2014.01-rc1-00010-gbe6d426-dirty"
    and used in C and Aseembler.

    It is confusing when grepping the source tree. So, this commit
    renames the former to UBOOTVERSION.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

21 Feb, 2014

1 commit


20 Feb, 2014

6 commits

  • Conflicts:
    Makefile
    drivers/net/npe/Makefile

    These two conflicts arise from commit 0b2d3f20
    ("ARM: NET: Remove the IXP NPE ethernet driver") and are
    resolved by deleting the drivers/net/npe/Makefile file
    and removing the CONFIG_IXP4XX_NPE line from Makefile.

    Albert ARIBAUD
     
  • - Delete fs.xml from DOCBOOKS to fix an error.
    Commit e3ff797c added fs.xml to DOCBOOKS
    but missed to add doc/DocBook/fs.tmpl.
    - Fix the location of include guard in include/linker_lists.h.

    Signed-off-by: Masahiro Yamada
    Reported-by: Abraham Varricatt
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • tools/kernel-doc/docproc.c and tools/kernel-doc/kernel-doc are
    files imported from Linux Kernel.

    They originally resided under scripts/ directory in Linux Kernel.

    This commit moves them to the original location.

    Signed-off-by: Masahiro Yamada
    Acked-by: Simon Glass

    Masahiro Yamada
     
  • Now we are ready to switch over to real Kbuild.

    This commit disables temporary scripts:
    scripts/{Makefile.build.tmp, Makefile.host.tmp}
    and enables real Kbuild scripts:
    scripts/{Makefile.build,Makefile.host,Makefile.lib}.

    This switch is triggered by the line in scripts/Kbuild.include
    -build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build.tmp obj
    +build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj

    We need to adjust some build scripts for U-Boot.
    But smaller amount of modification is preferable.

    Additionally, we need to fix compiler flags which are
    locally added or removed.

    In Kbuild, it is not allowed to change CFLAGS locally.
    Instead, ccflags-y, asflags-y, cppflags-y,
    CFLAGS_$(basetarget).o, CFLAGS_REMOVE_$(basetarget).o
    are prepared for that purpose.

    Signed-off-by: Masahiro Yamada
    Tested-by: Gerhard Sittig

    Masahiro Yamada
     
  • This commit changes the working directory
    where the build process occurs.

    Before this commit, build process occurred under the source
    tree for both in-tree and out-of-tree build.

    That's why we needed to add $(obj) prefix to all generated
    files in makefiles like follows:
    $(obj)u-boot.bin: $(obj)u-boot

    Here, $(obj) is empty for in-tree build, whereas it points
    to the output directory for out-of-tree build.

    And our old build system changes the current working directory
    with "make -C " syntax when descending into the
    sub-directories.

    On the other hand, Kbuild uses a different idea
    to handle out-of-tree build and directory descending.

    The build process of Kbuild always occurs under the output tree.
    When "O=dir/to/store/output/files" is given, the build system
    changes the current working directory to that directory and
    restarts the make.

    Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj="
    syntax for descending into sub-directories.
    (We can write it like "make $(obj)=" with a shorthand.)
    This means the current working directory is always the top
    of the output directory.

    Signed-off-by: Masahiro Yamada
    Tested-by: Gerhard Sittig

    Masahiro Yamada
     

19 Feb, 2014

2 commits


18 Feb, 2014

1 commit


07 Feb, 2014

2 commits

  • With this change driver will benefit from existing phylib and thus
    custom phy functionality implemented in the driver will go away:
    * Instantiation of the driver is now much shorter - 2 parameters
    instead of 4.
    * Simplified phy management/functoinality in driver is replaced with
    rich functionality of phylib.
    * Support of custom phy initialization is now done with existing
    "board_phy_config".

    Note that after this change some previously used config options
    (driver-specific PHY configuration) will be obsolete and they are simply
    substituted with similar options of phylib.

    For example:
    * CONFIG_DW_AUTONEG - no need in this one. Autonegotiation is enabled
    by default.
    * CONFIG_DW_SEARCH_PHY - if one wants to specify attached phy
    explicitly CONFIG_PHY_ADDR board config option has to be used, otherwise
    automatically the first discovered on MDIO bus phy will be used

    I believe there's no need now in "doc/README.designware_eth" because
    user only needs to instantiate the driver with "designware_initialize"
    whose prototype exists in "include/netdev.h".

    Cc: Joe Hershberger
    Cc: Vipin Kumar
    Cc: Stefan Roese
    Cc: Mischa Jonker
    Cc: Shiraz Hashim
    Cc: Albert ARIBAUD
    Cc: Amit Virdi
    Cc: Sonic Zhang
    Signed-off-by: Alexey Brodkin

    Alexey Brodkin
     
  • Signed-off-by: Alexey Brodkin

    Cc: Vineet Gupta
    Cc: Francois Bedard
    Cc: Wolfgang Denk
    Cc: Heiko Schocher

    Alexey Brodkin
     

06 Feb, 2014

7 commits


04 Feb, 2014

1 commit


29 Jan, 2014

1 commit


25 Jan, 2014

1 commit