Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
uboot-imx
Commits
46a3aeea
Commit
46a3aeea
authored
Mar 24, 2008
by
Anton Vorontsov
Committed by
Kim Phillips
Mar 25, 2008
Browse files
83xx: nand support for MPC837XRDB boards
Signed-off-by:
Anton Vorontsov
<
avorontsov@ru.mvista.com
>
parent
82e45a20
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/configs/MPC837XERDB.h
View file @
46a3aeea
...
...
@@ -275,6 +275,25 @@
#define CFG_FLASH_ERASE_TOUT 60000
/* Flash Erase Timeout (ms) */
#define CFG_FLASH_WRITE_TOUT 500
/* Flash Write Timeout (ms) */
/*
* NAND Flash on the Local Bus
*/
#define CFG_NAND_BASE 0xE0600000
/* 0xE0600000 */
#define CFG_BR1_PRELIM (CFG_NAND_BASE | \
(2 << BR_DECC_SHIFT) |
/* Use HW ECC */
\
BR_PS_8 |
/* Port Size = 8 bit */
\
BR_MS_FCM |
/* MSEL = FCM */
\
BR_V)
/* valid */
#define CFG_OR1_PRELIM (0xFFFF8000 |
/* length 32K */
\
OR_FCM_CSCT | \
OR_FCM_CST | \
OR_FCM_CHT | \
OR_FCM_SCY_1 | \
OR_FCM_TRLX | \
OR_FCM_EHTR)
#define CFG_LBLAWBAR1_PRELIM CFG_NAND_BASE
#define CFG_LBLAWAR1_PRELIM 0x8000000E
/* 32KB */
/* Vitesse 7385 */
#define CFG_VSC7385_BASE 0xF0000000
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment