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

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

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

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

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

[U-Boot] [PATCH] ftahbc020s: Faraday AHB Controller definitions

2010-11-05 Thread Macpaul Lin
ftahbc020s.h provides the basic definitions to help a SoC which use this AHB Controller could do scalable software settings in both C codes and asm codes. Signed-off-by: Macpaul Lin macp...@andestech.com --- include/faraday/ftahbc020s.h | 72 ++ 1 files

[U-Boot] [PATCH v5] nds32: Add NDS32 architecture support (header files)

2010-11-18 Thread Macpaul Lin
. Note: Empty headers such as config.h, memory.h, processor.h are necessary for compiling some device drivers. Otherwise those drivers won't be build. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v1: - First commit of nds32 arch to u-boot, add SoC ag101, adp-ag101 into u

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

2010-11-18 Thread Macpaul Lin
Add NDS32 support into common header file. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2: - This files has no change. include/common.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/common.h b/include/common.h index 189ad81..d7c452a

[U-Boot] [PATCH v2 2/2] nds32/Core_N1213: add N1213 cpu core support for NDS32 arch

2010-11-18 Thread Macpaul Lin
TEXT_BASE with new CONFIG_SYS_TEXT_BASE into Start.S Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2: - Add descriptions for other SoC used core N1213 to organize their lowlevel_init.S and start.S. - Replace old TEXT_BASE with new CONFIG_SYS_TEXT_BASE against

Re: [U-Boot] [PATCH v5] nds32: Add NDS32 architecture support (header files)

2010-11-24 Thread Macpaul Lin
questions, please reply on the mailing list. Hope we can work this out together. On Fri, Nov 19, 2010 at 1:51 PM, Macpaul Lin macp...@andestech.com wrote: This patch add generic header files support for nds32 architecture. Cache, ptregs, data type and other definitions are included. NDS32 is a new

[U-Boot] [PATCH] include/linux/mii.h: update for supporting GE

2010-12-02 Thread Macpaul Lin
This file has been synced (copy) from Linux source code. This commit was based on kernel 2.6.32. It updates gigabit related phy registers and basic definitions. Signed-off-by: Macpaul Lin macp...@andestech.com --- include/linux/mii.h | 270 +-- 1

[U-Boot] [PATCH v2] include/linux/mii.h: update for supporting GE

2010-12-02 Thread Macpaul Lin
This file has been synced (copy) from Linux source code. This commit was based on kernel 2.6.32. It updates gigabit related phy registers and basic definitions. Signed-off-by: Macpaul Lin macp...@andestech.com --- Change v1: pull header file from Linux. Change v2: clean up unused code for u-boot

Re: [U-Boot] [PATCH] MTD: Add support for S25FL032P spi nor-flash

2010-12-02 Thread Macpaul Lin
insertions(+), 1 deletions(-) +#define SPSN_EXT_ID_S25FL032P 0x4d00 -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] ftgmac100: support of gigabit eth ftgmac100

2010-12-10 Thread Macpaul Lin
with 10/100 PHY may not have wrong behavior with your 10/100 PHY. Because PHY usually return timeout or useless data when polling gigabit status and gigabit control registers. This behavior which won't affect the correctness of 10/100 link speed update. Signed-off-by: Macpaul Lin macp

Re: [U-Boot] [PATCH] ftgmac100: support of gigabit eth ftgmac100

2010-12-12 Thread Macpaul Lin
that kind of coding style and related issues, this code of ftgmac100 shouldn't be a problem. ;p 2010/12/13 Wolfgang Denk w...@denx.de: Dear Macpaul Lin, In message 1291969229-3884-1-git-send-email-macp...@andestech.com you wrote: Add Faraday's ftgmac100 (gigabit ethernet) MAC controller's driver

Re: [U-Boot] [PATCH v5] nds32: Add NDS32 architecture support (header files)

2010-12-14 Thread Macpaul Lin
will be suffered. ;-p. Otherwise, if your company doesn't want to open your u-boot's source code nor want to be include in the u-boot main source tree. Or you just want to try something with NDS32 just worked. You can apply patch v3 or patch v4 should be okay. -- Best regards, Macpaul Lin

