mips: qemu-mips/64: Remove obsolete CONFIG_SYS_MONITOR_LEN from config
authorKyle Edwards <kyleedwardsny@gmail.com>
Thu, 13 Apr 2017 02:42:31 +0000 (22:42 -0400)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 21 Apr 2017 11:54:47 +0000 (13:54 +0200)
commit9828d050cf5026b27c6acdf615c5161b5a269092
tree3c365470f12f4daafd7c11cdc3cd6e83917b5832
parentf6c1df44b815a08585e7fd3805a1db51a5955d09
mips: qemu-mips/64: Remove obsolete CONFIG_SYS_MONITOR_LEN from config

This fixes an issue with the saveenv command causing U-Boot to no
longer work on the QEMU Mips pseudoboard. Because the offset of the
environment was being determined by CONFIG_SYS_MONITOR_LEN, and this
value was less than the actual size of U-Boot, saveenv was overwriting
parts of the U-Boot code. Because CONFIG_SYS_MONITOR_LEN is no longer
used on MIPS, this patch removes it and places the environment at the
end of the pseudoboard's 4MB flash.

Signed-off-by: Kyle Edwards <kyleedwardsny@gmail.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
include/configs/qemu-mips.h
include/configs/qemu-mips64.h