[U-Boot-Users] [PATCH] mpc83xx: Suppress the warning 'burstlen'

suppress the warning 'burstlen' of spd_sdram.
Signed-off-by: Dave Liu daveliu@freescale.com --- cpu/mpc83xx/spd_sdram.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cpu/mpc83xx/spd_sdram.c b/cpu/mpc83xx/spd_sdram.c index 2c17cee..54f0c83 100644 --- a/cpu/mpc83xx/spd_sdram.c +++ b/cpu/mpc83xx/spd_sdram.c @@ -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 {

In message 1186732139.3678.3.camel@localhost.localdomain you wrote:
suppress the warning 'burstlen' of spd_sdram.
Signed-off-by: Dave Liu daveliu@freescale.com
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

In message 1186732139.3678.3.camel@localhost.localdomain you wrote:
suppress the warning 'burstlen' of spd_sdram.
Signed-off-by: Dave Liu daveliu@freescale.com
Sorry, my fault.
Applied.
Best regards,
Wolfgang Denk
participants (2)
-
Dave Liu
-
Wolfgang Denk