
28 Apr
2010
28 Apr
'10
1:12 p.m.
Wolfgang Denk wrote:
The "mtdparts add" command wrote through a NULL pointer - on many systems this went unnoticed (PowerPC has writable RAM there, some ARM systems have ROM where a write has no effect), but on arm1136 (i.MX31) it crashed the system.
Add appropriate checks.
Hi Wolfgang,
I have already sent a patch fixing this issue,
http://lists.denx.de/pipermail/u-boot/2010-April/070347.html
However, I preferred (easier way) to fix the calling function as the device_parse(). I do not know if Stefan has already merged it.
Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de
=====================================================================