[U-Boot] [PATCH] T4240RDB: Enable CONFIG_SYS_CORTINA_FW_IN_NOR config

2015-03-24 Thread Chunhe Lan
Now cortina driver uses macro CONFIG_SYS_CORTINA_FW_IN_NOR to define that firmware of cortina driver is stored in the nor flash. Signed-off-by: Chunhe Lan chunhe@freescale.com --- include/configs/T4240RDB.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include

[U-Boot] [PATCH] powerpc/t4rdb: Add SD boot support for T4240RDB board

2015-03-20 Thread Chunhe Lan
This patch adds SD boot support for T4240RDB board. SPL framework is used. PBL initializes the internal RAM and copies SPL to it. Then SPL initializes DDR using SPD and copies u-boot from SD card to DDR, finally SPL transfers control to u-boot. Signed-off-by: Chunhe Lan chunhe@freescale.com

[U-Boot] [PATCH] driver/ddr/fsl: Remove duplicate inclusion of header file

2014-12-19 Thread Chunhe Lan
The fsl_immap.h header file had been included in common.h header file. So remove duplicated header. Signed-off-by: Chunhe Lan chunhe@freescale.com --- drivers/ddr/fsl/ctrl_regs.c|1 - drivers/ddr/fsl/fsl_ddr_gen4.c |1 - drivers/ddr/fsl/util.c |1 - 3 files changed, 0

[U-Boot] [PATCH] powerpc/t4240rdb: Add alternate SerDes 2 protocol to align with RCW

2014-12-10 Thread Chunhe Lan
SerDes 2 protocol 56 is not valid any longer due to the new RCW; protocol 55 is used instead, so add SerDes 2 protocol 55 to align with RCW. Signed-off-by: Chunhe Lan chunhe@freescale.com --- board/freescale/t4rdb/eth.c |2 +- board/freescale/t4rdb/t4_rcw.cfg |4 ++-- 2 files

[U-Boot] [PATCH v2] powerpc/t4240rdb: Add alternate SerDes 2 protocol to align with RCW

2014-12-10 Thread Chunhe Lan
SerDes 2 protocol 56 is not valid any longer due to the new RCW; protocol 55 is used instead, so add SerDes 2 protocol 55 to align with RCW. Signed-off-by: Chunhe Lan chunhe@freescale.com --- board/freescale/t4rdb/eth.c |2 +- board/freescale/t4rdb/t4_rcw.cfg |4 ++-- 2 files

[U-Boot] [PATCH] powerpc/t4240rdb: Convert to use generic board code

2014-12-01 Thread Chunhe Lan
Signed-off-by: Chunhe Lan chunhe@freescale.com --- include/configs/T4240RDB.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h index 5ab1b47..eff1db9 100644 --- a/include/configs/T4240RDB.h +++ b/include/configs

[U-Boot] [PATCH] powerpc/hydra: Update MDIO mux fixups

2014-11-17 Thread Chunhe Lan
, but will ignore fsl,hydra-mdio-muxval. Signed-off-by: Chunhe Lan chunhe@freescale.com --- board/freescale/corenet_ds/eth_hydra.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/board/freescale/corenet_ds/eth_hydra.c b/board/freescale/corenet_ds/eth_hydra.c index 35825c4

[U-Boot] [PATCH] powerpc/p1023rdb: Enable configs to use generic board code

2014-11-06 Thread Chunhe Lan
Add configs: o CONFIG_SYS_GENERIC_BOARD o CONFIG_DISPLAY_BOARDINFO in P1023RDB config header file to use U-boot generic board code. Signed-off-by: Chunhe Lan chunhe@freescale.com --- include/configs/P1023RDB.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH] powerpc/c29xpcie: Enable configs to use generic board code

2014-11-06 Thread Chunhe Lan
Add configs: o CONFIG_SYS_GENERIC_BOARD o CONFIG_DISPLAY_BOARDINFO in C29XPCIE config header file to use U-boot generic board code. Signed-off-by: Chunhe Lan chunhe@freescale.com --- include/configs/C29XPCIE.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH v2] powerpc/t4rdb: Add support of CPLD

2014-10-20 Thread Chunhe Lan
This support of CPLD includes - Files and register definitions - Command to switch alternate bank - Command to switch default bank Signed-off-by: Chunhe Lan chunhe@freescale.com --- board/freescale/t4rdb/Makefile |1 + board/freescale/t4rdb/cpld.c | 136

[U-Boot] [PATCH] P1023RDB: Update default environment

2014-10-17 Thread Chunhe Lan
Signed-off-by: Chunhe Lan chunhe@freescale.com --- include/configs/P1023RDB.h | 43 +++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/include/configs/P1023RDB.h b/include/configs/P1023RDB.h index ba3da06..6b29add 100644 --- a/include

[U-Boot] [PATCH] powerpc/t4rdb: Add support of CPLD

2014-09-12 Thread Chunhe Lan
This support of CPLD includes - Files and register definitions - Command to switch alternate bank - Command to switch default bank Signed-off-by: Chunhe Lan chunhe@freescale.com --- board/freescale/t4rdb/Makefile |1 + board/freescale/t4rdb/cpld.c | 136

[U-Boot] [PATCH v2] powerpc/t4rdb: Add alternate serdes protocols to align with A-007186

2014-05-19 Thread Chunhe Lan
-off-by: Chunhe Lan chunhe@freescale.com --- board/freescale/t4rdb/eth.c |2 +- board/freescale/t4rdb/t4_rcw.cfg |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/freescale/t4rdb/eth.c b/board/freescale/t4rdb/eth.c index d220475..142c6a8 100644 --- a/board

[U-Boot] [PATCH v3] powerpc/t4rdb: Add alternate serdes protocols to align with A-007186

2014-05-19 Thread Chunhe Lan
-off-by: Chunhe Lan chunhe@freescale.com --- board/freescale/t4rdb/eth.c |2 +- board/freescale/t4rdb/t4_rcw.cfg |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/freescale/t4rdb/eth.c b/board/freescale/t4rdb/eth.c index d220475..142c6a8 100644 --- a/board

[U-Boot] [PATCH] powerpc/t4rdb: Add alternate serdes protocols to align with A-007186

2014-05-16 Thread Chunhe Lan
SRDS_PRTCL_Sx option. The alternate option has the same functionality as the original option; the only difference being LC VCO rather than Ring VCO. The alternate Protocols are: Serdes1: 27 instead of 28 Serdes2: Not impacted Serdes3: 1 instead of 2 Serdes4: 9 instead of 10 Signed-off-by: Chunhe

[U-Boot] [PATCH v3] fsl/pci: Add workaround for erratum A-005434

2014-05-06 Thread Chunhe Lan
By default, all PEX inbound windows PEX_PEXIWARn[TRGT] are mapped to 0xF, which is local memory. But for BSC9132, 0xF is CCSR, 0x0 is local memory. Signed-off-by: Minghuan Lian minghuan.l...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com --- arch/powerpc/cpu/mpc85xx

[U-Boot] [PATCH] powerpc/85xx: Add T4160RDB board support

2014-05-06 Thread Chunhe Lan
T4160RDB shares the same platform as T4240RDB. T4160 is a low power version of T4240, with the eight e6500 cores, two DDR3 controllers, and same peripheral bus interfaces. Signed-off-by: Chunhe Lan chunhe@freescale.com --- boards.cfg |1 + include/configs/T4240RDB.h

[U-Boot] [PATCH v2] fsl/pci: Add workaround for erratum A-005434

2014-05-05 Thread Chunhe Lan
. This patch can change the mapping of targets of inbound windows PEX_PEXIWARn[TRGT] to the following value: Local address space – 0x0 (from 0xF) Signed-off-by: Minghuan Lian minghuan.l...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com --- arch/powerpc/cpu/mpc85xx/cmd_errata.c

[U-Boot] [PATCH] net: phy/cortina: Add four phy addresses support

2014-04-29 Thread Chunhe Lan
Before CORTINA driver only supports two phy addresses. This patch adds the four phy addresses support for CORTINA PHY module. Signed-off-by: Chunhe Lan chunhe@freescale.com --- drivers/net/phy/cortina.c | 28 ++-- 1 files changed, 22 insertions(+), 6 deletions

[U-Boot] [PATCH] fsl/pci: Add workaround for erratum A-005434

