[U-Boot-Users] [PATCH 5/6] TQM860M: adjust for doubled flash sector size.

Wolfgang Denk wd at denx.de
Mon Jul 30 17:50:57 CEST 2007


In message <20070724091947.20545.72133.stgit at tq-sewsrv-4.tq-net.de> you wrote:
> Adjust flash map to support the new S29GLxxN (N-Type) Flashes with
> doubled sector size.
> 
> Signed-off-by: Martin Krause <martin.krause at tqs.de>
> ---
> 
>  include/configs/TQM860M.h |   13 +++++++++----
>  1 files changed, 9 insertions(+), 4 deletions(-)
> 
> diff --git a/include/configs/TQM860M.h b/include/configs/TQM860M.h
> index df622d4..7530f62 100644
> --- a/include/configs/TQM860M.h
> +++ b/include/configs/TQM860M.h
> @@ -69,8 +69,13 @@
>  	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0"	\
>  	"rootpath=/opt/eldk/ppc_8xx\0"					\
>  	"bootfile=/tftpboot/TQM860M/uImage\0"				\
> -	"kernel_addr=40080000\0"					\
> -	"ramdisk_addr=40180000\0"					\
> +	"kernel_addr=400C0000\0"					\
> +	"ramdisk_addr=401C0000\0"					\
> +	"load=tftp 200000 ${u-boot}\0"					\
> +	"update=protect off 40000000 4003FFFF;"				\
> +		"erase 40000000 4003FFFF;"				\
> +		"cp.b 200000 40000000 ${filesize};"			\
> +		"protect on 40000000 4003FFFF\0"			\

See previous comments about using +${filesize} instead of hard coded
end addesses.

Best regards,

Wolfgang Denk

-- 
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
Save energy:  Drive a smaller shell.




More information about the U-Boot mailing list