There is a missing in previous
commit 951344b778d6ac67b94011d942a5a55da7202027
(nds32: Convert Makefiles to use COBJS-y style)
will cause compile error.
Signed-off-by: Kuan-Yu Kuo
Cc: Macpaul Lin
Cc: Andes
---
board/AndesTech/adp-ag102/Makefile |2 +-
1 file changed, 1 insertion(+), 1
patch adds DMA allocation API to avoid the errors.
Signed-off-by: Kuan-Yu Kuo
Cc: Macpaul Lin
Cc: Andes
---
arch/nds32/include/asm/dma-mapping.h | 33 +
1 file changed, 33 insertions(+)
create mode 100644 arch/nds32/include/asm/dma-mapping.h
diff --git a
Hi all,
2013/7/31 Macpaul Lin :
> Hi,
>
> Here is a short announcement about a change in the U-boot NDS32 custodian.
>
> I have no longer working in Andes Technology Corporation and cannot
> provide the community the best support on NDS32 architecture.
> Kuan-Yu Kuo (a.k.a.
Signed-off-by: Kuan-Yu Kuo
Cc: Macpaul Lin
---
arch/nds32/cpu/n1213/Makefile |4 ++--
arch/nds32/cpu/n1213/ag101/Makefile |8
arch/nds32/cpu/n1213/ag102/Makefile |8
arch/nds32/lib/Makefile |9 ++---
board/AndesTech/adp-ag101/Makefile
Some version of Andes core support FPU coprocessor,
if this is the case, and toolchain support FPU instruction set,
we should enable it at low level initialization time.
Signed-off-by: Kuan-Yu Kuo
Cc: Macpaul Lin
---
Change for v2:
- Add compile option to determine if current used toolchain
Some version of Andes core support FPU coprocessor, if this is the case,
we should enable it at low level initialization time.
Signed-off-by: Kuan-Yu Kuo
Cc: Macpaul Lin
---
arch/nds32/cpu/n1213/ag101/lowlevel_init.S | 22 ++
arch/nds32/cpu/n1213/ag102/lowlevel_init.S
"lastdec" and "now" should be in millisecond,
I think divided by 1024 is just for this purpose, but use CONFIG_SYS_HZ to
replace 1024 would be better.
so the correct should be:
lastdec = readl(&tmr->timer3_counter) / (CONFIG_SYS_CLK_FREQ / 2 /
C
Add clrbits_* setbits_* clrsetbits_* for peripheral drivers
Signed-off-by: Kuan-Yu Kuo
Cc: Macpaul Lin
---
arch/nds32/include/asm/io.h | 38 ++
1 file changed, 38 insertions(+)
diff --git a/arch/nds32/include/asm/io.h b/arch/nds32/include/asm/io.h
index
Signed-off-by: Kuan-Yu Kuo
Cc: Macpaul Lin
---
include/configs/adp-ag101.h |2 ++
include/configs/adp-ag101p.h |2 ++
2 files changed, 4 insertions(+)
diff --git a/include/configs/adp-ag101.h b/include/configs/adp-ag101.h
index 1b84b04..85dbad2 100644
--- a/include/configs/adp-ag101.h
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
---
arch/nds32/include/asm/setup.h | 192
The original adp-ag101/adp-ag101p initialize only one bank(64MB)
by default at boot time, but it is not enough for some application,
so increasing to two banks(128M).
Signed-off-by: Kuan-Yu Kuo
Cc: Macpaul Lin
---
arch/nds32/cpu/n1213/ag101/lowlevel_init.S |6 +-
board/AndesTech/adp
11 matches
Mail list logo