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

2 commits


13 Sep, 2017

1 commit


05 Jun, 2017

1 commit


22 May, 2017

2 commits


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


09 Feb, 2015

1 commit


13 May, 2014

1 commit

  • gd->bd->bi_baudrate is a copy of gd->baudrate.

    Since baudrate is a common feature for all architectures,
    keep gd->baudrate only.

    It is true that bi_baudrate was passed to the kernel in that structure
    but it was a long time ago.

    Signed-off-by: Masahiro Yamada
    Cc: Tom Rini
    Cc: Simon Glass
    Cc: Wolfgang Denk
    Cc: Heiko Schocher
    Acked-by: Michal Simek (For microblaze)

    Masahiro Yamada
     

09 Aug, 2013

1 commit

  • U-Boot does not compile for the adp-ag101 boards since
    commit a8f9cd1893bef05b92f63242228607b45821c4a7
    (net: update FTGMAC100 for MMU/D-cache support)

    The driver assumes that the DMA allocation API are provided by all
    architectures. This is not the case for nds32 and it causes a
    build error. This patch adds DMA allocation API to avoid the errors.

    Signed-off-by: Kuan-Yu Kuo
    Cc: Macpaul Lin
    Cc: Andes
    Signed-off-by: Andes

    ken kuo
     

25 Jul, 2013

2 commits


24 Jul, 2013

3 commits

  • Signed-off-by: Wolfgang Denk
    [trini: Fixup common/cmd_io.c]
    Signed-off-by: Tom Rini

    Wolfgang Denk
     
  • Add a header file, setup.h, which copy from Linux source code,
    this file contain structures are used to pass initialisation parameters
    to Linux. Enable this function on adp-ag101/adp-ag101p target

    Signed-off-by: Kuan-Yu Kuo
    Cc: Macpaul Lin

    ken kuo
     
  • U-Boot does not compile for the adp-ag101 boards since
    commit f6c3b34697bf8bf05cb4e81c2fd3cadb9a98daea (mmc:
    update Faraday FTSDC010 for rw performance)

    The driver assumes that the bit manipulation macros
    are provided by all architectures. This is not the
    case for nds32 and it causes a build error like this:

    ftsdc010_mci.c: In function 'ftsdc010_clkset':
    ftsdc010_mci.c:118: warning: implicit declaration of function 'setbits_le32'
    ftsdc010_mci.c:123: warning: implicit declaration of function 'clrbits_le32'
    drivers/mmc/libmmc.o: In function `ftsdc010_request':
    /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:234: undefined reference to `setbits_le32'
    /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:243: undefined reference to `clrbits_le32'
    /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:234: undefined reference to `clrbits_le32'
    drivers/mmc/libmmc.o: In function `ftsdc010_clkset':
    /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:118: undefined reference to `clrbits_le32'
    /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:118: undefined reference to `clrbits_le32'
    /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:121: undefined reference to `setbits_le32'
    /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:123: undefined reference to `setbits_le32'
    /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:123: undefined reference to `setbits_le32'

    The patch adds bit manipulation macros for the
    nds32 architecture to avoid the errors. The macros
    are copied from the ARM implementation.

    Compile tested only.

    Cc: Kuo-Jung Su
    Cc: Macpaul Lin
    Signed-off-by: Gabor Juhos

    Gabor Juhos
     

08 May, 2013

1 commit


16 Mar, 2013

3 commits

  • We can use the declarations of __bss_start and _end from this header
    instead of declaring them locally.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • 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
     
  • Note this is a tree-wide change affecting multiple architectures.

    At present we use __bss_start, but mostly __bss_end__. This seems
    inconsistent and in a number of places __bss_end is used instead.

    Change to use __bss_end for the BSS end symbol throughout U-Boot. This
    makes it possible to use the asm-generic/sections.h file on all
    archs.

    Signed-off-by: Simon Glass

    Simon Glass
     

18 Feb, 2013

1 commit


04 Feb, 2013

1 commit


02 Feb, 2013

2 commits


20 Oct, 2012

1 commit


11 Aug, 2012

1 commit


10 Aug, 2012

1 commit


16 May, 2012

1 commit

  • This field gets read in one place (by "bdinfo"), and we can replace
    that with getenv("ipaddr"). After all, the bi_ip_addr field is kept
    up-to-date implicitly with the value of the ipaddr env var.

    Signed-off-by: Mike Frysinger
    Reviewed-by: Joe Hershberger

    Mike Frysinger
     

22 Apr, 2012

1 commit


19 Mar, 2012

1 commit


28 Feb, 2012

1 commit


18 Nov, 2011

1 commit