Re: [PATCH v5 1/2] arm: mediatek: add mt8195 SOC support

2023-11-11 Thread Macpaul Lin
.gitlab.io/aiot/doc/aiot-dev-guide/master/sw/yocto/get-started/build-code/build-steps.html The latest u-boot code is here. https://gitlab.com/mediatek/aiot/bsp/u-boot/-/tree/mtk-v2022.10?ref_type=heads -- Best regards, Macpaul Lin

[PATCH v5 2/2] board: mediatek: add mt8195 demo board

2023-08-04 Thread Macpaul Lin
From: Fabien Parent Add mt8195-demo board support. This demo purpose board uses MediaTek's MT8195 SoC. Signed-off-by: Fabien Parent Signed-off-by: Amjad Ouled-Ameur Signed-off-by: Macpaul Lin --- MAINTAINERS | 1 + arch/arm/dts/Makefile | 1 + arch

[PATCH v5 1/2] arm: mediatek: add mt8195 SOC support

2023-08-04 Thread Macpaul Lin
-by: Macpaul Lin --- MAINTAINERS| 2 + arch/arm/dts/mt8195.dtsi | 370 + arch/arm/mach-mediatek/Kconfig | 13 +- arch/arm/mach-mediatek/Makefile| 1 + arch/arm/mach-mediatek/mt8195/Kconfig | 13 + arch/arm/mach

[PATCH v4 1/2] arm: mediatek: add mt8195 SOC support

2022-12-18 Thread Macpaul Lin
-by: Macpaul Lin --- MAINTAINERS| 2 + arch/arm/dts/mt8195.dtsi | 370 + arch/arm/mach-mediatek/Kconfig | 13 +- arch/arm/mach-mediatek/Makefile| 1 + arch/arm/mach-mediatek/mt8195/Makefile | 3 + arch/arm/mach

[PATCH v4 2/2] board: mediatek: add mt8195 demo board

2022-12-18 Thread Macpaul Lin
From: Fabien Parent Add mt8195-demo board support. This demo purpose board uses MediaTek's MT8195 SoC. Signed-off-by: Fabien Parent Signed-off-by: Amjad Ouled-Ameur Signed-off-by: Macpaul Lin --- MAINTAINERS | 1 + arch/arm/dts/Makefile | 1 + arch

Re: [PATCH v3 2/2] board: mediatek: add mt8195 demo board

2022-12-18 Thread Macpaul Lin
On 12/13/22 03:02, Tom Rini wrote: On Mon, Dec 12, 2022 at 01:53:05PM -0500, Tom Rini wrote: On Mon, Dec 12, 2022 at 11:53:04AM -0500, Tom Rini wrote: On Thu, Nov 10, 2022 at 03:34:53PM +0800, Macpaul Lin wrote: From: Fabien Parent Add mt8195-demo board support. This demo purpose board

[PATCH v3 1/2] arm: mediatek: add mt8195 SOC support

2022-11-09 Thread Macpaul Lin
-by: Macpaul Lin --- MAINTAINERS| 2 + arch/arm/dts/mt8195.dtsi | 370 + arch/arm/mach-mediatek/Kconfig | 13 +- arch/arm/mach-mediatek/Makefile| 1 + arch/arm/mach-mediatek/mt8195/Makefile | 3 + arch/arm

[PATCH v3 2/2] board: mediatek: add mt8195 demo board

2022-11-09 Thread Macpaul Lin
From: Fabien Parent Add mt8195-demo board support. This demo purpose board uses MediaTek's MT8195 SoC. Signed-off-by: Fabien Parent Signed-off-by: Amjad Ouled-Ameur Signed-off-by: Macpaul Lin --- MAINTAINERS | 1 + arch/arm/dts/Makefile | 1 + arch

[PATCH v2 2/2] board: mediatek: add mt8195 demo board

2022-11-09 Thread Macpaul Lin
From: Fabien Parent Add mt8195-demo board support. This demo purpose board uses MediaTek's MT8195 SoC. Signed-off-by: Fabien Parent Signed-off-by: Amjad Ouled-Ameur Signed-off-by: Macpaul Lin --- MAINTAINERS | 1 + arch/arm/dts/Makefile | 1 + arch

[PATCH v2 1/2] arm: mediatek: add mt8195 SOC support

2022-11-09 Thread Macpaul Lin
-by: Macpaul Lin --- MAINTAINERS| 2 + arch/arm/dts/mt8195.dtsi | 370 + arch/arm/mach-mediatek/Kconfig | 13 +- arch/arm/mach-mediatek/Makefile| 1 + arch/arm/mach-mediatek/mt8195/Makefile | 3 + arch/arm

