From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann Vernier Date: Thu, 9 Aug 2012 15:33:07 +0200 Subject: [U-Boot] [PATCH 09/11] arm: ks8695/cm4xxx: don't reconfigure switch In-Reply-To: <20120706133342.47ace724@aari01-12> References: <20120706133342.47ace724@aari01-12> Message-ID: <20120809153307.518db695@latmask.vernier.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de A small bug caused code to set up LEDs to instead disable lots of functionality in the Ethernet switch, including bounds checks. Signed-off-by: Yann Vernier --- arch/arm/cpu/arm920t/ks8695/lowlevel_init.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S b/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S index bec9738..31b028b 100644 --- a/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S +++ b/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S @@ -205,7 +205,7 @@ highflash: ldr r1, =(KS8695_IO_BASE+KS8695_SWITCH_CTRL0) ldr r2, [r1] /* Get switch ctrl0 register */ - and r2, r2, #0x0fc00000 /* Mask out LED control bits */ + bic r2, r2, #0x0fc00000 /* Mask out LED control bits */ orr r2, r2, #0x01800000 /* Set Link/activity/speed actions */ str r2, [r1] -- 1.7.10.4