From: Sonic Zhang Date: Mon, 15 Jun 2009 07:39:19 +0000 (+0000) Subject: Blackfin: fix accidental reset in some boot modes X-Git-Tag: v2.6.31-rc1~44^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0de4adfb8c9674fa1572b0ff1371acc94b0be901;p=pandora-kernel.git Blackfin: fix accidental reset in some boot modes We read the SWRST (Software Reset) register to get at the last reset state, and then we may configure the DOUBLE_FAULT bit to control behavior when a double fault occurs. But if the lower bits of the register is already set (like UART boot mode on a BF54x), we inadvertently make the system reset by writing to the SYSTEM_RESET field at the same time. So make sure the lower 4 bits are always cleared. Signed-off-by: Sonic Zhang Signed-off-by: Mike Frysinger --- Reading git-diff-tree failed