mpc83xx: Suppress the warning 'burstlen'
PATCH 1/1 mpc83xx: Suppress the warning 'burstlen'
suppress the warning 'burstlen' of spd_sdram.
Signed-off-by Dave Liu <[email protected]>
--- cpu/mpc83xx/spd_sdram.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
cpu/mpc83xx/spd_sdram.c +1 -1
@@ -576,7 +576,7 @@ long int spd_sdram()if (spd.dataw_lsb ==0x20 ) {if (spd.mem_type ==SPD_MEMTYPE_DDR ) burstlen =0x03 ;/* 32 bit data bus, burst len is 8 */ -if (spd.mem_type ==SPD_MEMTYPE_DDR2 ) +else burstlen =0x02 ;/* 32 bit data bus, burst len is 4 */ printf ("\n DDR DIMM: data bus width is 32 bit" ); }else {
Signature · 1 line
1.5.3.rc2.29.gc4640f
PATCH 1/1 mpc83xx: Suppress the warning 'burstlen'
Quoted 3 lines · In message <[email protected]> you wrote:
suppress the warning 'burstlen' of
spd_sdram.Signed-off-by Dave Liu <[email protected]>
Sorry, this does not work:
error: patch failed: cpu/mpc83xx/spd_sdram.c:576
error: cpu/mpc83xx/spd_sdram.c: patch does not apply
fatal: sha1 information is lacking or useless (cpu/mpc83xx/spd_sdram.c).
Patch does not record usable index information. Cannot fall back to three-way merge.
Patch failed at 0001.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Administration: An ingenious abstraction in politics, designed to receive the kicks and cuffs due to the premier or president. - Ambrose Bierce
Wolfgang Denk
AppliedPATCH 1/1 mpc83xx: Suppress the warning 'burstlen'
In reply to Dave LiuQuoted 3 lines · In message <[email protected]> you wrote:
suppress the warning 'burstlen' of
spd_sdram.Signed-off-by Dave Liu <[email protected]>
Sorry, my fault.
Applied.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Computers are not intelligent. They only think they are.