Re: [PATCH 1/2] arm: mediatek: add mt8195 SOC support

2022-11-09 Thread Macpaul Lin
On 11/9/22 15:32, Macpaul Lin wrote: On 11/9/22 10:07, Chunfeng Yun (云春峰) wrote: On Tue, 2022-11-08 at 11:21 +0800, Macpaul Lin wrote: From: Fabien Parent The MediaTek MT8195 is a ARM64-based SoC with a quad-core Cortex-A73 and a quad-core Cortex-A53. It is including UART, SPI, USB3.0

Re: [PATCH 1/2] arm: mediatek: add mt8195 SOC support

2022-11-08 Thread Macpaul Lin
On 11/9/22 10:07, Chunfeng Yun (云春峰) wrote: On Tue, 2022-11-08 at 11:21 +0800, Macpaul Lin wrote: From: Fabien Parent The MediaTek MT8195 is a ARM64-based SoC with a quad-core Cortex-A73 and a quad-core Cortex-A53. It is including UART, SPI, USB3.0 device and hosts, SD and MMC cards, UFS

Re: [PATCH 1/2] arm: mediatek: add mt8195 SOC support

2022-11-08 Thread Macpaul Lin
reviewing activities of MediaTek platforms, please let us know. [deleted] Thanks! Macpaul Lin

[PATCH 1/2] arm: mediatek: add mt8195 SOC support

2022-11-08 Thread Macpaul Lin
-by: Macpaul Lin --- MAINTAINERS| 2 + arch/arm/dts/mt8195.dtsi | 317 + arch/arm/mach-mediatek/Kconfig | 13 +- arch/arm/mach-mediatek/Makefile| 1 + arch/arm/mach-mediatek/mt8195/Makefile | 3 + arch/arm/mach

[PATCH 2/2] board: mediatek: add mt8195 demo board

2022-11-08 Thread Macpaul Lin
From: Fabien Parent Add mt8195-demo board support. This demo purpose board uses MediaTek's MT8195 SoC. Signed-off-by: Fabien Parent Signed-off-by: Amjad Ouled-Ameur Signed-off-by: Macpaul Lin --- MAINTAINERS | 1 + arch/arm/dts/Makefile | 1 + arch

[U-Boot] Change of NDS32 Custodian

2013-07-31 Thread Macpaul Lin
will be changed to ub...@andestech.com. Ken will send the patchwork permission request, patches to MAINTAINERS file, and update the U-boot Wiki later. Thanks all! Best Regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] Pull request: u-boot-nds32

2013-07-25 Thread Macpaul Lin
Hi Tom 2013/7/24 Macpaul Lin macp...@gmail.com: Hi Tom, Please pull the following patch from u-boot-nds32 into your tree. Thanks! Because of there are new patches and compile error fix, please ignore this pull-request. I'll review those new patches and resend this pull-request later. Thanks

[U-Boot] Pull request v2: u-boot-nds32

2013-07-25 Thread Macpaul Lin
, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] nds32: Update asm/io.h and asm/setup.h with SPDX license identifiers

2013-07-25 Thread Macpaul Lin
Hi Tom, 2013/7/24 Tom Rini tr...@ti.com: Signed-off-by: Tom Rini tr...@ti.com --- arch/nds32/include/asm/io.h|4 +--- arch/nds32/include/asm/setup.h |4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) Applied to u-boot-nds32. Thanks! -- Best regards, Macpaul Lin

Re: [U-Boot] [PATCH] nds32: Convert Makefiles to use COBJS-y style

2013-07-25 Thread Macpaul Lin
Hi Kuan-Yu, 2013/7/25 Kuan-Yu Kuo ken.ku...@gmail.com: Signed-off-by: Kuan-Yu Kuo ken.ku...@gmail.com Cc: Macpaul Lin macp...@gmail.com --- arch/nds32/cpu/n1213/Makefile |4 ++-- arch/nds32/cpu/n1213/ag101/Makefile |8 arch/nds32/cpu/n1213/ag102/Makefile |8

Re: [U-Boot] [PATCH v2] nds32: Enable FPU if the version of CPU supported

2013-07-25 Thread Macpaul Lin
Hi Kuan-Yu, 2013/7/25 Kuan-Yu Kuo ken.ku...@gmail.com: 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 ken.ku...@gmail.com Cc: Macpaul Lin

[U-Boot] Pull request: u-boot-nds32

2013-07-23 Thread Macpaul Lin
Hi Tom, Please pull the following patch from u-boot-nds32 into your tree. Thanks! The following changes since commit 62c175fbb8a0f9a926c88294ea9f7e88eb898f6c: Prepare v2013.07 (2013-07-23 07:58:13 -0400) are available in the git repository at: git://git.denx.de/u-boot-nds32.git master

Re: [U-Boot] [PATCH 1/6] nds32: introduce macros for bit manipulation

2013-07-23 Thread Macpaul Lin
. This is not the case for nds32 and it causes a build error like this: Applied to u-boot-nds32/master Thanks for your help! -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/6] block: constify sect_buf argument of ide_write_data

2013-07-23 Thread Macpaul Lin
Hi Gabor, 2013/5/26 Gabor Juhos juh...@openwrt.org: Add a const keyword to the sect_buf argument of ide_write_data to fix the following warning: Applied to u-boot-nds32/master Thanks for your help! -- Best regards, Macpaul Lin ___ U-Boot mailing

Re: [U-Boot] [PATCH 4/6] pci: add prototype for pci_ftpci_init() function

2013-07-23 Thread Macpaul Lin
-boot-nds32/master Thanks for your help! -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 6/6] nds32: adp-ag102: use 'faraday/ftpci100.h' for pci_ftpci_init

2013-07-23 Thread Macpaul Lin
the 'faraday/ftpci100.h' header which provides the proper declaration and remove the local declaration to get rid of the warning. Compile tested only. Applied to u-boot-nds32/master Thanks for your help! -- Best regards, Macpaul Lin ___ U-Boot mailing list U

Re: [U-Boot] [PATCH 5/6] pci: move pci_ftpci100.h to include/faraday/ftpci100.h

2013-07-23 Thread Macpaul Lin
. Applied to u-boot-nds32/master Thanks for your help! -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] nds32: ag101/ag102: Fix setting lastdec and now values

2013-07-23 Thread Macpaul Lin
, Applied to u-boot-nds32/master Thanks for your help! -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/4] nds32: Enable two banks of SDRAM on Andes board

2013-07-23 Thread Macpaul Lin
Hi Kuan-YU 2013/6/8 Kuan-Yu Kuo ken.ku...@gmail.com: 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 ken.ku...@gmail.com Cc: Macpaul Lin macp

Re: [U-Boot] [PATCH 2/4] nds32: Add bitwise operation macros for drivers

2013-07-23 Thread Macpaul Lin
Hi Kuan-Yu, 2013/6/8 Kuan-Yu Kuo ken.ku...@gmail.com: Add clrbits_* setbits_* clrsetbits_* for peripheral drivers Signed-off-by: Kuan-Yu Kuo ken.ku...@gmail.com Cc: Macpaul Lin macp...@gmail.com --- arch/nds32/include/asm/io.h | 38 ++ 1 file changed

Re: [U-Boot] [PATCH 3/4] nds32: Enable SDIO and EXT2 command support for Andes board

2013-07-23 Thread Macpaul Lin
Hi Kuan-Yu, 2013/6/8 Kuan-Yu Kuo ken.ku...@gmail.com: Signed-off-by: Kuan-Yu Kuo ken.ku...@gmail.com Cc: Macpaul Lin macp...@gmail.com Applied to u-boot-nds32/master Thanks for your help! -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH 4/4] nds32: Enable the function of passing parameters to Linux

2013-07-23 Thread Macpaul Lin
...@gmail.com Cc: Macpaul Lin macp...@gmail.com Applied to u-boot-nds32/master Thanks for your help! -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/4] nds32: Add bitwise operation macros for drivers

2013-07-23 Thread Macpaul Lin
Hi Kuan-Yu, 2013/7/24 Macpaul Lin macp...@gmail.com: Hi Kuan-Yu, 2013/6/8 Kuan-Yu Kuo ken.ku...@gmail.com: Add clrbits_* setbits_* clrsetbits_* for peripheral drivers Signed-off-by: Kuan-Yu Kuo ken.ku...@gmail.com Cc: Macpaul Lin macp...@gmail.com --- arch/nds32/include/asm/io.h | 38

Re: [U-Boot] [PATCH] nds32: Enable FPU if the version of CPU supported

2013-07-23 Thread Macpaul Lin
, hence I think to keep the most Error-Proof protection will be better. Thanks. -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] nds32: Use sections header to obtain link symbols

2013-05-07 Thread Macpaul Lin
Hi Ken, 2013/4/24 ken kuo ken.ku...@gmail.com From: Kuan-Yu Kuo ken.ku...@gmail.com Include this header to get access to link symbols, which are otherwise removed. Signed-off-by: Kuan-Yu Kuo ken.ku...@gmail.com Cc: Macpaul Lin macp...@gmail.com This link script fix has been applied to u

