From: Kumar Gala Date: Fri, 23 Jan 2009 20:22:12 +0000 (-0600) Subject: 85xx: Use BR_ADDR macro for NAND chipselects X-Git-Tag: v2009.03-rc1~172^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72a9414a8e21e9536822c7353bc08d21ce5ad53d;p=kernel%2Fu-boot.git 85xx: Use BR_ADDR macro for NAND chipselects Use the new BR_ADDR macro to properly setup the address field of the localbus chipselects used by NAND. This allows us to deal with 36-bit phys on these boards in the future. Signed-off-by: Kumar Gala --- diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h index 63a0f7e..1898e26 100644 --- a/include/configs/MPC8536DS.h +++ b/include/configs/MPC8536DS.h @@ -256,7 +256,7 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy); #define CONFIG_SYS_NAND_BLOCK_SIZE (128 * 1024) /* NAND flash config */ -#define CONFIG_NAND_BR_PRELIM (CONFIG_SYS_NAND_BASE_PHYS \ +#define CONFIG_NAND_BR_PRELIM (BR_PHYS_ADDR(CONFIG_SYS_NAND_BASE_PHYS) \ | (2<