Permalink
Browse files

Hack to turn off the "globe" led as soon as we're booted.

This is almost certainly board specific, but as this platform doesn't
have any notion of boards at this stage, I'm just committing this
hack to our tree.
  • Loading branch information...
1 parent c2ecc11 commit e9546d2857e7d5661357cb0ae99a8f572f212c54 @karlp karlp committed Nov 19, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 target/linux/atheros/patches-3.3/100-board.patch
@@ -2106,7 +2106,7 @@
+
--- /dev/null
+++ b/arch/mips/ar231x/ar2315.c
-@@ -0,0 +1,694 @@
+@@ -0,0 +1,696 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
@@ -2800,6 +2800,8 @@
+
+ _machine_restart = ar2315_restart;
+ ar231x_serial_setup(KSEG1ADDR(AR2315_UART0), ar2315_apb_frequency());
++ // Hack tastic, make sure the globe light is off at boot
++ gpio_set_value(5, 1);
+}
--- /dev/null
+++ b/arch/mips/ar231x/ar2315.h

0 comments on commit e9546d2

Please sign in to comment.