[U-Boot] Pull request: u-boot-nds32

2013-05-07 Thread Macpaul Lin
sections header to obtain link symbols arch/nds32/include/asm/u-boot-nds32.h | 5 - arch/nds32/lib/board.c| 3 ++- 2 files changed, 2 insertions(+), 6 deletions(-) -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [GIT PULL] Please pull u-boot-nds32/master into your branch

2013-02-17 Thread Macpaul Lin
Hi Tom, Please pull a bug fix for the missing of including header which cause broken on NDS32 (board adp-ag102). Thanks, Macpaul Lin The following changes since commit ea6bd08b7717bf0d3f69ad9f016bf3b03b3eaf16: nds32: Add a basic errno.h (2013-02-18 15:29:07 +0800) are available in the git

Re: [U-Boot] [PATCH] nds32: Add a basic errno.h

2013-02-17 Thread Macpaul Lin
insertions(+), 0 deletions(-) create mode 100644 arch/nds32/include/asm/errno.h This bug fix has been applied to u-boot-nds32.git/master Thanks for your help! -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] How to add new device driver from Linux driver source

2013-01-24 Thread Macpaul Lin
. Hope we can see your patch of this SD driver, soon. -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] nds32: Add a basic errno.h

2013-01-06 Thread Macpaul Lin
architecture, please ignore it. Sorry for the inconvenince. -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] nds32: Change macro from BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT

2012-10-25 Thread Macpaul Lin
. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com CC: Macpaul Lin macp...@andestech.com Modified to apply again, applied to u-boot/master, thanks! This was strange. I didn' found the original patch in my mailbox of macp...@andestech.com. I guess I'd better to ask IT to figure out

Re: [U-Boot] [PATCH 1/3] nds32: drop bi_enetaddr from global data

2012-08-10 Thread Macpaul Lin
(-) Applied to u-boot-nds32.git/master Thanks. -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/3] nds32: delete unused local variable

2012-08-10 Thread Macpaul Lin
, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/3] nds32: fix unused pmu_init warning

2012-08-10 Thread Macpaul Lin
Frysinger vap...@gentoo.org Applied to u-boot-nds32.git/master Thanks. -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Pull request: u-boot-nds32

2012-08-10 Thread Macpaul Lin
Dear Wolfgang, Please pull the following 3 patches from u-boot-nds32 into your tree. Thanks! Macpaul Lin. The following changes since commit 4d3c95f5ea7c737a21cd6b9c59435ee693b3f127: zfs: Add ZFS filesystem support (2012-08-09 23:42:20 +0200) are available in the git repository at: git

Re: [U-Boot] [PATCH] nds32: split common cache access from cpu into lib

2012-07-20 Thread Macpaul Lin
the final action about the new policy about cache.h and common.h. I'd like to pick this patch v2 for the coming release for fixing build error for board adp-ag102. What do you think? :-) -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH v2] nds32: split common cache access from cpu into lib

2012-07-20 Thread Macpaul Lin
Hi Macpaul, 2012/7/17 Macpaul Lin macp...@gmail.com This commit does the following updates. 1. Split the common cache access from cpu.c into lib folder. 2. Rename the following cache api to adapt common.h - dcache_flush_rang - flush_dcache_rang - icache_inval_range

[U-Boot] Pull request: u-boot-nds32

2012-07-20 Thread Macpaul Lin
Dear Wolfgang, Please pull the following 1 patch from u-boot-nds32 into your tree. Thanks! Macpaul Lin. The following changes since commit 3ec81d758c09d6887a77a1b1259d044a2905bc8e: Merge branch 'master' of git://git.denx.de/u-boot-usb (2012-07-20 09:12:43 +0200) are available in the git

Re: [U-Boot] [PATCH] nds32: split common cache access from cpu into lib

