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
28 Sep, 2017
1 commit
-
It is caused from asm/io.h declare different input type.
Signed-off-by: rick
21 Sep, 2017
2 commits
-
Enable cache and ftmac100 performance can be improved.
Signed-off-by: rick
-
move #include from bootm.c to bootm.h
Signed-off-by: rick
13 Sep, 2017
1 commit
-
Import include/linux/dma-direction.h from Linux 4.13-rc7 and delete
duplicated definitions of enum dma_data_direction.Signed-off-by: Masahiro Yamada
Reviewed-by: Andy Shevchenko
05 Jun, 2017
1 commit
-
Rather than including this arch-specific header file in common.h, include
it from within nds32's u-boot.h header.Signed-off-by: Simon Glass
22 May, 2017
2 commits
-
Support Andestech AE3xx platform: serial, timer device tree flow.
Signed-off-by: rick
-
Support AG101P serial device tree flow.
Signed-off-by: rick
29 Sep, 2016
1 commit
-
Enable pie option for relocation.
Signed-off-by: rick
Cc: Andes
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
15 Jul, 2016
1 commit
-
These defines are valid only when iomem_valid_addr is defined,
but I do not see such defines anywhere. Remove.Signed-off-by: Masahiro Yamada
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
21 Jan, 2016
1 commit
-
Fix compile error with gcc 4.9.3
Signed-off-by: rick
Cc: Andes
05 Nov, 2015
1 commit
-
The generic bitops headers are required when calling logarithmic
functions, such as ilog2().Signed-off-by: Fabio Estevam
Reviewed-by: Jagan Teki
28 Aug, 2015
2 commits
-
Remove ag101 and ag102 support
Signed-off-by: Kun-Hua Huang
-
Add nds32 ag101p generic board support.
Signed-off-by: Kun-Hua Huang
09 Feb, 2015
1 commit
-
Signed-off-by: Michal Simek
Reviewed-by: Simon Glass
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)
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
25 Jul, 2013
2 commits
-
Signed-off-by: Tom Rini
24 Jul, 2013
3 commits
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini -
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 targetSigned-off-by: Kuan-Yu Kuo
Cc: Macpaul Lin -
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
08 May, 2013
1 commit
-
Include this header to get access to link symbols, which are otherwise
removed.Signed-off-by: Kuan-Yu Kuo
Cc: Macpaul Lin
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
-
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 -
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
18 Feb, 2013
1 commit
-
This is available on other architectures, and nds32 will start to break
without it as code starts to use error numbers more.Signed-off-by: Simon Glass
04 Feb, 2013
1 commit
-
Move nds32 over to use generic global_data.
Signed-off-by: Simon Glass
02 Feb, 2013
2 commits
-
This field doesn't appear to be used for anything important, so drop it.
Signed-off-by: Simon Glass
-
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
20 Oct, 2012
1 commit
-
This doesn't need to be a long, so change it.
Also adjust bi_baudrate to be unsigned.
Signed-off-by: Simon Glass
Signed-off-by: Tom Rini
11 Aug, 2012
1 commit
-
Nothing is using this, so punt it from the gd. Seems to just be a copy
& paste wart from the initial port.Signed-off-by: Mike Frysinger
10 Aug, 2012
1 commit
-
All the global flag defines are the same across all arches. So unify them
in one place, and add a simple way for arches to extend for their needs.Signed-off-by: Mike Frysinger
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
22 Apr, 2012
1 commit
-
Add device address offsets header of ag102 soc.
Add ag102 into mach-types.h.
Add asm-offsets.c for helping convert C headers into asm.Signed-off-by: Macpaul Lin
19 Mar, 2012
1 commit
-
Fix ptrace and interrupt register overflow warning.
Add missing P0 and P1 (r26 and r27) into register lists.
These register are usually used in OS.Signed-off-by: Macpaul Lin
28 Feb, 2012
1 commit
-
Add linkage support.
Signed-off-by: Macpaul Lin
18 Nov, 2011
1 commit
-
Enhance io.h for periphals origin design on x86 systems.
For example, pci, ide, etc.Signed-off-by: Macpaul Lin