* [U-Boot] [PATCH] [v2] powerpc/t104xrdb: Update T1040RDB.h in config folder
@ 2014-01-27 8:37 Priyanka Jain
2014-02-03 20:14 ` [U-Boot] [U-Boot, v2] " York Sun
0 siblings, 1 reply; 2+ messages in thread
From: Priyanka Jain @ 2014-01-27 8:37 UTC (permalink / raw)
To: u-boot
-Add usb2 node entry in "hwconfig string"
-Remove controller interleaving from hwconfig string as T1040
has only one DDR conroller
-SPI related macros which were earlier under #ifdef CONFIG_SPIFLASH
are move outside so that they are defined for all cases as these
macros are also used by other u-boot code
-Add CONFIG_SYS_CSPR2_EXT to make cpld accessible in u-boot
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
---
Changes for v2:
correct usb1 string for ;
include/configs/T1040RDB.h | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/include/configs/T1040RDB.h b/include/configs/T1040RDB.h
index 65b4b26..f3e7882 100644
--- a/include/configs/T1040RDB.h
+++ b/include/configs/T1040RDB.h
@@ -80,10 +80,6 @@
#if defined(CONFIG_SPIFLASH)
#define CONFIG_SYS_EXTRA_ENV_RELOC
#define CONFIG_ENV_IS_IN_SPI_FLASH
-#define CONFIG_ENV_SPI_BUS 0
-#define CONFIG_ENV_SPI_CS 0
-#define CONFIG_ENV_SPI_MAX_HZ 10000000
-#define CONFIG_ENV_SPI_MODE 0
#define CONFIG_ENV_SIZE 0x2000 /* 8KB */
#define CONFIG_ENV_OFFSET 0x100000 /* 1MB */
#define CONFIG_ENV_SECT_SIZE 0x10000
@@ -203,6 +199,7 @@
/* CPLD on IFC */
#define CONFIG_SYS_CPLD_BASE 0xffdf0000
#define CONFIG_SYS_CPLD_BASE_PHYS (0xf00000000ull | CONFIG_SYS_CPLD_BASE)
+#define CONFIG_SYS_CSPR2_EXT (0xf)
#define CONFIG_SYS_CSPR2 (CSPR_PHYS_ADDR(CONFIG_SYS_CPLD_BASE_PHYS) \
| CSPR_PORT_SIZE_8 \
| CSPR_MSEL_GPCM \
@@ -387,6 +384,10 @@
#define CONFIG_CMD_SF
#define CONFIG_SF_DEFAULT_SPEED 10000000
#define CONFIG_SF_DEFAULT_MODE 0
+#define CONFIG_ENV_SPI_BUS 0
+#define CONFIG_ENV_SPI_CS 0
+#define CONFIG_ENV_SPI_MAX_HZ 10000000
+#define CONFIG_ENV_SPI_MODE 0
/*
* General PCI
@@ -628,9 +629,9 @@
#define __USB_PHY_TYPE utmi
#define CONFIG_EXTRA_ENV_SETTINGS \
- "hwconfig=fsl_ddr:ctlr_intlv=cacheline," \
- "bank_intlv=cs0_cs1;" \
- "usb1:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) "\0"\
+ "hwconfig=fsl_ddr:bank_intlv=cs0_cs1;" \
+ "usb1:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) ";"\
+ "usb2:dr_mode=host,phy_type=" __stringify(__USB_PHY_TYPE) "\0"\
"netdev=eth0\0" \
"uboot=" __stringify(CONFIG_UBOOTPATH) "\0" \
"ubootaddr=" __stringify(CONFIG_SYS_TEXT_BASE) "\0" \
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [U-Boot, v2] powerpc/t104xrdb: Update T1040RDB.h in config folder
2014-01-27 8:37 [U-Boot] [PATCH] [v2] powerpc/t104xrdb: Update T1040RDB.h in config folder Priyanka Jain
@ 2014-02-03 20:14 ` York Sun
0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2014-02-03 20:14 UTC (permalink / raw)
To: u-boot
On 01/27/2014 12:37 AM, Priyanka Jain wrote:
> -Add usb2 node entry in "hwconfig string"
>
> -Remove controller interleaving from hwconfig string as T1040
> has only one DDR conroller
>
> -SPI related macros which were earlier under #ifdef CONFIG_SPIFLASH
> are move outside so that they are defined for all cases as these
> macros are also used by other u-boot code
>
> -Add CONFIG_SYS_CSPR2_EXT to make cpld accessible in u-boot
>
> Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
> Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
>
> ---
> Changes for v2:
> correct usb1 string for ;
>
Applied to u-boot-mpc85xx master branch.
York
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-03 20:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-27 8:37 [U-Boot] [PATCH] [v2] powerpc/t104xrdb: Update T1040RDB.h in config folder Priyanka Jain
2014-02-03 20:14 ` [U-Boot] [U-Boot, v2] " York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox