04 Feb, 2014

3 commits


18 Nov, 2013

1 commit


09 Nov, 2013

1 commit

  • Linux Kernel abolished include/linux/config.h long time ago.
    (around version v2.6.18..v2.6.19)

    We don't need to provide Linux copatibility any more.

    This commit deletes include/linux/config.h
    and fixes source files not to include this.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

01 Nov, 2013

1 commit


16 Oct, 2013

1 commit

  • The patch:
    "blackfin: Move blackfin watchdog driver out of the blackfin arch folder."
    (sha1: e9a389a18477c1c57a0b30e9ea8f4d38c6e26e63)
    changed hw_watchdog_init() prototype which didn't match
    with Microblaze one.
    This patch fixes the driver and Microblaze initialization.

    Signed-off-by: Michal Simek

    Michal Simek
     

15 Oct, 2013

2 commits


08 Aug, 2013

1 commit


03 Aug, 2013

1 commit


24 Jul, 2013

1 commit


17 Jul, 2013

1 commit


02 Jul, 2013

1 commit

  • Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It
    requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before
    calling it again with flag set to BOOTM_STATE_OS_GO.
    Fix this by allowing flag set to BOOTM_STATE_OS_PREP, this however will
    require a complete refactoring later on.

    Signed-off-by: Andreas Bießmann
    [trini: Apply to m68k, microblaze, nds32, nios2, openrisc, sh and sparc]
    Signed-off-by: Tom Rini

    Andreas Bießmann
     

26 Jun, 2013

1 commit

  • At present the arguments to bootm are processed in a somewhat confusing
    way. Sub-functions must know how many arguments their calling functions
    have processed, and the OS boot function must also have this information.
    Also it isn't obvious that 'bootm' and 'bootm start' provide arguments in
    the same way.

    Adjust the code so that arguments are removed from the list before calling
    a sub-function. This means that all functions can know that argv[0] is the
    first argument of which they need to take notice.

    Signed-off-by: Simon Glass

    Simon Glass
     

09 May, 2013

3 commits

  • Microblaze uses gpio which is connected to the system reset.
    Currently gpio subsystem wasn't used for it.

    Add gpio driver and change Microblaze reset logic to be done
    via gpio subsystem.

    There are various configurations which Microblaze can have
    that's why gpio_alloc/gpio_alloc_dual(for dual channel)
    function has been introduced and gpio can be allocated
    dynamically.

    Adding several gpios IP is also possible and supported.

    For listing gpio configuration please use "gpio status" command

    This patch also remove one compilation warning:
    microblaze-generic.c: In function 'do_reset':
    microblaze-generic.c:38:47: warning: operation on '*1073741824u'
    may be undefined [-Wsequence-point]

    Signed-off-by: Michal Simek

    Michal Simek
     
  • fdt_initrd add additional information to DTB about initrd
    addresses which are later used by kernel.

    Signed-off-by: Michal Simek

    Michal Simek
     
  • Prepare place for new patch.

    Signed-off-by: Michal Simek

    Michal Simek
     

02 May, 2013

2 commits


30 Apr, 2013

1 commit


19 Mar, 2013

1 commit

  • Albert's rework of the linker scripts conflicted with Simon's making
    everyone use __bss_end. We also had a minor conflict over
    README.scrapyard being added to in mainline and enhanced in
    u-boot-arm/master with proper formatting.

    Conflicts:
    arch/arm/cpu/ixp/u-boot.lds
    arch/arm/cpu/u-boot.lds
    arch/arm/lib/Makefile
    board/actux1/u-boot.lds
    board/actux2/u-boot.lds
    board/actux3/u-boot.lds
    board/dvlhost/u-boot.lds
    board/freescale/mx31ads/u-boot.lds
    doc/README.scrapyard
    include/configs/tegra-common.h

    Build tested for all of ARM and run-time tested on am335x_evm.

    Signed-off-by: Tom Rini

    Tom Rini
     

16 Mar, 2013

1 commit

  • We create a separate header file for link symbols defined by the link
    scripts. It is helpful to have these all in one place and try to
    make them common across architectures. Since Linux already has a similar
    file, we bring this in even though many of the symbols there are not
    relevant to us.

    Each architecture has its own asm/sections.h where symbols specifc to
    that architecture can be added. For now everything except AVR32 just
    includes the generic header.

    One change is needed in arch/avr32/lib/board.c to make this conversion
    work.

    Reviewed-by: Tom Rini (version 5)
    Signed-off-by: Simon Glass

    Simon Glass
     

13 Mar, 2013

