summaryrefslogtreecommitdiff
path: root/include/nios2-io.h
diff options
context:
space:
mode:
authorJason Kridner <jkridner@beagleboard.org>2010-07-21 07:41:25 -0500
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-04 11:36:20 +0200
commitf835ea7158025818d69384a7ebd8c3de0f10a9f7 (patch)
treeec47ec61fbb7be808a19295fcf1a4854e9c08139 /include/nios2-io.h
parentf44047df3b365e0fdd9be367971ade81b9afdf15 (diff)
downloadu-boot-imx-f835ea7158025818d69384a7ebd8c3de0f10a9f7.zip
u-boot-imx-f835ea7158025818d69384a7ebd8c3de0f10a9f7.tar.gz
u-boot-imx-f835ea7158025818d69384a7ebd8c3de0f10a9f7.tar.bz2
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>
Diffstat (limited to 'include/nios2-io.h')
0 files changed, 0 insertions, 0 deletions