2012-07-18 Thread Macpaul Lin
Hi Mike 2012/7/19 Mike Frysinger vap...@gentoo.org On Sunday 15 July 2012 04:12:45 Marek Vasut wrote: Dear Macpaul Lin, +void flush_cache(unsigned long addr, unsigned long size) +{ + flush_dcache_range(addr, addr + size); + invalidate_icache_range(addr, addr + size); You

[U-Boot] [PATCH v2] nds32: split common cache access from cpu into lib

2012-07-17 Thread Macpaul Lin
/cache.c b/arch/nds32/lib/cache.c new file mode 100644 index 000..0f1a886 --- /dev/null +++ b/arch/nds32/lib/cache.c @@ -0,0 +1,157 @@ +/* + * Copyright (C) 2012 Andes Technology Corporation + * Shawn Lin, Andes Technology Corporation nobuh...@andestech.com + * Macpaul Lin, Andes Technology

Re: [U-Boot] [PATCH] nds32: split common cache access from cpu into lib

2012-07-15 Thread Macpaul Lin
Hi Marek, 2012/7/15 Marek Vasut ma...@denx.de: Dear Macpaul Lin, This commit does the following updates. 1. Split the common cache access from cpu.c into lib folder. 2. Rename the following cache api to adapt common.h - dcache_flush_rang - flush_dcache_rang - icache_inval_range

[U-Boot] [PATCH] nds32: split common cache access from cpu into lib

2012-07-14 Thread Macpaul Lin
(C) 2012 Andes Technology Corporation + * Shawn Lin, Andes Technology Corporation nobuh...@andestech.com + * Macpaul Lin, Andes Technology Corporation macp...@andestech.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public

Re: [U-Boot] [PATCH 2/3] usb/gadget: add the fastboot gadget

2012-05-28 Thread Macpaul Lin
-devel/2009-01/msg01765.html Since the license of fastboot.c doesn't have the problem above, I think there is no compatible problem for merging Google's fastboot. -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] Can anyone help me to solve the stack problem of U-boot? Urgent~

2012-04-25 Thread Macpaul Lin
regards, Wolfgang Denk http://www.youtube.com/watch?v=XaetQBZB_E4 Hope this introduction U-boot Porting Guide for NDS32 based SoC may help you. The stack setup of NDS32 is similar as ARM. Please also read the document at first. :) -- Best regards, Macpaul Lin

Re: [U-Boot] [PATCH v3 4/4] board/adp-ag102: add configuration of adp-ag102

2012-04-22 Thread Macpaul Lin
Hi Macpaul, 2012/2/28 Macpaul Lin macp...@gmail.com From: Macpaul Lin macp...@andestech.com board: Add config file of board adp-ag102 Add adp-ag102 into boards.cfg Add adp-ag102 into MAINTAINERS doc: add README of ag102 Signed-off-by: Macpaul Lin macp...@andestech.com Applied to u

Re: [U-Boot] [PATCH v3 3/4] board/adp-ag102: add board specific files

2012-04-22 Thread Macpaul Lin
Hi Macpaul, 2012/2/28 Macpaul Lin macp...@gmail.com From: Macpaul Lin macp...@andestech.com Add board specific files. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2-v3:  - No change.  board/AndesTech/adp-ag102/Makefile    |   43 +  board/AndesTech/adp

Re: [U-Boot] [PATCH v3 1/4] nds32/ag102: add header support of ag102 soc

2012-04-22 Thread Macpaul Lin
Hi Macpaul, 2012/2/28 Macpaul Lin macp...@gmail.com: From: Macpaul Lin macp...@andestech.com 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 macp...@andestech.com --- Changes

Re: [U-Boot] [PATCH v3 2/4] nds32/ag102: add ag102 soc support

2012-04-22 Thread Macpaul Lin
Hi Macpaul, 2012/2/28 Macpaul Lin macp...@gmail.com: From: Macpaul Lin macp...@andestech.com Add lowlevel ag102 soc support. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2:  - cpu.c:   - 1. Remove unused variables.   - 2. Replace while(1) in do_reset by hang

[U-Boot] Pull request: u-boot-nds32

2012-04-22 Thread Macpaul Lin
Dear Wolfgang, Please pull the following 4 patches into your tree. Thanks! Macpaul Lin. The following changes since commit 2790bf69dc12fb9aeb9836904e5f57c7f83d5552: Prepare v2012.04 (2012-04-21 18:55:26 +0200) are available in the git repository at: git://git.denx.de/u-boot-nds32.git

Re: [U-Boot] [PATCH 1/2] nds32: fix ptrace and interrupt register overflow

2012-03-19 Thread Macpaul Lin
Hi Macpaul, 2012/3/11 Macpaul Lin macp...@gmail.com 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 macp...@gmail.com Applied to u-boot-nds32/master Thanks

Re: [U-Boot] [PATCH v2 2/2] nds32/n1213: correct vector table in start.S

2012-03-19 Thread Macpaul Lin
Hi Macpaul, 2012/3/11 Macpaul Lin macp...@gmail.com Correct definition of vector table in start.S Signed-off-by: Macpaul Lin macp...@gmail.com --- Changes for v2: - fix symbol declaration error in start.S Applied to u-boot-nds32/master Thanks. -- Best regards, Macpaul Lin

[U-Boot] Pull request for u-boot-nds32

2012-03-19 Thread Macpaul Lin
://git.denx.de/u-boot-nds32.git master Macpaul Lin (2): nds32: fix ptrace and interrupt register overflow nds32/n1213: correct vector table in start.S arch/nds32/cpu/n1213/start.S| 22 +++--- arch/nds32/include/asm/ptrace.h |2 ++ arch/nds32/lib/interrupts.c

Re: [U-Boot] DEVELOPER's MEETING

2012-03-15 Thread Macpaul Lin
to contribute their work back. :) -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/2] nds32: fix ptrace and interrupt register overflow

2012-03-11 Thread Macpaul Lin
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 macp...@gmail.com --- arch/nds32/include/asm/ptrace.h |2 ++ arch/nds32/lib/interrupts.c |2 +- 2 files

[U-Boot] [PATCH 2/2] nds32/n1213: correct vector table in start.S

2012-03-11 Thread Macpaul Lin
Correct definition of vector table in start.S Signed-off-by: Macpaul Lin macp...@gmail.com --- arch/nds32/cpu/n1213/start.S | 22 +++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/arch/nds32/cpu/n1213/start.S b/arch/nds32/cpu/n1213/start.S index 1d1fcf7

[U-Boot] [PATCH v2 1/2] nds32: fix ptrace and interrupt register overflow

2012-03-11 Thread Macpaul Lin
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 macp...@gmail.com --- Change for V2: - no change. arch/nds32/include/asm/ptrace.h |2 ++ arch/nds32/lib

[U-Boot] [PATCH v2 2/2] nds32/n1213: correct vector table in start.S

2012-03-11 Thread Macpaul Lin
Correct definition of vector table in start.S Signed-off-by: Macpaul Lin macp...@gmail.com --- Changes for v2: - fix symbol declaration error in start.S arch/nds32/cpu/n1213/start.S | 22 +++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/arch/nds32/cpu

Re: [U-Boot] nds32 ptrace register overflow

2012-03-05 Thread Macpaul Lin
between will affected by toolchain. Maybe that's why there is no problem when used wrong registers.                NDS32_REG r[26];    /* r0 - r25 */                NDS32_REG fp;       /* r28 */                NDS32_REG gp;       /* r29 */ I'll fix this later. Thanks! -- Best regards, Macpaul

Re: [U-Boot] [PATCH v2 2/2] nds32/ag101/watchdog.S: add linkage support

2012-02-27 Thread Macpaul Lin
Hi Macpaul 2011/12/1 Macpaul Lin macp...@andestech.com Add linkage support to watchdog.S. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2: - No change. arch/nds32/cpu/n1213/ag101/watchdog.S |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Applied

Re: [U-Boot] [PATCH] nds32/board.c: add PCI prompt at boot up

2012-02-27 Thread Macpaul Lin
Hi Macpaul, 2011/11/29 Macpaul Lin macp...@andestech.com add PCI prompt at boot up for probing PCI device Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/nds32/lib/board.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/nds32/lib/board.c b/arch

[U-Boot] Pull request: u-boot-nds32/master

2012-02-27 Thread Macpaul Lin
://git.denx.de/u-boot-nds32.git master Macpaul Lin (3): nds32: add linkage support nds32/ag101/watchdog.S: add linkage support nds32/board.c: add PCI prompt at boot up arch/nds32/cpu/n1213/ag101/watchdog.S |5 +++-- arch/nds32/include/asm/linkage.h | 28

[U-Boot] [PATCH v3 1/4] nds32/ag102: add header support of ag102 soc

2012-02-27 Thread Macpaul Lin
From: Macpaul Lin macp...@andestech.com 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 macp...@andestech.com --- Changes for v2-v3: - No change. arch/nds32/cpu/n1213/ag102/asm

[U-Boot] [PATCH v3 2/4] nds32/ag102: add ag102 soc support

2012-02-27 Thread Macpaul Lin
From: Macpaul Lin macp...@andestech.com Add lowlevel ag102 soc support. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2: - cpu.c: - 1. Remove unused variables. - 2. Replace while(1) in do_reset by hang(). - 3. Clean up other coding styles. - timer.c: remove

[U-Boot] [PATCH v3 3/4] board/adp-ag102: add board specific files

2012-02-27 Thread Macpaul Lin
From: Macpaul Lin macp...@andestech.com Add board specific files. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2-v3: - No change. board/AndesTech/adp-ag102/Makefile| 43 + board/AndesTech/adp-ag102/adp-ag102.c | 107 + 2

[U-Boot] [PATCH v3 4/4] board/adp-ag102: add configuration of adp-ag102

2012-02-27 Thread Macpaul Lin
From: Macpaul Lin macp...@andestech.com board: Add config file of board adp-ag102 Add adp-ag102 into boards.cfg Add adp-ag102 into MAINTAINERS doc: add README of ag102 Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2: - add pci and usb support to board setting adp-ag102.h

Re: [U-Boot] [PATCH v2] linkage.h: move from blackfin to common includes

2012-01-10 Thread Macpaul Lin
Hi Mike, 2012/1/11 Mike Frysinger vap...@gentoo.org FYI, i'll be including it as part of my Blackfin merge when the window closes -mike Thanks for your information, I'll do other fix based on this commit. -- Best regards, Macpaul Lin ___ U-Boot

[U-Boot] [PATCH] ftintc010.h: add header of ftintc010 interrupt controller

2011-12-16 Thread Macpaul Lin
add header definition of faraday interrupt controller Signed-off-by: Macpaul Lin macp...@andestech.com --- include/faraday/ftintc010.h | 101 +++ 1 files changed, 101 insertions(+), 0 deletions(-) create mode 100644 include/faraday/ftintc010.h diff

[U-Boot] [PATCH v2] nds32: add header of amic multicore interrupt controller.

2011-12-14 Thread Macpaul Lin
Add header file support of amic multicore interrupt controller. Signed-off-by: Macpaul Lin macp...@andestech.com Changes for v2: - rename the subject to avoid misleading. --- include/andestech/amic.h | 195 ++ 1 files changed, 195 insertions(+), 0

[U-Boot] [PATCH v3] nds32: add header of amic multicore interrupt controller.

2011-12-14 Thread Macpaul Lin
Add header file support of amic multicore interrupt controller. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2: - rename the subject to avoid misleading. Changes for v3: - correct the patch format of v2. include/andestech/amic.h | 195

[U-Boot] [PATCH] nds32: add amic multicore interrupt controller support

2011-12-13 Thread Macpaul Lin
Add header file support of amic multicore interrupt controller. Signed-off-by: Macpaul Lin macp...@andestech.com --- include/andestech/amic.h | 195 ++ 1 files changed, 195 insertions(+), 0 deletions(-) create mode 100644 include/andestech/amic.h

Re: [U-Boot] [STATUS] Getting ready for -rc1

2011-12-06 Thread Macpaul Lin
now. Would you please test linkage.h related change before rc2? I guess we cannot done this before rc1 is out. If we can done this before rc2, then other people could be able to refine their code if they want just after the official release. Thanks. :) Best regards, Macpaul Lin

