22 Jan, 2019

4 commits

  • In the two commits:
    cf3922dddc44a968685b535f2af195f1e51f4a7b
    mmc: ftsdc010_mci: Sync compatible with DT mmc node

    c14e90e8445e7b1c3531b4bdeb778c47bd6570eb
    riscv: dts: Sync DT with Linux Kernel

    ftsdc010_mci's compatible has been modified as
    "andestech,atfsdc010" for RISC-V synchronization.
    But ae3xx.dts and ag101p.dts which are used for
    nds32 adp-ae3xx and adp-ag101p platforms did not
    be modified correctly at that time. It will cause
    mmc detection failure. Fix it here.

    Signed-off-by: Rick Chen
    Cc: Greentime Hu

    Rick Chen
     
  • Add -mcmodel=large can let elf-mculib have
    the same default behavior just like linux-glibc.
    And it help to pass U-Boot booting sequence.

    Signed-off-by: Rick Chen
    Cc: Greentime Hu

    Rick Chen
     
  • Force it to generate SW fup instruction.
    It help to avoid bugs when running on no-HW-fpu board, but
    compile with v3f which support HW fpu instruction.

    Signed-off-by: Rick Chen
    Cc: Greentime Hu

    Rick Chen
     
  • -G0 is an old option, not support now,
    So remove it.
    It can help to fix compile error when
    build with nds32 pre-build toolchain.

    Signed-off-by: Rick Chen
    Cc: Greentime Hu

    Rick Chen
     

26 Nov, 2018

1 commit


18 Nov, 2018

1 commit

  • Introduce a new Makefile variable for passing LDFLAGS to standalone
    programs. Currently the variable CONFIG_STANDALONE_LOAD_ADDR is
    misued on some archs to pass a specific linker script.

    Signed-off-by: Daniel Schwierzeck
    Reviewed-by: Tom Rini
    Reviewed-by: Rick Chen

    Daniel Schwierzeck
     

26 Sep, 2018

1 commit


11 Sep, 2018

1 commit


16 May, 2018

2 commits

  • nds2 bitops.h provides a __clear_bit() but does not define
    PLATFORM__CLEAR_BIT as a result generic_clear_bit() is used instead of the
    architecturally provided __clear_bit().

    This patch defines PLATFORM__CLEAR_BIT which means that __clear_bit() in
    nds32 bitops.h will be called whenever generic_clear_bit() is called - as
    opposed to the default cross-platform generic_clear_bit().

    Signed-off-by: Bryan O'Donoghue
    Cc: Macpaul Lin

    Bryan O'Donoghue
     
  • nds32 bitops.h provides a __set_bit() but does not define PLATFORM__SET_BIT
    as a result generic_set_bit() is used instead of the architecturally
    provided __set_bit().

    This patch defines PLATFORM__SET_BIT which means that __set_bit() in nds32
    bitops.h will be called whenever generic_set_bit() is called - as opposed
    to the default cross-platform generic_set_bit().

    Signed-off-by: Bryan O'Donoghue
    Cc: Macpaul Lin

    Bryan O'Donoghue
     

07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

28 Apr, 2018

1 commit


30 Mar, 2018

2 commits


19 Feb, 2018

1 commit

  • Only ARM and in some configs MIPS really implement arch_fixup_fdt().
    Others just use the same boilerplate which is not good by itself,
    but what's worse if we try to build with disabled CONFIG_CMD_BOOTM
    and enabled CONFIG_OF_LIBFDT we'll hit an unknown symbol which was
    apparently implemented in arch/xxx/lib/bootm.c.

    Now with weak arch_fixup_fdt() right in image-fdt.c where it is
    used we get both items highlighted above fixed.

    Signed-off-by: Alexey Brodkin
    Cc: Daniel Schwierzeck
    Cc: Simon Glass
    Cc: York Sun
    Cc: Stefan Roese
    Reviewed-by: Tom Rini
    Reviewed-by: Daniel Schwierzeck

    Alexey Brodkin
     

30 Nov, 2017

1 commit


03 Oct, 2017

1 commit

  • Convert the nds32 architecture to make use of the new asm-generic/io.h
    to provide address mapping functions. As the generic implementations are
    suitable for nds32 this is primarily a matter of removing code.

    Feedback from architecture maintainers is welcome.

    Signed-off-by: Paul Burton
    Cc: Macpaul Lin

    Paul Burton
     

28 Sep, 2017

1 commit


21 Sep, 2017

3 commits


13 Sep, 2017

1 commit


16 Aug, 2017

1 commit

  • We are now using an env_ prefix for environment functions. Rename these
    two functions for consistency. Also add function comments in common.h.

    Quite a few places use getenv() in a condition context, provoking a
    warning from checkpatch. These are fixed up in this patch also.

    Suggested-by: Wolfgang Denk
    Signed-off-by: Simon Glass

    Simon Glass
     

