[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 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 +

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 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 +

[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

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

2023-11-11 Thread Macpaul Lin
ted.html https://mediatek.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 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 +

[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

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

2022-11-08 Thread Macpaul Lin
t to be involved in these reviewing activities of MediaTek platforms, please let us know. [deleted] Thanks! Macpaul Lin

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-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

[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

[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 +

[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 +

[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

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 > From: 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 > Applied to u-boot-nds

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 > > From: Macpaul Lin > > Add board specific files. > > Signed-off-by: Macpaul Lin > --- > Changes for v2-v3: >  - No change. > >  board/AndesTech/adp-ag102/Makefile    |   43 + >  board/An

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 : > From: 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 > --- > Changes for v2-v3: >  -

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 : > From: Macpaul Lin > > Add lowlevel ag102 soc support. > > Signed-off-by: Macpaul Lin > --- > Changes for v2: >  - cpu.c: >   - 1. Remove unused variables. >   - 2. Replace while(1) in do_reset by hang(). >   - 3. Clean up

[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] Can anyone help me to solve the stack problem of U-boot? Urgent~

2012-04-25 Thread Macpaul Lin
best > advice for you is to hire an expert. > > Best 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 r

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

2012-05-28 Thread Macpaul Lin
ng the incompatible clauses. And after the revising of license, they've successfully merged SLiRP. http://lists.gnu.org/archive/html/qemu-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&#

Re: [U-Boot] [PATCH v2 2/8] nds32: add cpu support for nds32 arch

2010-08-06 Thread Macpaul Lin
IME format. So I resend the reply from gmail.) Best regards, Macpaul Lin 2010/8/6 > > > -Original Message- > From: Po-Yu Chuang [mailto:ratbert.chu...@gmail.com] > Sent: Friday, August 06, 2010 1:45 PM > To: Macpaul Chih-Pin Lin(林智斌) > Cc: u-boot@lists.denx.de > S

[U-Boot] [PATCH v3 0/8] NDS32: Add NDS32 architecture support to u-boot.

2010-08-06 Thread Macpaul Lin
. Macpaul Lin (8): nds32: add support of general functions in arch lib nds32: add cpu support for nds32 arch nds32: add header files support for nds32 nds32: add header files support for soc ag101 nds32: add standalone related support for nds32 nds32: add common support for nds32 nds32

[U-Boot] [PATCH v3 1/8] nds32: add support of general functions in arch lib

2010-08-06 Thread Macpaul Lin
Add Makefile, board.c, interrupts.c and bootm.c functions to nds32 architecture. Signed-off-by: Macpaul Lin --- arch/nds32/lib/Makefile | 52 + arch/nds32/lib/board.c | 452 +++ arch/nds32/lib/bootm.c | 240

[U-Boot] [PATCH v3 4/8] nds32: add header files support for soc ag101

2010-08-06 Thread Macpaul Lin
Add header files support for SoC ag101. Signed-off-by: Macpaul Lin --- arch/nds32/include/asm/arch-ag101/ag101.h | 44 ++ arch/nds32/include/asm/arch-ag101/chipset.h | 782 + arch/nds32/include/asm/arch-ag101/ftpmu010.h | 146 + arch/nds32/include/asm/arch

[U-Boot] [PATCH v3 5/8] nds32: add standalone related support for nds32

2010-08-06 Thread Macpaul Lin
Add standalone program related support for nds32 architecture. Signed-off-by: Macpaul Lin --- examples/standalone/nds32.lds | 64 + examples/standalone/stubs.c | 17 +- examples/standalone/x86-testapp.c | 12 +++ 3 files changed

[U-Boot] [PATCH v3 3/8] nds32: add header files support for nds32

2010-08-06 Thread Macpaul Lin
Add generic header files support for nds32 architecture. Signed-off-by: Macpaul Lin --- arch/nds32/include/asm/andesboot.h| 242 +++ arch/nds32/include/asm/bitops.h | 150 ++ arch/nds32/include/asm/byteorder.h| 36 arch/nds32/include/asm

[U-Boot] [PATCH v3 6/8] nds32: add common support for nds32

2010-08-06 Thread Macpaul Lin
Add support to common commands, features, image format, and common headers. Signed-off-by: Macpaul Lin --- common/cmd_bdinfo.c| 26 ++ common/cmd_bootm.c |2 + common/image.c |1 + include/common.h | 13 +++ include/image.h|5 + include

[U-Boot] [PATCH v3 7/8] nds32: add board adp-ag101 support

2010-08-06 Thread Macpaul Lin
Add adp-ag101 board related settings to u-boot. Signed-off-by: Macpaul Lin --- MAINTAINERS | 11 + MAKEALL |9 + Makefile | 10 + board/AndesTech/adp-ag101/Makefile| 51 + board/AndesTech/adp

[U-Boot] [PATCH v3 8/8] ftrtc010.c : enhance code according to original datasheet

2010-08-06 Thread Macpaul Lin
Add missing codes according to original datasheet. This patch also makes ftrtc010 could be adapted to PCLK and EXT_CLK. Signed-off-by: Macpaul Lin --- drivers/rtc/ftrtc010.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/rtc/ftrtc010.c b/drivers/rtc

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 > > 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] About the volatile data type in include/net.h

2011-11-21 Thread Macpaul Lin
gards, 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/ag102: add ag102 soc support

2011-11-22 Thread Macpaul Lin
t; > + setgie.d > > can't this be C code ? > -mike > This is because after reset, the watchdog might be enabled if there is another boot loader has ran before u-boot. If the other boot loader enabled watchdog but didn't stop it, it might cause u-boot to be reset during assem

[U-Boot] [RFC] Add volatile back to arch_getb(a) functions

2011-11-22 Thread Macpaul Lin
ed to be add back to these __arch_xxx macros if the x86 io emulation functions shouldn't be re-written. Do you have other suggestion? Thanks! -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/

[U-Boot] [PATCH] nds32/ag101: clean up for SoC related code

2011-11-22 Thread Macpaul Lin
Remove unneccessary codes. 1. Clean up for cpu related code. 2. Clean up for timer related code. Signed-off-by: Macpaul Lin --- arch/nds32/cpu/n1213/ag101/cpu.c |8 ++-- arch/nds32/cpu/n1213/ag101/timer.c |8 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a

Re: [U-Boot] [PATCH] nds32/ag101: clean up for SoC related code

2011-11-22 Thread Macpaul Lin
Hi Macpaul, 2011/11/23 Macpaul Lin > Remove unneccessary codes. > 1. Clean up for cpu related code. > 2. Clean up for timer related code. > > Signed-off-by: Macpaul Lin > Applied to u-boot-nds32/master. Thanks. -- Best regards, Macpaul Lin ___

Re: [U-Boot] 回覆: [PATCH] Fix clash between IH_ARCH_NDS32 and IH_ARCH_SANDBOX

2011-11-22 Thread Macpaul Lin
u-boot-nds32/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/master

2011-11-22 Thread Macpaul Lin
-boot-nds32.git master Macpaul Lin (1): nds32/ag101: clean up for SoC related code Stefan Kristiansson (1): Fix clash between IH_ARCH_NDS32 and IH_ARCH_SANDBOX arch/nds32/cpu/n1213/ag101/cpu.c |8 ++-- arch/nds32/cpu/n1213/ag101/timer.c |8 include/image.h

Re: [U-Boot] [PATCH] mmc: add host_caps checking avoid switch card improperly

2011-11-27 Thread Macpaul Lin
Hi Andy, 2011/11/26 Andy Fleming > On Thu, Nov 17, 2011 at 3:31 AM, Macpaul Lin > wrote: > > Add a host capability checking to avoid the mmc stack > > switch the card to HIGHSPEED mode when the card supports > > HIGHSPEED while the host doesn't. >

Re: [U-Boot] [PATCH v3] ftsdc010: improve performance and capability

2011-11-28 Thread Macpaul Lin
debug("%s: DATA CRC FAIL: sta: %08x\n", > __func__, sta); > > > >clear |= FTSDC010_STATUS_DATA_CRC_FAIL; > >writel(clear, &host->reg->clr); > > Ok, here "clear" is actually written to

[U-Boot] [PATCH v2] mmc: add host_caps checking avoid switch card improperly

2011-11-28 Thread Macpaul Lin
Add a host capability checking to avoid the mmc stack switch the card to HIGHSPEED mode when the card supports HIGHSPEED while the host doesn't. This patch avoid furthur transaction problem when the mmc/sd card runs different mode to the host. Signed-off-by: Macpaul Lin Changes f

[U-Boot] [PATCH v3] mmc: add host_caps checking avoid switch card improperly

2011-11-28 Thread Macpaul Lin
Add a host capability checking to avoid the mmc stack switch the card to HIGHSPEED mode when the card supports HIGHSPEED while the host doesn't. This patch avoid furthur transaction problem when the mmc/sd card runs different mode to the host. Signed-off-by: Macpaul Lin --- Changes f

[U-Boot] [PATCH v2] mmc: add host_caps checking avoid switch card improperly

2011-11-28 Thread Macpaul Lin
Add a host capability checking to avoid the mmc stack switch the card to HIGHSPEED mode when the card supports HIGHSPEED while the host doesn't. This patch avoid furthur transaction problem when the mmc/sd card runs different mode to the host. Signed-off-by: Macpaul Lin --- Changes f

[U-Boot] [PATCH v2] mmc: add host_caps checking avoid switch card improperly

2011-11-28 Thread Macpaul Lin
Add a host capability checking to avoid the mmc stack switch the card to HIGHSPEED mode when the card supports HIGHSPEED while the host doesn't. This patch avoid furthur transaction problem when the mmc/sd card runs different mode to the host. Signed-off-by: Macpaul Lin --- Changes f

Re: [U-Boot] [PATCH v2] mmc: add host_caps checking avoid switch card improperly

2011-11-28 Thread Macpaul Lin
Hi Andy 2011/11/28 Macpaul Lin > Add a host capability checking to avoid the mmc stack > switch the card to HIGHSPEED mode when the card supports > HIGHSPEED while the host doesn't. > > This patch avoid furthur transaction problem when the > mmc/sd card runs dif

Re: [U-Boot] [PATCH v2] mmc: add host_caps checking avoid switch card improperly

2011-11-28 Thread Macpaul Lin
Hi Andy and Wolfgang, 2011/11/28 Wolfgang Denk > Dear Macpaul Lin, > > In message omzns+maj+...@mail.gmail.com> you wrote: > > > > Please drop these multiple mails which are the same. > > I'll delete them in patchworks and left the only one patch v2 of this

[U-Boot] [PATCH v4] mmc: add host_caps checking avoid switch card improperly

2011-11-28 Thread Macpaul Lin
Add a host capability checking to avoid the mmc stack switch the card to HIGHSPEED mode when the card supports HIGHSPEED while the host doesn't. This patch avoid furthur transaction problem when the mmc/sd card runs different mode to the host. Signed-off-by: Macpaul Lin --- Changes f

Re: [U-Boot] [PATCH v3] ftsdc010: improve performance and capability

2011-11-28 Thread Macpaul Lin
ot; to the clr register, and returns. > > "clear" is never used after being set in this case. You're really caught a bug. Sorry I didn't aware what you meant before. I thought I've fix this bug at the 1st version of the patch. This is weird. Anyway, I'll fix

[U-Boot] [PATCH v4] ftsdc010: improve performance and capability

2011-11-28 Thread Macpaul Lin
This patch improve the performance by spliting flag examination code in ftsdc010_send_cmd() into 3 functions. This patch also reordered the function which made better capability to some high performance cards against to the next version of ftsdc010 hardware. Signed-off-by: Macpaul Lin

[U-Boot] [PATCH] pci_ftpci100: Implementation FTPCI100 PCI driver

2011-11-28 Thread Macpaul Lin
From: Gavin Guo FTPCI100 is a SoC PCI componenet of Faraday company. Which is usually built into SoC chips for providing embedded PCI functions. Signed-off-by: Gavin Guo Signed-off-by: Macpaul Lin --- Changes for v2: - clean up lines over 80 charaters. - fix static functions. - fix the

[U-Boot] [PATCH v4] pci_ftpci100: Implementation FTPCI100 PCI driver

2011-11-28 Thread Macpaul Lin
From: Gavin Guo FTPCI100 is a SoC PCI componenet of Faraday company. Which is usually built into SoC chips for providing embedded PCI functions. Signed-off-by: Gavin Guo Signed-off-by: Macpaul Lin --- Changes for v2: - clean up lines over 80 charaters. - fix static functions. - fix the

[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 --- 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/board.c +++ b/arch

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 > Hi Mike, > > This reply didn't CC to u-boot mailing list. So I forward it again. > 2011/11/24 Mike Frysinger > >> On Tuesday 22 November 2011 21:16:50 Macpaul Lin wrote: >> > 2011/11/19 Mike Frysinger >

[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 --- Changes for v2: - No change. arch/nds32/cpu/n1213/ag102/asm-offsets.c | 54 arch/nds32/include/asm/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 --- 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 deletions(-) create mode

[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 --- 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/cpu/n1213/ag102

[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 --- Changes for v2: - add pci and usb support to board setting adp-ag102.h MAINTAINERS |1 + boards.cfg

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 > 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_w

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

2011-11-29 Thread Macpaul Lin
pe your can do this move sooner hence I 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 > Hi Mike and Wolfgang, > > 2011/11/30 Mike Frysinger > >> > 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

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 > Hi Mike, > > err, i thought i saw u-boot had this in common code. seems it is not (i >>> must >>> have been looking in the Linux tree). don't worry about it until we get >>> that >>> addressed. >>>

[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 --- 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/blackfin/include/asm

[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 --- arch/blackfin/cpu/cache.S |2 +- arch/blackfin/include/asm/blackfin_local.h |2 +- arch/blackfin/include/asm/cache.h |2 +- arch/blackfin/lib/__kgdb.S

[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 --- arch/blackfin/include/asm/linkage.h | 74 --- include/linux/linkage.h | 72 ++ 2 files

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

2011-11-30 Thread Macpaul Lin
Add linkage support. Signed-off-by: Macpaul Lin --- 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 b/arch/nds32/include

[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 --- 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..18f0b66 100644 --- a

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

2011-11-30 Thread Macpaul Lin
Hi Mike, 2011/12/1 Mike Frysinger > 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" > #endi

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

[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 --- Changes for v2

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

2011-11-30 Thread Macpaul Lin
Add linkage support. Signed-off-by: Macpaul Lin --- 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 insertions(+), 0 deletions

[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 --- 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/ag101/watchdog.S

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

2011-12-06 Thread Macpaul Lin
> in, please speak up 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. Th

Re: [U-Boot] [STATUS] v2011.12-rc1 is out - release date Dec 23

2011-12-13 Thread Macpaul Lin
on linkage.h issue. http://patchwork.ozlabs.org/patch/128640/ Would you please help testing on blackfin and see if there is any problem? Testing for NDS32 architecture for 2011.12-rc1 is done. Thanks! -- Best regards, Macpaul Lin ___ U-Boot mailing list U

[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 --- include/andestech/amic.h | 195 ++ 1 files changed, 195 insertions(+), 0 deletions(-) create mode 100644 include/andestech/amic.h diff --git a/include

[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 Changes for v2: - rename the subject to avoid misleading. --- include/andestech/amic.h | 195 ++ 1 files changed, 195 insertions(+), 0 deletions(-) create

[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 --- Changes for v2: - rename the subject to avoid misleading. Changes for v3: - correct the patch format of v2. include/andestech/amic.h | 195 ++ 1 files

[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 --- include/faraday/ftintc010.h | 101 +++ 1 files changed, 101 insertions(+), 0 deletions(-) create mode 100644 include/faraday/ftintc010.h diff --git a/include/faraday

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

2012-07-14 Thread Macpaul Lin
" - ); -} - -int dcache_status(void) -{ - int ret; - - __asm__ __volatile__ ( - "mfsr $p0, $mr8\n\t" - "andi %0, $p0, 0x02\n\t" - : "=r" (ret) - : - : "memory&quo

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 : > 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_dca

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

2012-07-17 Thread Macpaul Lin
quot; - "andi %0, $p0, 0x02\n\t" - : "=r" (ret) - : - : "memory" -); - -return ret; -} diff --git a/arch/nds32/lib/Makefile b/arch/nds32/lib/Makefile index e5c31c3..581a2e7 100644 --- a/arc

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 > 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

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

2012-07-20 Thread Macpaul Lin
ut > Since this discussion hasn't been finished, and we haven't decide 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, Macpa

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 > 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 -> invali

[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

[U-Boot] [PATCH v10 6/8] nds32: standalone support

2011-08-31 Thread Macpaul Lin
Add standalone program related support for nds32 architecture. Signed-off-by: Macpaul Lin --- Changes for v1-v6: - code clean up. Changes for v7-v10: - No change. examples/standalone/nds32.lds | 64 + examples/standalone/stubs.c | 17

[U-Boot] [PATCH v10 7/8] nds32: common bdinfo, bootm, image support

2011-08-31 Thread Macpaul Lin
Add support of NDS32 to common commands bdinfo, bootm, and image format. Signed-off-by: Macpaul Lin --- Changes for v1-v6: - Code clean up Changes for v7-v9: - No Change. Changes for v10: - fix up according to the changes in master tree. common/cmd_bdinfo.c | 26

[U-Boot] [PATCH v10 4/8] nds32/ag101: cpu and init funcs of SoC ag101

2011-08-31 Thread Macpaul Lin
dram, clock, and power settings. It also prepars the dram environment before moving u-boot from rom and flash into dram. This version of lowlevel_init.S also replace hardcode value by MARCO defines from the GPL version andesboot for better code quality. Signed-off-by: Macpaul Lin --- Changes for

[U-Boot] [PATCH v10 8/8] adp-ag101: add board adp-ag101 support

2011-08-31 Thread Macpaul Lin
Add evaluation board "adp-ag101" configuration file adp-ag101.h. Add adp-ag101.c board config and related settings. Add board adp-ag101 into boards.cfg Signed-off-by: Macpaul Lin --- Changes for v1-v4: - code clean up Changes for v5-v6: - Refine the definitions and parameters

[U-Boot] [PATCH v10 2/8] nds32: add NDS32 support into common header file

2011-08-31 Thread Macpaul Lin
Add NDS32 support into common header file. Signed-off-by: Macpaul Lin --- Changes for v1-v7: - No change Changes for v8: - Fix the patch according to dependency of x86's Fix Changes for v9-v10: - No change include/common.h |4 1 files changed, 4 insertions(+), 0 dele

[U-Boot] [PATCH v10 3/8] nds32/core N1213: NDS32 N12 core family N1213

2011-08-31 Thread Macpaul Lin
ependent "lowlevel_init.S" and "watchdog.S" to configure peripheral devices. Signed-off-by: Macpaul Lin --- Changes v1 to v6: - Style clean up and reorganize code Changes v7-v9: - No Change. Changes v10: - start.S of N1213 CPU has been rewrote for relocation support. - u-boot.lds:

[U-Boot] [PATCH v10 1/8] nds32: add header files support for nds32

2011-08-31 Thread Macpaul Lin
Add generic header files support for nds32 architecture. Cache, ptregs, data type and other definitions are included. Signed-off-by: Macpaul Lin --- Changes for v1-v4: - Code cleanup and style formatting. Changes for v5-v6: - This patch also updated the following changes against the

[U-Boot] [PATCH v10 5/8] nds32/lib: add generic funcs in NDS32 lib

2011-08-31 Thread Macpaul Lin
Add Makefile, board.c, interrupts.c and bootm.c functions to nds32 architecture. Signed-off-by: Macpaul Lin --- Changes for v1-v4: - code clean up and formatting style. Changes for v5-v6: - board.c - Do some clean up and add code - Remove display banner which hasn't support.

[U-Boot] [PATCH v11 1/9] nds32: add header files support for nds32

2011-08-31 Thread Macpaul Lin
Add generic header files support for nds32 architecture. Cache, ptregs, data type and other definitions are included. Signed-off-by: Macpaul Lin --- Changes for v1-v4: - Code cleanup and style formatting. Changes for v5-v6: - This patch also updated the following changes against the

[U-Boot] [PATCH v11 2/9] nds32: add NDS32 support into common header file

2011-08-31 Thread Macpaul Lin
Add NDS32 support into common header file. Signed-off-by: Macpaul Lin --- Changes for v1-v7: - No change Changes for v8: - Fix the patch according to dependency of x86's Fix Changes for v9-v11: - No change include/common.h |4 1 files changed, 4 insertions(+), 0 dele

[U-Boot] [PATCH v11 3/9] nds32/core N1213: NDS32 N12 core family N1213

2011-08-31 Thread Macpaul Lin
ependent "lowlevel_init.S" and "watchdog.S" to configure peripheral devices. Signed-off-by: Macpaul Lin --- Changes v1 to v6: - Style clean up and reorganize code Changes v7-v9: - No Change. Changes v10: - start.S of N1213 CPU has been rewrote for relocation support. - u-boot.lds:

[U-Boot] [PATCH v11 4/9] nds32/ag101: cpu and init funcs of SoC ag101

2011-08-31 Thread Macpaul Lin
dram, clock, and power settings. It also prepars the dram environment before moving u-boot from rom and flash into dram. This version of lowlevel_init.S also replace hardcode value by MARCO defines from the GPL version andesboot for better code quality. Signed-off-by: Macpaul Lin --- Changes for

[U-Boot] [PATCH v11 5/9] nds32/lib: add generic funcs in NDS32 lib

2011-08-31 Thread Macpaul Lin
Add Makefile, board.c, interrupts.c and bootm.c functions to nds32 architecture. Signed-off-by: Macpaul Lin --- Changes for v1-v4: - code clean up and formatting style. Changes for v5-v6: - board.c - Do some clean up and add code - Remove display banner which hasn't support.

[U-Boot] [PATCH v11 6/9] nds32: standalone support

2011-08-31 Thread Macpaul Lin
Add standalone program related support for nds32 architecture. Signed-off-by: Macpaul Lin --- Changes for v1-v6: - code clean up. Changes for v7-v11: - No change. examples/standalone/nds32.lds | 64 + examples/standalone/stubs.c | 17

[U-Boot] [PATCH v11 7/9] nds32: common bdinfo, bootm, image support

2011-08-31 Thread Macpaul Lin
Add support of NDS32 to common commands bdinfo, bootm, and image format. Signed-off-by: Macpaul Lin --- Changes for v1-v6: - Code clean up Changes for v7-v9: - No Change. Changes for v10: - fix up according to the changes in master tree. Changes for v11: - No Change. common

  1   2   3   4   5   >