public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/6] stdio: Clean up
@ 2012-08-31 22:44 Marek Vasut
  2012-08-31 22:44 ` [U-Boot] [PATCH 1/6] stdio: dm: Remove dead code in console.c Marek Vasut
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Marek Vasut @ 2012-08-31 22:44 UTC (permalink / raw)
  To: u-boot

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@denx.de>
Cc: u-boot-dm at lists.denx.de

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-09-02  8:12 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-31 22:44 [U-Boot] [PATCH 0/6] stdio: Clean up Marek Vasut
2012-08-31 22:44 ` [U-Boot] [PATCH 1/6] stdio: dm: Remove dead code in console.c Marek Vasut
2012-08-31 22:44 ` [U-Boot] [PATCH 2/6] stdio: dm: Add accessors to stdio_devices[] Marek Vasut
2012-08-31 22:44 ` [U-Boot] [PATCH 3/6] stdio: dm: Make stdio_devices[] local Marek Vasut
2012-09-01 20:14   ` Marek Vasut
2012-09-01 23:11   ` Andreas Bießmann
2012-09-02  0:02     ` Marek Vasut
2012-09-02  8:12       ` Wolfgang Denk
2012-08-31 22:44 ` [U-Boot] [PATCH 4/6] stdio: dm: Add stdio_fd_to_name() call Marek Vasut
2012-08-31 22:44 ` [U-Boot] [PATCH 5/6] stdio: dm: Use stdio_fd_to_name() call to localize stdio_names Marek Vasut
2012-08-31 22:44 ` [U-Boot] [PATCH 6/6] stdio: dm: Optimize stdio_print_current_devices() Marek Vasut
2012-09-01 12:17 ` [U-Boot] [PATCH 0/6] stdio: Clean up Wolfgang Denk
2012-09-01 14:19   ` Marek Vasut
2012-09-01 16:33     ` Wolfgang Denk
2012-09-01 16:57       ` Marek Vasut
2012-09-01 20:00         ` Wolfgang Denk
2012-09-01 20:12           ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox