Skip to contentSkip to conversation

configs/FADS860T.h

U-Boot-Users Nye Liu 2 participants 3 messages May 23, 2003

lore
Share & tools
lore

Nye Liu

author
#0 lore raw

None of these values from include/configs/FADS860T.h are used in boards/fads/fads.c...

Is somebody else working in fads.c other than me currently? I am about to rewrite large portions of it.

--------------- snip ---------------

/* periodic timer for refresh */
#define CFG_MAMR_PTA 97 /* start with divider for 100 MHz */

/* refresh rate 15.6 us (= 64 ms / 4K = 62.4 / quad bursts) for <= 128 MBit     */
#define CFG_MPTPR_2BK_4K        MPTPR_PTP_DIV16         /* setting for 2 banks  */
#define CFG_MPTPR_1BK_4K        MPTPR_PTP_DIV32         /* setting for 1 bank   */
/* refresh rate 7.8 us (= 64 ms / 8K = 31.2 / quad bursts) for 256 MBit         */
#define CFG_MPTPR_2BK_8K        MPTPR_PTP_DIV8          /* setting for 2 banks  */
#define CFG_MPTPR_1BK_8K        MPTPR_PTP_DIV16         /* setting for 1 bank   */

/*
* MAMR settings for SDRAM
*/

/* 8 column SDRAM */

#define CFG_MAMR_8COL   ((CFG_MAMR_PTA << MAMR_PTA_SHIFT)  | MAMR_PTAE      |   \
                         MAMR_AMA_TYPE_0 | MAMR_DSA_1_CYCL | MAMR_G0CLA_A11 |   \
                         MAMR_RLFA_1X    | MAMR_WLFA_1X    | MAMR_TLFA_4X)
/* 9 column SDRAM */
#define CFG_MAMR_9COL   ((CFG_MAMR_PTA << MAMR_PTA_SHIFT)  | MAMR_PTAE      |   \
                         MAMR_AMA_TYPE_1 | MAMR_DSA_1_CYCL | MAMR_G0CLA_A10 |   \
                         MAMR_RLFA_1X    | MAMR_WLFA_1X    | MAMR_TLFA_4X)

#define CFG_MAMR 0x13a01114

Signature · 6 lines
Nye Liu
[email protected]
(818) 772-6235x248

"Who would be stupid enough to quote a fictitious character?"
	-- Don Quixote
#1 lore raw

Dear Nye,

Quoted 2 lines · in message <[email protected]> you wrote:

None of these values from include/configs/FADS860T.h are used in boards/fads/fads.c...

I think these are the remainder of copy & paste actions without much thought about what was being copied and why.

Quoted 2 lines

Is somebody else working in fads.c other than me currently? I am about to rewrite large portions of it.

I don't know of ay such activities. And I appreciate your efford. The FADS code definitely needs some cleanup.

[OTOH: why spend effort on flakey hardware?]

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"There is no distinctly American criminal class except Congress."
- Mark Twain
author
#2 lore raw
Quoted 1 line · Wolfgang Denk

[OTOH: why spend effort on flakey hardware?]

Believe it or not, the brand new 8xxADS eval board isn't bad; i've got it mostly working now...

Signature · 6 lines
Nye Liu
nliu at mrv.com
(818) 772-6235x248

"Who would be stupid enough to quote a fictitious character?"
	-- Don Quixote