[U-Boot] [PATCH 0/6] stdio: Clean up
Marek Vasut
marex at denx.de
Sat Sep 1 00:44:09 CEST 2012
Clean up a few things in STDIO. Mostly, don't export structures directly,
but introduce some kind of accessors if needed and remove dead code.
NOTE: I'm still working on the "compile tested on 2 different architectures"
part. I'll keep you posted about that. I'd be glad for a review though.
I'd hate to pull in logic errors, especially into such critical code.
NOTE2: Cross-posting cover to DM list, so I get feedback from those guys.
Marek Vasut (6):
stdio: dm: Murder dead code in console.c
stdio: dm: Add accessors to stdio_devices[]
stdio: dm: Make stdio_devices[] local
stdio: dm: Add stdio_fd_to_name() call
stdio: dm: Use stdio_fd_to_name() call to localize stdio_names
stdio: dm: Optimize stdio_print_current_devices()
common/cmd_console.c | 8 ++---
common/cmd_terminal.c | 9 ++++--
common/console.c | 84 ++++++++++++++++++++++++++-----------------------
common/fdt_support.c | 8 ++++-
common/stdio.c | 46 +++++++++++++++++++++++++--
include/stdio_dev.h | 9 ++----
6 files changed, 110 insertions(+), 54 deletions(-)
Cc: Wolfgang Denk <wd at denx.de>
Cc: u-boot-dm at lists.denx.de
--
1.7.10.4
More information about the U-Boot
mailing list