[U-Boot] [PATCH v2] ftgmac100: support of gigabit eth ftgmac100

2010-12-14 Thread Macpaul Lin
Add Faraday's ftgmac100 (gigabit ethernet) MAC controller's driver. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2: - Coding Style cleanup - Makefile Order sorted - Volatile statement eliminated - Error handling added - Autonegotiation timeout value rechecked

[U-Boot] [PATCH] config.mk: add drivers as default include PATH

2010-12-14 Thread Macpaul Lin
the SoCs. Add this CPPFLAGS += -I$(TOPDIR)/drivers into the default include PATH will avoid such code #include ../../../../../drivers/mtd/flash.h So this patch is suggested. Signed-off-by: Macpaul Lin macp...@andestech.com --- config.mk |1 + 1 files changed, 1 insertions

Re: [U-Boot] [PATCH] config.mk: add drivers as default include PATH

2010-12-16 Thread Macpaul Lin
Dear Wolfgang, Thanks for your patience. 2010/12/15 Wolfgang Denk w...@denx.de Dear Macpaul Lin, In message 1292398049-3606-1-git-send-email-macp...@andestech.com you wrote: Some device drivers and their header files will invoke some definitions for assembly code. If a device

Re: [U-Boot] [PATCH v5] nds32: Add NDS32 architecture support (header files)

2010-12-16 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] config.mk: add drivers as default include PATH

2010-12-16 Thread Macpaul Lin
Dear Wolfgang, 2010/12/16 Wolfgang Denk w...@denx.de: Dear Macpaul Lin, 3. There is possibility we initialize device in lowlevel_init.S then reconfigure it in C level code. Such as sdram controller and flash controller. SDRAM should not be initialized in lowlevel_init.S. Please use

Re: [U-Boot] NEC OHCI chip bug

2010-12-20 Thread Macpaul Lin
of porting the component ftpci100. We are doing some hardware related configuration and digging out more details. Thanks a lot. Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3] ftgmac100: support of gigabit eth ftgmac100

2010-12-21 Thread Macpaul Lin
Add Faraday's ftgmac100 (gigabit ethernet) MAC controller's driver. Signed-off-by: Macpaul Lin macp...@andestech.com --- Changes for v2: - Coding Style cleanup - Makefile Order sorted - Volatile statement eliminated - Error handling added - Autonegotiation timeout value rechecked

[U-Boot] dlmalloc: sbrk_base error after cpu reset.

2010-12-23 Thread Macpaul Lin
the memory layout? Could anyone give some suggestion? Thanks a lot. -- Best regards, Macpaul Lin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] dlmalloc: sbrk_base error after cpu reset.

2010-12-23 Thread Macpaul Lin
Dear Wolfgang, 2010/12/23 Wolfgang Denk w...@denx.de: Dear Macpaul Lin, In message macp...@gmail.com you wrote: The problem is that, after the command reset under u-boot console. The cpu will do flush I/D cache , disable interrupt , redo mem_malloc_init(). Then redo the init process. I'm

