aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini2013-04-16 15:31:20 -0500
committerTom Rini2013-05-10 07:25:55 -0500
commit8ce4e5f9329183a162775946558092166cb7cab3 (patch)
tree463ff965dcce35f56e116f7fe7a376fe4409cb30
parent2335b653d1cb971ddc467f85051fd850c3cd4a10 (diff)
downloadu-boot-8ce4e5f9329183a162775946558092166cb7cab3.tar.gz
u-boot-8ce4e5f9329183a162775946558092166cb7cab3.tar.xz
u-boot-8ce4e5f9329183a162775946558092166cb7cab3.zip
beagleboard: Update comment in get_board_rev()
We are able to tell the difference between xM Rev Ax/Bx and xM Rev Cx, and have been for some time. The comment above the function however did not list this, so update. Signed-off-by: Tom Rini <trini@ti.com>
-rw-r--r--board/ti/beagle/beagle.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index 3d9b6dd8fd..c686f40a93 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -108,13 +108,14 @@ int board_init(void)
108/* 108/*
109 * Routine: get_board_revision 109 * Routine: get_board_revision
110 * Description: Detect if we are running on a Beagle revision Ax/Bx, 110 * Description: Detect if we are running on a Beagle revision Ax/Bx,
111 * C1/2/3, C4 or xM. This can be done by reading 111 * C1/2/3, C4, xM Ax/Bx or xM Cx. This can be done by reading
112 * the level of GPIO173, GPIO172 and GPIO171. This should 112 * the level of GPIO173, GPIO172 and GPIO171. This should
113 * result in 113 * result in
114 * GPIO173, GPIO172, GPIO171: 1 1 1 => Ax/Bx 114 * GPIO173, GPIO172, GPIO171: 1 1 1 => Ax/Bx
115 * GPIO173, GPIO172, GPIO171: 1 1 0 => C1/2/3 115 * GPIO173, GPIO172, GPIO171: 1 1 0 => C1/2/3
116 * GPIO173, GPIO172, GPIO171: 1 0 1 => C4 116 * GPIO173, GPIO172, GPIO171: 1 0 1 => C4
117 * GPIO173, GPIO172, GPIO171: 0 0 0 => xM 117 * GPIO173, GPIO172, GPIO171: 0 1 0 => xM Cx
118 * GPIO173, GPIO172, GPIO171: 0 0 0 => xM Ax/Bx
118 */ 119 */
119static int get_board_revision(void) 120static int get_board_revision(void)
120{ 121{