Dear =?UTF-8?q?Pali=20Roh=C3=A1r?=, In message <1335634011-9104-10-git-send-email-pali.ro...@gmail.com> you wrote: > * Command can be enabled by CONFIG_CMD_CLEAR > * Added some ANSI escape codes definitions in common.h > > Signed-off-by: Pali Rohár <pali.ro...@gmail.com> > Cc: Marcel Mol <mar...@mesa.nl> > --- > Changes since original version: > - Renamed command clr to clear > - Use puts instead printf > - Move cursor to pos1,1 > - Merged parts of patch "Add some ANSI escape codes definitions in > common.h" > > common/Makefile | 1 + > common/cmd_clear.c | 42 ++++++++++++++++++++++++++++++++++++++++++ > include/common.h | 7 +++++++ > include/config_cmd_all.h | 1 + > 4 files changed, 51 insertions(+) > create mode 100644 common/cmd_clear.c
Adding this to the config_cmd_all settings changes a _real_lot_ of board, most of which have zero interest in this function as they don't have any graphics display at all. Also, the ANSI control sequences should go into a separate header file, not into common.h . Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense. - E. W. Dijkstra _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot