
27 Jun
2018
27 Jun
'18
1:18 a.m.
On 26 June 2018 at 04:28, Mario Six mario.six@gdsys.cc wrote:
Add command to query information from and write text to on-screen display (OSD) devices.
Signed-off-by: Mario Six mario.six@gdsys.cc
v2 -> v3:
- Fixed style violations
- Moved gdsys legacy OSD cmds to their own file
- Made sure allocated buffer is always freed
- Improved error handling
- Improved documentation
v1 -> v2:
- Added explanation for what a OSD is
- Added explanation of the color parameter
- Moved GDSYS_LEGACY_OSD_CMDS to gdsys Kconfig
board/gdsys/common/Makefile | 2 + board/gdsys/common/osd_cmd.c | 146 ++++++++++++++++++++++ board/gdsys/mpc8308/Kconfig | 11 ++ cmd/Kconfig | 8 ++ cmd/Makefile | 1 + cmd/osd.c | 291 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 459 insertions(+) create mode 100644 board/gdsys/common/osd_cmd.c create mode 100644 cmd/osd.c
Reviewed-by: Simon Glass sjg@chromium.org