[U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Macpaul Lin
Add linkage support. Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/nds32/include/asm/linkage.h | 31 +++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 arch/nds32/include/asm/linkage.h diff --git a/arch/nds32/include/asm/linkage.h

[U-Boot] [PATCH 2/2] nds32/ag101/watchdog.S: add linkage support

2011-11-30 Thread Macpaul Lin
Add linkage support to watchdog.S. Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/nds32/cpu/n1213/ag101/watchdog.S |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/nds32/cpu/n1213/ag101/watchdog.S b/arch/nds32/cpu/n1213/ag101/watchdog.S index fc39f3f

Re: [U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Macpaul Lin
Hi Mike, 2011/12/1 Mike Frysinger vap...@gentoo.org On Wednesday 30 November 2011 03:06:42 Macpaul Lin wrote: Add linkage support. let's add this to our linux/linkage.h: #ifndef __ALIGN #define __ALIGN .align 4 #define __ALIGN_STR .align 4 #endif i think most arches

Re: [U-Boot] [PATCH 1/2] nds32: add linkage support

2011-11-30 Thread Macpaul Lin
Hi Mike, more than half will use .align 4. for the few that do not, they can still define __ALIGN themselves, and thus the #ifndef __ALIGN i quoted above will keep it from executing. -mike Good! I will fix this up ASAP. :-) -- Best regards, Macpaul Lin

[U-Boot] [PATCH v2] linkage.h: move from blackfin to common includes

2011-11-30 Thread Macpaul Lin
1. Add linkage.h support from blackfin to common include, which is a reduced version from Linux. 2. Add architecture part support of linkage.h into blackfin 3. Fix include path of in blackfin related to linkage.h due to header file movement. Signed-off-by: Macpaul Lin macp...@andestech.com

[U-Boot] [PATCH v2 1/2] nds32: add linkage support

2011-11-30 Thread Macpaul Lin
Add linkage support. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2: - remove architecture related define of align. - remain this empty file for the compilation necessary. arch/nds32/include/asm/linkage.h | 28 1 files changed, 28

[U-Boot] [PATCH v2 2/2] nds32/ag101/watchdog.S: add linkage support

2011-11-30 Thread Macpaul Lin
Add linkage support to watchdog.S. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2: - No change. arch/nds32/cpu/n1213/ag101/watchdog.S |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/nds32/cpu/n1213/ag101/watchdog.S b/arch/nds32/cpu/n1213

[U-Boot] [PATCH] nds32/board.c: add PCI prompt at boot up

2011-11-29 Thread Macpaul Lin
add PCI prompt at boot up for probing PCI device Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/nds32/lib/board.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c index 66e4537..074aabf 100644 --- a/arch/nds32/lib

Re: [U-Boot] [PATCH 2/4] nds32/ag102: add ag102 soc support

2011-11-29 Thread Macpaul Lin
Hi Mike, 2011/11/29 Macpaul Lin macp...@gmail.com Hi Mike, This reply didn't CC to u-boot mailing list. So I forward it again. 2011/11/24 Mike Frysinger vap...@gentoo.org On Tuesday 22 November 2011 21:16:50 Macpaul Lin wrote: 2011/11/19 Mike Frysinger vap...@gentoo.org +.globl

[U-Boot] [PATCH v2 1/4] nds32/ag102: add header support of ag102 soc

2011-11-29 Thread Macpaul Lin
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 macp...@andestech.com --- Changes for v2: - No change. arch/nds32/cpu/n1213/ag102/asm-offsets.c | 54 arch

[U-Boot] [PATCH v2 3/4] board/adp-ag102: add board specific files

2011-11-29 Thread Macpaul Lin
Add board specific files. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2: - No change. board/AndesTech/adp-ag102/Makefile| 43 + board/AndesTech/adp-ag102/adp-ag102.c | 107 + 2 files changed, 150 insertions(+), 0

[U-Boot] [PATCH v2 2/4] nds32/ag102: add ag102 soc support

2011-11-29 Thread Macpaul Lin
Add lowlevel ag102 soc support. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2: - cpu.c: - 1. Remove unused variables. - 2. Replace while(1) in do_reset by hang(). - 3. Clean up other coding styles. - timer.c: remove unneccessary static declaration arch/nds32

[U-Boot] [PATCH v2 4/4] board/adp-ag102: add configuration of adp-ag102

2011-11-29 Thread Macpaul Lin
board: Add config file of board adp-ag102 Add adp-ag102 into boards.cfg Add adp-ag102 into MAINTAINERS doc: add README of ag102 Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2: - add pci and usb support to board setting adp-ag102.h MAINTAINERS |1

Re: [U-Boot] [PATCH v2 2/4] nds32/ag102: add ag102 soc support

2011-11-29 Thread Macpaul Lin
Hi Mike, 2011/11/30 Mike Frysinger vap...@gentoo.org On Tuesday 29 November 2011 04:15:05 Macpaul Lin wrote: +.globl turnoff_watchdog +turnoff_watchdog: should be: ENTRY(turnoff_watchdog) + ret and at the end, add: ENDPROC(turnoff_watchdog) seems a lot of the nds32 code

Re: [U-Boot] [PATCH v2 2/4] nds32/ag102: add ag102 soc support

2011-11-29 Thread Macpaul Lin
do not need to send a commit of adding linkage.h into NDS32. :-) Thanks. -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 2/4] nds32/ag102: add ag102 soc support

