]> git.ipfire.org Git - people/ms/u-boot.git/commit
video: Drop unused console functions
authorSimon Glass <sjg@chromium.org>
Mon, 19 Oct 2015 03:17:18 +0000 (21:17 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:13:40 +0000 (20:13 -0700)
commit7fe0933c5898e5cce70407184fd458cf3ad9ee32
tree8c1019c021e7f6c864cb1ff2424bc7fd5d1994f4
parent1fa4bfde181c020274b9689af9b001c31ae43f0f
video: Drop unused console functions

CONFIG_CONSOLE_CURSOR, CONFIG_SYS_CONSOLE_BLINK_COUNT and
CONFIG_CONSOLE_TIME are not used by any board. The implementation is not
great and stands in the way of a refactor of i8042. Drop these for now.
They can be re-introduced quite easily later, perhaps with driver-model
real-time-clock (RTC) support.

When reintroducing, it might be useful to make a few changes:
- Blink time would be more useful than blink count
- The confusing #ifdefs should be avoided
- The time functions should support driver model
- It would be best keyed off console_tstc() or some similar idle loop
    rather than a particular input driver (i8042 in this case)

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
README
drivers/input/i8042.c
drivers/video/cfb_console.c
include/configs/MPC8536DS.h
include/configs/MPC8544DS.h
include/configs/MPC8572DS.h
include/configs/MPC8641HPCN.h