05 Jun, 2017

2 commits


23 May, 2017

1 commit

  • Support Andestech eth ftmac100 device tree flow on AG101P/AE3XX platform.
    Verification:
    Boot linux kernel via dhcp and bootm ok.

    NDS32 # setenv bootm_size 0x2000000;setenv fdt_high 0x1f00000;
    NDS32 # dhcp 0x600000 10.0.4.97:boomimage-310y-ae300-spi.bin
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    DHCP client bound to address 10.0.4.178 (4899 ms)
    Using mac@e0100000 device
    TFTP from server 10.0.4.97; our IP address is 10.0.4.178
    Filename 'boomimage-310y-ae300-spi.bin'.
    Load address: 0x600000
    Loading: #################################################################
    #################################################################
    #################################################################
    ...
    ...
    ###################################
    233.4 KiB/s
    done
    Bytes transferred = 13872076 (d3abcc hex)
    NDS32 # dhcp 0x2000000 10.0.4.97:ae300.dtb
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    DHCP client bound to address 10.0.4.178 (4592 ms)
    Using mac@e0100000 device
    TFTP from server 10.0.4.97; our IP address is 10.0.4.178
    Filename 'ae300.dtb'.
    Load address: 0x2000000
    Loading: #
    82 KiB/s
    done
    Bytes transferred = 2378 (94a hex)
    NDS32 # bootm 0x600000 - 0x2000000
    Image Name:
    Created: 2017-03-22 6:52:03 UTC
    Image Type: NDS32 Linux Kernel Image (uncompressed)
    Data Size: 13872012 Bytes = 13.2 MiB
    Load Address: 0000c000
    Entry Point: 0000c000
    Verifying Checksum ... OK
    Booting using the fdt blob at 0x2000000
    Loading Kernel Image ... OK
    Loading Device Tree to 01efc000, end 01eff949 ... OK
    Linux version 3.10.102-20375-gb0034c1-dirty (rick@app09)
    (gcc version 4.9.3 (2016-07-06_nds32le-linux-glibc-v3_experimental) )
    #293 PREEMPT Wed Mar 22 14:49:28 CST 2017
    CPU: NDS32 N13, AndesCore ID(wb), CPU_VER 0x0d11103f(id 13, rev 17, cfg 4159)
    ...
    ...
    Signed-off-by: rick

    rick
     

22 May, 2017

3 commits


07 Apr, 2017

1 commit

  • With d53ecad92f06 some unused interrupt related code was removed.
    However all of these options are currently unused. Rather than migrate
    some of these options to Kconfig we just remove the code in question.

    The only related code changes here are that in some cases we use
    CONFIG_STACKSIZE in non-IRQ related context. In these cases we rename
    and move the value local to the code in question.

    Fixes: d53ecad92f06 ("Merge branch 'master' of git://git.denx.de/u-boot-sunxi")
    Signed-off-by: Tom Rini

    Tom Rini
     

29 Sep, 2016

1 commit


24 Sep, 2016

1 commit

  • Unlike Linux, nothing about errno.h is arch-specific in U-Boot.
    As you see, all of arch/${ARCH}/include/asm/errno.h is just a
    wrapper of . Actually, U-Boot does not
    export headers to user-space, so we just have to care about the
    consistency in the U-Boot tree.

    Now all of include directives for are gone.
    Deprecate .

    Signed-off-by: Masahiro Yamada
    Acked-by: Alexey Brodkin

    Masahiro Yamada
     

15 Jul, 2016

1 commit


06 Feb, 2016

1 commit

  • Correct spelling of "U-Boot" shall be used in all written text
    (documentation, comments in source files etc.).

    Signed-off-by: Bin Meng
    Reviewed-by: Heiko Schocher
    Reviewed-by: Simon Glass
    Reviewed-by: Minkyu Kang

    Bin Meng
     

21 Jan, 2016

1 commit


05 Nov, 2015

1 commit


28 Aug, 2015

2 commits


13 May, 2015

1 commit

  • By making the board selections optional, every defconfig will include
    the board selection when running savedefconfig so if a new board is
    added to the top of the list of choices the former top's defconfig will
    still be correct.

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

    Joe Hershberger
     

19 Apr, 2015

1 commit

  • This value is not used by the network stack and is available in the
    global data, so stop passing it around. For the one legacy function
    that still expects it (init op on old Ethernet drivers) pass in the
    global pointer version directly to avoid changing that interface.

    Signed-off-by: Joe Hershberger
    Reported-by: Simon Glass
    Reviewed-by: Simon Glass
    Signed-off-by: Simon Glass
    (Trival fix to remove an unneeded variable declaration in 4xx_enet.c)

    Joe Hershberger