2014-04-28 Thread Chunhe Lan
. This patch can change the mapping of targets of inbound windows PEX_PEXIWARn[TRGT] to the following value: Local address space – 0x0 (from 0xF) Signed-off-by: Minghuan Lian minghuan.l...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com --- arch/powerpc/cpu/mpc85xx/cmd_errata.c

[U-Boot] [PATCH] net: phy/vitesse: Add support for VSC8664 phy module

2014-04-16 Thread Chunhe Lan
This patch adds support for VSC8664 PHY module which can be found on Freescale's T4240RDB boards. Signed-off-by: Chunhe Lan chunhe@freescale.com --- drivers/net/phy/vitesse.c | 46 + 1 files changed, 46 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH] NAND: Add Micron MT29F16G identifier

2014-04-16 Thread Chunhe Lan
The Micron MT29F16G parts are 2048Mbytes x 8 bits 3.3V parts with the 0x48 identifier. Add these to the list of known devices IDs. Signed-off-by: Chunhe Lan chunhe@freescale.com --- drivers/mtd/nand/nand_ids.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers

[U-Boot] [PATCH] powerpc/85xx: Add T4240RDB board support

2014-04-14 Thread Chunhe Lan
UART: Dual RJ45 ports Signed-off-by: Chunhe Lan chunhe@freescale.com --- arch/powerpc/cpu/mpc85xx/t4240_ids.c |2 + board/freescale/t4rdb/Makefile | 12 + board/freescale/t4rdb/ddr.c | 118 ++ board/freescale/t4rdb/ddr.h | 78 board/freescale/t4rdb

[U-Boot] [PATCH] net/phy: Fix the phy id mask of AR8031

2013-11-01 Thread Chunhe Lan
The both AR8031 and AR8035 belong to Atheros 803x serial PHY. So the phy id mask of AR8031 is the same to the phy id mask of AR8035. The right mask value is 0x4f. This patch has been tested on the P1010 and P1023. Signed-off-by: Chunhe Lan chunhe@freescale.com Cc: Joe Hershberger

[U-Boot] [PATCH v3 2/2] fsl_i2c: add workaround for the erratum I2C A004447

2013-08-16 Thread Chunhe Lan
value 0x10, 0x11 and 0x20. The CONFIG_SYS_FSL_A004447_SVR_REV = 0x00 represents that one version of platform has this I2C errata. So enable this errata by IS_SVR_REV(svr, maj, min) function. Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com Cc

[U-Boot] [PATCH v3 1/2] fsl_i2c: generate nine pulses on SCL if the I2C bus is hung

2013-08-16 Thread Chunhe Lan
When the code detected that the bus is hung (e.g. SDA stuck low), send 9 pulses on SCL to try to fixup the bus. Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com Cc: Scott Wood scottw...@freescale.com Cc: Heiko Schocher h...@denx.de

[U-Boot] [PATCH v2 2/2] fsl_i2c: add workaround for the erratum I2C A004447

2013-08-01 Thread Chunhe Lan
value 0x10, 0x11 and 0x20. The CONFIG_SYS_FSL_A004447_SVR_REV = 0x00 represents that one version of platform has this I2C errata. So enable this errata by IS_SVR_REV(svr, maj, min) function. Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com Cc

[U-Boot] [PATCH v2 1/2] fsl_i2c: generate nine pulses on SCL if the I2C bus is hung

2013-08-01 Thread Chunhe Lan
When the code detected that the bus is hung (e.g. SDA stuck low), send 9 pulses on SCL to try to fixup the bus. Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com Cc: Scott Wood scottw...@freescale.com --- drivers/i2c/fsl_i2c.c | 58

[U-Boot] [PATCH 2/2] fsl_i2c: add workaround for the erratum I2C A004447

2013-07-26 Thread Chunhe Lan
this errata by IS_SVR_REV(svr, maj, min) function. Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com Cc: Scott Wood scottw...@freescale.com --- arch/powerpc/cpu/mpc85xx/cmd_errata.c |6 ++ arch/powerpc/include/asm

[U-Boot] [PATCH 1/2] fsl_i2c: generate nine pulses on SCL if the I2C bus is hung

2013-07-26 Thread Chunhe Lan
When the code detected that the bus is hung (e.g. SDA stuck low), send 9 pulses on SCL to try to fixup the bus. Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com Cc: Scott Wood scottw...@freescale.com --- drivers/i2c/fsl_i2c.c | 58

