diff options
author | Jeremy Laine <jeremy.laine@m4x.org> | 2008-09-09 14:33:46 +0000 |
---|---|---|
committer | Jeremy Laine <jeremy.laine@m4x.org> | 2008-09-09 14:33:46 +0000 |
commit | 3cc9b4aa2f5ec60d084ad151eb3671bd4af10a6f (patch) | |
tree | ac1a2bd323f0cb5bd4906c922b19cdfb9d69e98c /packages/u-boot | |
parent | b82949797a1a4a917b149200336d5a1d9820e5a5 (diff) |
u-boot : add missing files for mpc8313e-rdb Vitesse switch
Diffstat (limited to 'packages/u-boot')
2 files changed, 76 insertions, 0 deletions
diff --git a/packages/u-boot/u-boot-1.3.2/u-boot-fsl-1.3.0-mpc8313erdb-fix-vitesse-7385-firmware.patch b/packages/u-boot/u-boot-1.3.2/u-boot-fsl-1.3.0-mpc8313erdb-fix-vitesse-7385-firmware.patch new file mode 100644 index 0000000000..060f8495de --- /dev/null +++ b/packages/u-boot/u-boot-1.3.2/u-boot-fsl-1.3.0-mpc8313erdb-fix-vitesse-7385-firmware.patch @@ -0,0 +1,45 @@ +From a91275155f2250040bb21e4a1bb7f44c5092f6a2 Mon Sep 17 00:00:00 2001 +From: Li Yang <leoli@freescale.com> +Date: Wed, 28 May 2008 11:18:55 +0800 +Subject: [PATCH] Fix Vitesse 7385 firmware loading problem + +Signed-off-by: Li Yang <leoli@freescale.com> +--- + include/configs/MPC8313ERDB.h | 13 +++++++------ + 1 files changed, 7 insertions(+), 6 deletions(-) + +diff --git a/include/configs/MPC8313ERDB.h b/include/configs/MPC8313ERDB.h +index 6568fe1..4e034ea 100644 +--- a/include/configs/MPC8313ERDB.h ++++ b/include/configs/MPC8313ERDB.h +@@ -184,7 +184,7 @@ + /* + * Local Bus LCRR and LBCR regs + */ +-#define CFG_LCRR LCRR_EADC_1 | LCRR_CLKDIV_2 /* 0x00010002 */ ++#define CFG_LCRR LCRR_EADC_1 | LCRR_CLKDIV_4 /* 0x00010004 */ + #define CFG_LBC_LBCR ( 0x00040000 /* TODO */ \ + | (0xFF << LBCR_BMT_SHIFT) \ + | 0xF ) /* 0x0004ff0f */ +@@ -467,12 +467,13 @@ + #define CFG_IBAT5L (CFG_IMMR | BATL_PP_10 | BATL_CACHEINHIBIT | BATL_GUARDEDSTORAGE) + #define CFG_IBAT5U (CFG_IMMR | BATU_BL_256M | BATU_VS | BATU_VP) + +-/* SDRAM @ 0xF0000000, stack in DCACHE 0xFDF00000 & FLASH @ 0xFE000000 */ +-#define CFG_IBAT6L (0xF0000000 | BATL_PP_10) +-#define CFG_IBAT6U (0xF0000000 | BATU_BL_256M | BATU_VS | BATU_VP) ++/* stack in DCACHE 0xFDF00000 & FLASH @ 0xFE000000 */ ++#define CFG_IBAT6L (0xF8000000 | BATL_PP_10) ++#define CFG_IBAT6U (0xF8000000 | BATU_BL_128M | BATU_VS | BATU_VP) + +-#define CFG_IBAT7L (0) +-#define CFG_IBAT7U (0) ++/* Vitesse 7385 switch @ 0xF0000000 */ ++#define CFG_IBAT7L (0xF0000000 | BATL_PP_10 | BATL_CACHEINHIBIT | BATL_GUARDEDSTORAGE) ++#define CFG_IBAT7U (0xF0000000 | BATU_BL_128M | BATU_VS | BATU_VP) + + #define CFG_DBAT0L CFG_IBAT0L + #define CFG_DBAT0U CFG_IBAT0U +-- +1.5.5.1.248.g4b17 + diff --git a/packages/u-boot/u-boot-1.3.2/u-boot-fsl-1.3.0-mpc8313erdb-performance-tuning-for-TSEC.patch b/packages/u-boot/u-boot-1.3.2/u-boot-fsl-1.3.0-mpc8313erdb-performance-tuning-for-TSEC.patch new file mode 100644 index 0000000000..2366842fe6 --- /dev/null +++ b/packages/u-boot/u-boot-1.3.2/u-boot-fsl-1.3.0-mpc8313erdb-performance-tuning-for-TSEC.patch @@ -0,0 +1,31 @@ +From 5c7efa5e60ec09810c5e2cdbb99872769116eb56 Mon Sep 17 00:00:00 2001 +From: Li Yang <leoli@freescale.com> +Date: Fri, 6 Jun 2008 11:44:32 +0800 +Subject: [PATCH] performance tuning for TSEC ports + +Increase transaction priority and TSEC clock. + +Signed-off-by: Li Yang <leoli@freescale.com> +--- + include/configs/MPC8313ERDB.h | 3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/include/configs/MPC8313ERDB.h b/include/configs/MPC8313ERDB.h +index 0f6db5b..710d3e8 100644 +--- a/include/configs/MPC8313ERDB.h ++++ b/include/configs/MPC8313ERDB.h +@@ -65,8 +65,11 @@ + /*#define CFG_8313ERDB_BROKEN_PMC 1 */ + #undef CFG_8313ERDB_BROKEN_PMC + ++/* Performance tuning */ + #define CFG_ACR_PIPE_DEP 3 /* Arbiter pipeline depth (0-3) */ + #define CFG_ACR_RPTCNT 3 /* Arbiter repeat count (0-7) */ ++#define CFG_SPCR_TSECEP 3 /* eTSEC emergency priority (0-3) */ ++#define CFG_SCCR_TSEC1CM 1 /* TSEC1/2 clock mode (0-3) */ + + /* + * DDR Setup +-- +1.5.5.1.248.g4b17 + |