summaryrefslogtreecommitdiff
path: root/board/ifm/ac14xx
diff options
context:
space:
mode:
authorGerhard Sittig <gsi@denx.de>2013-06-05 14:51:06 +0200
committerWolfgang Denk <wd@denx.de>2013-06-24 22:25:57 +0200
commitb5992e77effcf15cbd50753fd85033a3f9887825 (patch)
treec6e0d58dff007afe2d7fd47ad3f37551de489b29 /board/ifm/ac14xx
parent186f9c130faa3e228b0db7f45de359748f78b1c3 (diff)
downloadu-boot-imx-b5992e77effcf15cbd50753fd85033a3f9887825.zip
u-boot-imx-b5992e77effcf15cbd50753fd85033a3f9887825.tar.gz
u-boot-imx-b5992e77effcf15cbd50753fd85033a3f9887825.tar.bz2
ac14xx: cleanup comments in the board support
fix typos, minor rephrasing, remove obsolete notes and TODO items Signed-off-by: Gerhard Sittig <gsi@denx.de>
Diffstat (limited to 'board/ifm/ac14xx')
-rw-r--r--board/ifm/ac14xx/ac14xx.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/board/ifm/ac14xx/ac14xx.c b/board/ifm/ac14xx/ac14xx.c
index f200b45..d45b7b2 100644
--- a/board/ifm/ac14xx/ac14xx.c
+++ b/board/ifm/ac14xx/ac14xx.c
@@ -37,7 +37,7 @@ static void gpio_configure(void)
/*
* out_be32(&gpioregs->gpdir, 0xC2293020);
- * workaround for a hardware affect: configure direction in pieces,
+ * workaround for a hardware effect: configure direction in pieces,
* setting all outputs at once drops the reset line too low and
* makes us lose the MII connection (breaks ethernet for us)
*/
@@ -330,8 +330,7 @@ int misc_init_r(void)
gpio_configure();
/*
- * check the GPIO keyboard,
- * enforced start of the recovery when
+ * enforce the start of the recovery system when
* - the appropriate keys were pressed
* - a previous installation was aborted or has failed
* - "some" external software told us to
@@ -339,13 +338,8 @@ int misc_init_r(void)
want_recovery = 0;
keys = gpio_querykbd();
printf("GPIO keyboard status [0x%08X]\n", keys);
- /* XXX insist in the _exact_ combination? */
if ((keys & GPIOKEY_BITS_RECOVERY) == GPIOKEY_BITS_RECOVERY) {
printf("GPIO keyboard requested RECOVERY\n");
- /* XXX TODO
- * refine the logic to detect the first keypress, and
- * wait to recheck IF it was the recovery combination?
- */
want_recovery = 1;
}
s = getenv("install_in_progress");