1 commit

  • Refactor linker-generated array code so that symbols
    which were previously linker-generated are now compiler-
    generated. This causes relocation records of type
    R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
    code which uses LGA able to run before relocation as
    well as after.

    Note: this affects more than ARM targets, as linker-
    lists span possibly all target architectures, notably
    PowerPC.

    Conflicts:
    arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
    arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
    arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
    board/ait/cam_enc_4xx/u-boot-spl.lds
    board/davinci/da8xxevm/u-boot-spl-da850evm.lds
    board/davinci/da8xxevm/u-boot-spl-hawk.lds
    board/vpac270/u-boot-spl.lds

    Signed-off-by: Albert ARIBAUD

    Albert ARIBAUD
     

04 Feb, 2013

3 commits


02 Feb, 2013

1 commit

  • We plan to move architecture-specific data into a separate structure so
    that we can make the rest of it common.

    As a first step, create struct arch_global_data to hold these fields.
    Initially it is empty.

    This patch applies to all archs at once. I can split it if this is really
    a pain.

    Signed-off-by: Simon Glass

    Simon Glass
     

14 Dec, 2012

1 commit


08 Nov, 2012

5 commits

  • Microblaze platform can use CONFIG_OF_EMBED option
    but also it is necessary to support boards
    which don't want to use this option.
    U-Boot doesn't compile dts/libdts.o for #undef CONFIG_OF_EMBED
    case that's why it should be guarded by ifdef.

    Signed-off-by: Michal Simek

    Michal Simek
     
  • The patch
    "include/linux/byteorder: import latest endian definitions from linux"
    (sha1: eef1cf2d5cf1cae5fb76713e912263dedf110aeb)

    Introduced a lot of compilation failures with unknow types.
    include/linux/byteorder/big_endian.h:45:1: error: unknown type name '__le64'
    include/linux/byteorder/big_endian.h: In function '__cpu_to_le64p':
    include/linux/byteorder/big_endian.h:47:18: error: '__le64' undeclared (first use in this function)
    include/linux/byteorder/big_endian.h:47:18: note: each undeclared identifier is reported only once for each function it appears in
    include/linux/byteorder/big_endian.h:47:25: error: expected ';' before '__swab64p'
    include/linux/byteorder/big_endian.h: At top level:
    include/linux/byteorder/big_endian.h:49:1: error: unknown type name '__le64'
    include/linux/byteorder/big_endian.h:53:1: error: unknown type name '__le32'
    include/linux/byteorder/big_endian.h: In function '__cpu_to_le32p':
    include/linux/byteorder/big_endian.h:55:18: error: '__le32' undeclared (first use in this function)
    include/linux/byteorder/big_endian.h:55:25: error: expected ';' before '__swab32p'
    include/linux/byteorder/big_endian.h: At top level:
    include/linux/byteorder/big_endian.h:57:1: error: unknown type name '__le32'
    include/linux/byteorder/big_endian.h:61:1: error: unknown type name '__le16'
    ...

    Removing asm/bitops.h solved this problem.

    Signed-off-by: Michal Simek

    Michal Simek
     
  • Flushing caches is necessary because of soft reset
    which doesn't clear caches.

    Signed-off-by: Michal Simek
    Reviewed-by: Marek Vasut

    Michal Simek
     
  • Just remove ancient code.

    Signed-off-by: Michal Simek
    Acked-by: Stephan Linz
    Reviewed-by: Marek Vasut

    Michal Simek
     
  • ext2_find_next_zero_bit must be also static if __swab32 is also static.

    Warning:
    include/asm/bitops.h:369:22: warning: '__fswab32' is static but
    used in inline function 'ext2_find_next_zero_bit'
    which is not static [enabled by default]

    Signed-off-by: Michal Simek
    Acked-by: Stephan Linz

    Michal Simek
     

22 Oct, 2012

2 commits

  • The command declaration now uses the new LG-array method to generate
    list of commands. Thus the __u_boot_cmd section is now superseded and
    redundant and therefore can be removed. Also, remove externed symbols
    associated with this section from include/command.h .

    Signed-off-by: Marek Vasut
    Cc: Joe Hershberger
    Cc: Mike Frysinger

    Marek Vasut
     
  • Add section for the linker-generated lists into all possible linker
    files, so that everyone can easily use these lists. This is mostly
    a mechanical adjustment.

    Signed-off-by: Marek Vasut
    Cc: Joe Hershberger
    Cc: Mike Frysinger

    Marek Vasut
     

20 Oct, 2012

1 commit


16 Oct, 2012

1 commit


11 Sep, 2012

2 commits