[U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset

2010-12-30 Thread Macpaul Lin
on the platforms which CONFIG_SKIP_LOWLEVEL_INIT is enabled and do software reset by simply jump to the address CONFIG_SYS_TEXT_BASE. This patch also introduce a new define named CONFIG_FAST_RESET for developer to distinguish this method from other reset methods. Signed-off-by: Macpaul Lin macp

Re: [U-Boot] dlmalloc: sbrk_base error after cpu reset.

2010-12-30 Thread Macpaul Lin
HI all, 2010/12/24 Macpaul Lin macp...@gmail.com: Dear Wolfgang, 2010/12/23 Wolfgang Denk w...@denx.de: Dear Macpaul Lin, In message macp...@gmail.com you wrote: The problem is that, after the command reset under u-boot console. The cpu will do flush I/D cache , disable interrupt , redo

Re: [U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset

2011-01-02 Thread Macpaul Lin
HI Wolfgang, 2010/12/31 Wolfgang Denk w...@denx.de: Dear Macpaul Lin, In message 1293779628-9804-1-git-send-email-macp...@andestech.com you wrote: There are several way to reset the u-boot. To avoid confusion, we should try and agree on certain terms. Reset means (at least in U-Boot

Re: [U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset

2011-01-03 Thread Macpaul Lin
Dear Wolfgang, 2011/1/3 Wolfgang Denk w...@denx.de: Dear Macpaul Lin, In message aanlktimk=c1+avsjcrwtpg4hpkp6lvvu0ji6a_7b3...@mail.gmail.com you wrote: User could evaluate the board function with evb_board, then develops the product software by using u-boot and Linux kernel to simulate

Re: [U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset

2011-01-03 Thread Macpaul Lin
Dear Wolfgang, 2011/1/3 Wolfgang Denk w...@denx.de: Dear Macpaul Lin, In message aanlktinxxe=clrnxe48ahbom9m5jgyxncou+x0-6c...@mail.gmail.com you wrote: However, according to the current design specification, AndesTech is trying to provide a feature which made user could warm restart

Re: [U-Boot] [PATCH] common/dlmalloc: support reinit bin for fast reset

2011-01-03 Thread Macpaul Lin
Dear Wolfgang, 2011/1/3 Wolfgang Denk w...@denx.de: Dear Macpaul Lin, In message aanlktin9l0nhbaskgfdp6xr6w=ljrsoyenks_rrwp...@mail.gmail.com you wrote: Anything else? Thanks for your explanation about this during your vacation. I'll report this issue to suggestion the company to modify

[U-Boot] [PATCH 1/4] ftwdt010_wdt: support fara day ftwdt010 watchdog

2011-01-04 Thread Macpaul Lin
Faraday ftwdt010 watchdog is an architecture independant watchdog. It is usaually used in SoC chip design. Signed-off-by: Macpaul Lin macp...@andestech.com --- drivers/watchdog/Makefile |1 + drivers/watchdog/ftwdt010_wdt.c | 95 ++ drivers

[U-Boot] [PATCH v2] ftwdt010_wdt: support farad ay ftwdt010 watchdog

2011-01-04 Thread Macpaul Lin
Faraday ftwdt010 watchdog is an architecture independant watchdog. It is usaually used in SoC chip design. Signed-off-by: Macpaul Lin macp...@andestech.com --- Change v2: Fix the wrong title of ftwdt010_wdt patch. drivers/watchdog/Makefile |1 + drivers/watchdog/ftwdt010_wdt.c

[U-Boot] [PATCH v3] ftwdt010_wdt: support faraday ftwdt010 watchdog

2011-01-04 Thread Macpaul Lin
Faraday ftwdt010 watchdog is an architecture independant watchdog. It is usaually used in SoC chip design. Signed-off-by: Macpaul Lin macp...@andestech.com --- Change v2: Fix the wrong title of ftwdt010_wdt patch. Change v3: Patch v2 was encoded in utf-8. Fixed to ASCII. drivers/watchdog

[U-Boot] [PATCH 1/2] ftpmu010: support faraday ftpmu010 driver

2011-01-05 Thread Macpaul Lin
Faraday's ftpmu010 is a power managemnet unit which support cpu sleep and frequency scaling. It has been integrated into many SoC. This patch also move ftpmu010 to a proper place for later enhancement. Signed-off-by: Macpaul Lin macp...@andestech.com --- Note: This patch is the correct design

[U-Boot] [PATCH 2/2] a320evb: replace built-in ftpmu010 related code

2011-01-05 Thread Macpaul Lin
Replace built-in ftpmu010 related code in timer.c for shared driver support. Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/arm/cpu/arm920t/a320/timer.c | 22 ++ include/configs/a320evb.h |5 + 2 files changed, 7 insertions(+), 20 deletions

[U-Boot] [PATCH v2 1/2] ftpmu010: support faraday ftpmu010 driver

2011-01-05 Thread Macpaul Lin
Faraday's ftpmu010 is a power managemnet unit which support cpu sleep and frequency scaling. It has been integrated into many SoC. This patch also move ftpmu010 to a proper place for later enhancement. Signed-off-by: Macpaul Lin macp...@andestech.com --- Note: This patch is the correct design

[U-Boot] [PATCH v2 2/2] a320evb: replace built-in ftpmu010 related code

2011-01-05 Thread Macpaul Lin
Replace built-in ftpmu010 related code in timer.c for shared driver support. Signed-off-by: Macpaul Lin macp...@andestech.com --- Change v2 - Code cleanup arch/arm/cpu/arm920t/a320/timer.c | 22 ++ include/configs/a320evb.h |5 + 2 files changed, 7

Re: [U-Boot] [PATCH v2 2/2] a320evb: replace built-in ftpmu010 related code

2011-01-05 Thread Macpaul Lin
HI Reinhard, 2011/1/5 Reinhard Meyer u-b...@emk-elektronik.de: Dear Macpaul Lin, Replace built-in ftpmu010 related code in timer.c for shared driver support. Signed-off-by: Macpaul Linmacp...@andestech.com ---   static ulong timestamp;   static ulong lastdec; This is going to fail

[U-Boot] [PATCH] ftpmu010: fix relocation and enhance features

2011-01-06 Thread Macpaul Lin
is 4 bits at bit #20. (not 24-21) 2. ftpmu010.c: enhance features and fix relocation - The following functions is added for pmu features. ftpmu010_mfpsr_select_dev() ftpmu010_sdramhtc_set() - This patch also fix the declare statement for relocation. Signed-off-by: Macpaul Lin macp

[U-Boot] [PATCH 01/10] nds32: add nds32 arch with cpu support

2010-06-11 Thread Macpaul Lin
Add nds32 architecture with generic cpu core support. Add nds32 architecture with n1213s cpu core support. Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/nds32/config.mk | 32 +++ arch/nds32/cpu/Makefile | 52 arch/nds32/cpu

[U-Boot] [PATCH 03/10] nds32: add nds32 arch with lib support

2010-06-11 Thread Macpaul Lin
Add nds32 architecture with generic lib C files support. Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/nds32/lib/Makefile | 53 arch/nds32/lib/board.c | 341 +++ arch/nds32/lib/bootm.c | 209

[U-Boot] [PATCH 04/10] nds32: add nds32 board with ag101 support

2010-06-11 Thread Macpaul Lin
Add nds32 based board adp-ag101 support. Signed-off-by: Macpaul Lin macp...@andestech.com --- board/AndesTech/adp-ag101/Makefile| 60 ++ board/AndesTech/adp-ag101/adp-ag101.c | 144 + board/AndesTech/adp-ag101/config.mk | 46

[U-Boot] [PATCH 07/10] nds32: add nds32 with common support

2010-06-11 Thread Macpaul Lin
Add nds32 support in generic u-boot common functions. Signed-off-by: Macpaul Lin macp...@andestech.com --- common/cmd_bootm.c |2 ++ common/image.c |1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 8803202

[U-Boot] [PATCH 08/10] nds32: add nds32 with examples support

2010-06-11 Thread Macpaul Lin
Add nds32 with examples standalone program support. Signed-off-by: Macpaul Lin macp...@andestech.com --- examples/standalone/nds32.lds | 64 + examples/standalone/stubs.c | 17 +- examples/standalone/x86-testapp.c | 12

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

2010-10-19 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 macp...@andestech.com --- drivers/rtc/ftrtc010.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/rtc

[U-Boot] [PATCH v4 00/01] NDS32: Add NDS32 architecture support to u-boot.

2010-10-20 Thread Macpaul Lin
. Macpaul Lin (1): nds32: add header files support for nds32 Patch v1: First commit of NDS32 arch to u-boot, add ag101, adp-ag101 into u-boot. Patch v2: Clean up for Patch v1, and reorganize code of ag101 from a320. Patch v3: Clean up for Patch v2, and reordering and reduce the size and patches

[U-Boot] [PATCH 01/01] nds32: add header files support for nds32

2010-10-20 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 macp...@andestech.com --- arch/nds32/include/asm/bitops.h | 150 ++ arch/nds32/include/asm/byteorder.h| 36 arch/nds32

[U-Boot] [PATCH 0/2] NDS32: Add N1213 cpu core related stuff.

2010-10-25 Thread Macpaul Lin
of N1213 cpu core. File common.h is also required to be changed to support these files. Macpaul Lin (2): nds32: add NDS32 support into common header file nds32/Core_N1213: add N1213 cpu core support for NDS32 arch -- 1.7.3.1 ___ U-Boot mailing list

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

2010-10-25 Thread Macpaul Lin
Add NDS32 support into common header file. Signed-off-by: Macpaul Lin macp...@andestech.com --- include/common.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/common.h b/include/common.h index 6a79ec2..1f3bc32 100644 --- a/include/common.h +++ b/include

[U-Boot] [PATCH 2/2] nds32/Core_N1213: add N1213 cpu core support for NDS32 arch

2010-10-25 Thread Macpaul Lin
Memory Subsystem: - I D cache - I D local memory (LM) Bus Interface: - Synchronous/Asynchronous AHB bus: 0, 1 or 2 ports start.S will start up the CPU core at first, then jump to SoC dependent lowlevel_init.S and watchdog.S to configure peripheral devices. Signed-off-by: Macpaul Lin macp

[U-Boot] [PATCH 1/3] ftpmu010: move ftpmu010 power controller to drivers/power folder

2010-10-28 Thread Macpaul Lin
Move the header file and definitions of ftpmu010 power control unit from a320 SoC folder to drivers/power folder. This change will let other SoC which also use ftpmu010 could share the same header file. Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/arm/cpu/arm920t/a320/timer.c

[U-Boot] [PATCH 3/3] ftsdmc020: move ftsdmc020 sdram controller to driver/misc folder

2010-10-28 Thread Macpaul Lin
Move the header file and definitions of ftsdmc020 sdram control unit from a320 SoC folder to drivers/misc folder. This change will let other SoC which also use ftsdmc020 could share the same header file. Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/arm/include/asm/arch-a320

[U-Boot] [PATCH] ftsmc020: move ftsmc020 static mem controller to driver/mtd folder

2010-10-29 Thread Macpaul Lin
Move the header file and definitions of ftsmc020 static memory control unit from a320 SoC folder to drivers/mtd folder. This change will let other SoC which also use ftsmc020 could share the same header file. Signed-off-by: Macpaul Lin macp...@andestech.com --- arch/arm/cpu/arm920t/a320

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

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

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

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

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

2010-08-04 Thread Macpaul Lin
Add standalone program related support for nds32 architecture. Signed-off-by: Macpaul Lin macp...@andestech.com --- examples/standalone/nds32.lds | 64 + examples/standalone/stubs.c | 17 +- examples/standalone/x86-testapp.c | 12

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

2010-08-04 Thread Macpaul Lin
Add header files support for SoC ag101. Signed-off-by: Macpaul Lin macp...@andestech.com --- 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

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

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

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

2010-08-04 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 macp...@andestech.com --- drivers/rtc/ftrtc010.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/rtc

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

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

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

2010-08-04 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

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

2010-08-06 Thread Macpaul Lin
. So I resend the reply from gmail.) Best regards, Macpaul Lin 2010/8/6 macp...@andestech.com -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 Subject: Re: [U-Boot

[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 macp...@andestech.com --- 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 macp...@andestech.com --- 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

[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 macp...@andestech.com --- examples/standalone/nds32.lds | 64 + examples/standalone/stubs.c | 17 +- examples/standalone/x86-testapp.c | 12

[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 macp...@andestech.com --- arch/nds32/include/asm/andesboot.h| 242 +++ arch/nds32/include/asm/bitops.h | 150 ++ arch/nds32/include/asm/byteorder.h| 36 arch

  1   2   3   4   5   >