[U-Boot] [PATCH v4] powerpc/85xx: Add P1023RDB board support

2013-06-14 Thread Chunhe Lan
Type A ports I2C: AT24C08 8K Board EEPROM (8 bit address) Signed-off-by: Chunhe Lan chunhe@freescale.com Cc: Scott Wood scottw...@freescale.com --- arch/powerpc/cpu/mpc85xx/Makefile |1 + board/freescale/p1023rdb/Makefile | 33 +++ board/freescale/p1023rdb/ddr.c | 105

Re: [U-Boot] [PATCH v2] powerpc/85xx: Add P1023RDB board support

2013-06-13 Thread Chunhe Lan
On 06/12/2013 02:00 AM, Scott Wood wrote: On 06/09/2013 05:24:05 AM, Chunhe Lan wrote: +/* W**G* - Flash, localbus */ +/* This will be changed to *I*G* after relocation to RAM. */ +SET_TLB_ENTRY(1, CONFIG_SYS_FLASH_BASE, CONFIG_SYS_FLASH_BASE_PHYS, + MAS3_SX|MAS3_SW

[U-Boot] [PATCH v3] powerpc/85xx: Add P1023RDB board support

2013-06-13 Thread Chunhe Lan
Type A ports I2C: AT24C08 8K Board EEPROM (8 bit address) Signed-off-by: Chunhe Lan chunhe@freescale.com Cc: Scott Wood scottw...@freescale.com --- arch/powerpc/cpu/mpc85xx/Makefile |1 + board/freescale/p1023rdb/Makefile | 33 +++ board/freescale/p1023rdb/ddr.c | 105

[U-Boot] [PATCH v2] powerpc/85xx: Add P1023RDB board support

2013-06-09 Thread Chunhe Lan
Type A ports I2C: AT24C08 8K Board EEPROM (8 bit address) Signed-off-by: Chunhe Lan chunhe@freescale.com Cc: Scott Wood scottw...@freescale.com --- arch/powerpc/cpu/mpc85xx/Makefile |1 + board/freescale/p1023rdb/Makefile | 33 +++ board/freescale/p1023rdb/ddr.c | 105

[U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Chunhe Lan
Type A ports I2C: AT24C08 8K Board EEPROM (8 bit address) Signed-off-by: Chunhe Lan chunhe@freescale.com --- board/freescale/p1023rdb/Makefile | 32 +++ board/freescale/p1023rdb/law.c | 34 +++ board/freescale/p1023rdb/p1023rdb.c | 194 board/freescale/p1023rdb

Re: [U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Chunhe Lan
On 04/16/2013 09:57 PM, Sinan Akman wrote: Chunhe Lan wrote: P1023RDB Specification: --- Memory subsystem: 512MB DDR3 (Fixed DDR on board) 64MB NOR flash 128MB NAND flash Chunhe, what is the orderable part number of this board, I don't see anything on the FSL web

[U-Boot] [PATCH] powerpc/t4240: work around errata A-005977

2013-01-20 Thread Chunhe Lan
The PCI Express internal transmit and receive buffers are ECC protected. When these buffers are being read before they are written, a false multi-bit ECC error is likely to occur. So disable the PCI Express ECC error reporting. The Workaround is for the T4 silicon rev 1.0. Signed-off-by: Chunhe

Re: [U-Boot] [PATCH] powerpc/85xx: fix NAND boot linker scripts for -fpic

2012-05-02 Thread Chunhe Lan
Scott Wood wrote: GOT is now handled the way the main u-boot.lds does it. Without this, the boot hangs when built with newer GCC (since 4.6). Older toolchains hid the issue by converting -fpic to -fPIC. Signed-off-by: Scott Wood scottw...@freescale.com Tested-by: Chunhe Lan chunhe

Re: [U-Boot] [PATCH] PowerPC: Change -fpic flag to -fPIC flag in the config.mk

2012-04-18 Thread Chunhe Lan
Wolfgang Denk wrote: Dear Chunhe Lan, In message 1334719161-3500-1-git-send-email-chunhe@freescale.com you wrote: The -fPIC/-fpic flag belongs with -mrelocatable. The -fpic flag can limit the size of the GOT and produce smaller binaries, so it causes some GOT entries to be lost

[U-Boot] [PATCH] PowerPC: Change -fpic flag to -fPIC flag in the config.mk

2012-04-17 Thread Chunhe Lan
promotes -fpic flag to -fPIC flag. This reverts that portion of the commit 33ee4c92339ee386662c0ee2d221098c5cc8b07e. Signed-off-by: Chunhe Lan chunhe@freescale.com --- arch/powerpc/config.mk |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/config.mk b/arch

Re: [U-Boot] [PATCH 1/2 v5] fdt: Add a do_fixup_by_path_string() function

2011-08-30 Thread Chunhe Lan
On Tue, 30 Aug 2011 13:20:48 +0800, Wolfgang Denk w...@denx.de wrote: Dear Chunhe Lan, In message 1314675674-9825-1-git-send-email-chunhe@freescale.com you wrote: The do_fixup_by_path_string() will set the specified node's property to the value contained in status. It would just

Re: [U-Boot] [PATCH 2/2 v5] powerpc/p1023rds: Disable nor flash node and enable nand flash node

2011-08-30 Thread Chunhe Lan
On Tue, 30 Aug 2011 13:24:34 +0800, Wolfgang Denk w...@denx.de wrote: Dear Chunhe Lan, In message 1314675698-9847-1-git-send-email-chunhe@freescale.com you wrote: ... status = okay; ... When booting from nor flash, the status of nor node is null that means

[U-Boot] [PATCH 1/2 v6] fdt: Add a do_fixup_by_path_string() function

2011-08-30 Thread Chunhe Lan
The do_fixup_by_path_string() will set the specified node's property to the value contained in status. It would just be an inline wrapper for do_fixup_by_path() that calls strlen on the argument. Signed-off-by: Chunhe Lan chunhe@freescale.com --- Changes for v2: - renamed from

[U-Boot] [PATCH 2/2 v6] powerpc/p1023rds: Disable nor flash node and enable nand flash node

2011-08-30 Thread Chunhe Lan
= disabled; o Enable the NAND node by setting status = okay; Signed-off-by: Chunhe Lan chunhe@freescale.com --- Changes for v2: - used do_fixup_by_path_string() instead of fdt_set_node_status() Changes for v3: - none Changes for v4: - modified comments from Kumar Gala

[U-Boot] [PATCH 1/2 v4] fdt: Add a do_fixup_by_path_string() function

2011-08-29 Thread Chunhe Lan
The do_fixup_by_path_string() will set the specified node's property to the value contained in status. It would just be an inline wrapper for do_fixup_by_path() that calls strlen on the argument. Signed-off-by: Chunhe Lan chunhe@freescale.com --- include/fdt_support.h |7 +++ 1 files

[U-Boot] [PATCH 2/2 v4] powerpc/p1023rds: Disable nor flash node and enable nand flash node

2011-08-29 Thread Chunhe Lan
anything. But, when booting from nand flash, need to do some operations: o the status of nor node should be disabled. o the status of nand node should be enabled. Signed-off-by: Chunhe Lan chunhe@freescale.com --- board/freescale/p1023rds/p1023rds.c |5 + 1 files changed

Re: [U-Boot] [PATCH 2/2 v4] powerpc/p1023rds: Disable nor flash node and enable nand flash node

2011-08-29 Thread Chunhe Lan
On Mon, 29 Aug 2011 15:42:09 +0800, Wolfgang Denk w...@denx.de wrote: Dear Chunhe Lan, In message 1314602152-9114-1-git-send-email-chunhe@freescale.com you wrote: In the p1023rds, accessing exclusively nor flash or nand flash device by BR0/OR0. ... When booting from nor flash

Re: [U-Boot] [PATCH 2/2 v4] powerpc/p1023rds: Disable nor flash node and enable nand flash node

2011-08-29 Thread Chunhe Lan
On Tue, 30 Aug 2011 04:23:11 +0800, Tabi Timur-B04825 b04...@freescale.com wrote: On Mon, Aug 29, 2011 at 2:15 AM, Chunhe Lan chunhe@freescale.com wrote: In the p1023rds, accessing exclusively nor flash or nand flash device by BR0/OR0. This is not an English sentence. I do

[U-Boot] [PATCH 1/2 v5] fdt: Add a do_fixup_by_path_string() function

2011-08-29 Thread Chunhe Lan
The do_fixup_by_path_string() will set the specified node's property to the value contained in status. It would just be an inline wrapper for do_fixup_by_path() that calls strlen on the argument. Signed-off-by: Chunhe Lan chunhe@freescale.com --- include/fdt_support.h |7 +++ 1 files

[U-Boot] [PATCH 2/2 v5] powerpc/p1023rds: Disable nor flash node and enable nand flash node

2011-08-29 Thread Chunhe Lan
should be disabled. o the status of nand node should be enabled. Signed-off-by: Chunhe Lan chunhe@freescale.com --- board/freescale/p1023rds/p1023rds.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/board/freescale/p1023rds/p1023rds.c b/board/freescale

Re: [U-Boot] [PATCH 2/2 v3] powerpc/p1023rds: Enable nand node and disable nor node

2011-08-28 Thread Chunhe Lan
On Mon, 29 Aug 2011 02:14:20 +0800, Kumar Gala kumar.g...@freescale.com wrote: On Aug 17, 2011, at 1:24 AM, Chunhe Lan wrote: In the p1023rds, accessing exclusively nor flash or nand flash device by BR0/OR0. When booting from nor flash, nand node is disabled and nor node is enabled

Re: [U-Boot] [PATCH 1/2 v3] fdt: Add a do_fixup_by_path_string() function

2011-08-28 Thread Chunhe Lan
On Mon, 29 Aug 2011 02:15:15 +0800, Kumar Gala kumar.g...@freescale.com wrote: On Aug 17, 2011, at 1:24 AM, Chunhe Lan wrote: The do_fixup_by_path_string() will set the specified node's property to the value contained in status. It would just be a wrapper for do_fixup_by_path

[U-Boot] [PATCH 2/2 v3] powerpc/p1023rds: Enable nand node and disable nor node

2011-08-17 Thread Chunhe Lan
In the p1023rds, accessing exclusively nor flash or nand flash device by BR0/OR0. When booting from nor flash, nand node is disabled and nor node is enabled in the default dtb. So, when booting from nand flash, nand node should be enabled and nor node should be disabled. Signed-off-by: Chunhe Lan

[U-Boot] [PATCH 1/2 v3] fdt: Add a do_fixup_by_path_string() function

2011-08-17 Thread Chunhe Lan
The do_fixup_by_path_string() will set the specified node's property to the value contained in status. It would just be a wrapper for do_fixup_by_path() that calls strlen on the argument. Signed-off-by: Chunhe Lan chunhe@freescale.com --- include/fdt_support.h |7 +++ 1 files changed

[U-Boot] [PATCH 1/2 v2] fdt: Add a do_fixup_by_path_string() function

2011-08-16 Thread Chunhe Lan
The do_fixup_by_path_string() will set the specified node's property to the value contained in status. It would just be a wrapper for do_fixup_by_path() that calls strlen on the argument. Signed-off-by: Chunhe Lan chunhe@freescale.com --- common/fdt_support.c |8 +++- include

[U-Boot] [PATCH 2/2 v2] powerpc/p1023rds: Enable nand node and disable nor node

2011-08-16 Thread Chunhe Lan
In the p1023rds, accessing exclusively nor flash or nand flash device by BR0/OR0. When booting from nor flash, nand node is disabled and nor node is enabled in the default dtb. So, when booting from nand flash, nand node should be enabled and nor node should be disabled. Signed-off-by: Chunhe Lan

[U-Boot] [PATCH 1/2] fdt: Add a fdt_set_node_status function

2011-08-11 Thread Chunhe Lan
Add a fdt_set_node_status function that will set the specified node's status to the value contained in status. If the node doesn't have status property that will be created. Signed-off-by: Chunhe Lan chunhe@freescale.com --- common/fdt_support.c | 17 - include

[U-Boot] [PATCH 2/2] powerpc/p1023rds: Enable nand node and disable nor node

2011-08-11 Thread Chunhe Lan
In the p1023rds, accessing exclusively nor flash or nand flash device by BR0/OR0. When booting from nor flash, nand node is disabled and nor node is enabled in the default dtb. So, when booting from nand flash, nand node should be enabled and nor node should be disabled. Signed-off-by: Chunhe Lan