Jason Kridner f835ea7158 BeagleBoard: Added userbutton command
Based on commit f1099c7c43caf5bac3bf6a65aa266fade4747072
    Author: Greg Turner <gregturner@ti.com>
    Date:   Tue May 25 09:19:06 2010 -0500

    New u-boot command for status of USER button on BeagleBoard-xM

         Modified bootcmd to check the staus at boot time and set
	 filename of the boot script.

* Moved to a BeagleBoard specific file.
* Removed changes to default boot command from adding userbutton
  command.
* Made to handle pre-xM boards.
* Flipped polarity of the return value to avoid confusion.  Success (0)
  is when the button is pressed.  Failure (1) is when the button is NOT
  pressed.
* Used latest revision getting function.
* Used latest macros for board revision.
* Added xM-C revision definition (optional, since it was default)
* updated default configuration with UserButton functionality
  * Added a separate bootenv variable to load a user defined .txt file
  * Added an example, showing how a different environment file can be loaded with
    the user button pressed

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>
Cc: Greg Turner <gregturner@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
2011-09-04 11:36:20 +02:00
..
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2011-07-26 16:34:41 +02:00
2011-07-11 13:24:20 -05:00
2011-08-04 23:30:38 +02:00
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2011-05-19 22:22:44 +02:00
2011-04-30 23:29:55 +02:00
2011-08-03 12:49:20 +02:00
2011-04-20 15:09:19 -05:00
2011-07-26 14:10:14 +02:00
2011-07-15 20:29:18 -05:00
2011-08-04 23:34:02 +02:00
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2011-08-01 15:19:40 +02:00
2011-07-26 16:29:27 +02:00
2011-06-22 20:00:51 +02:00
2011-04-29 07:32:48 -05:00
2011-08-01 15:19:40 +02:00
2011-08-01 15:19:40 +02:00