2011-11-29 Thread Macpaul Lin
Hi Mike, 2011/11/30 Macpaul Lin macp...@gmail.com Hi Mike and Wolfgang, 2011/11/30 Mike Frysinger vap...@gentoo.org For supporting this kind of implementation, I must to put header support like linkage.h err, i thought i saw u-boot had this in common code. seems it is not (i must

[U-Boot] [PATCH 2/3] blackfin: add architecture part support of linkage.h

2011-11-29 Thread Macpaul Lin
add architecture part support of linkage.h Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/blackfin/include/asm/linkage.h | 31 +++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 arch/blackfin/include/asm/linkage.h diff --git a/arch

[U-Boot] [PATCH 3/3] blackfin: fix linkage support due to header movement

2011-11-29 Thread Macpaul Lin
Fix include path of linkage.h due to header file movement. Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/blackfin/cpu/cache.S |2 +- arch/blackfin/include/asm/blackfin_local.h |2 +- arch/blackfin/include/asm/cache.h |2 +- arch/blackfin/lib

[U-Boot] [PATCH 1/3] linkage.h: move from blackfin to common includes

2011-11-29 Thread Macpaul Lin
Add linkage.h support from blackfin to common include, which is a reduced version from Linux. Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/blackfin/include/asm/linkage.h | 74 --- include/linux/linkage.h | 72

  1   2   3   4   5   >