Blackfin: respect CONFIG_SYS_MONITOR_LEN for default flash protection
authorMike Frysinger <vapier@gentoo.org>
Mon, 6 Oct 2008 08:00:07 +0000 (04:00 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 28 Jan 2009 18:26:12 +0000 (13:26 -0500)
commitb6edc719a106ab7fa6e6950b4d97bc39c1368e45
treed64b0c991377806b39a7f4f5e1d9ca0249c83da6
parent78a0ba7dc24c9682371f6ee8549b569fb573a329
Blackfin: respect CONFIG_SYS_MONITOR_LEN for default flash protection

Respect the CONFIG_SYS_MONITOR_LEN define rather than assuming a size of
128kB when setting up the default flash protection region for U-Boot
itself.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
lib_blackfin/board.c