cleanup and refactor lcd.c
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 12 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 12 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Stephen Warren |
|---|---|
| Series | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH V2 00/12] cleanup and refactor lcd.c
Quoted 19 lines · Nikita Kiryanov
This series is a first step towards an end goal of merging all
CONFIG_LCDrelated functionality intoCONFIG_VIDEOcode. My plan is to start by refactoringlcd.cinto something cleaner (less ifdefs) and more modular (split code into multiple files), then possibly refactorCONFIG_VIDEOcode if needed, and then
finally: moveCONFIG_LCDrelated functionality over toCONFIG_VIDEOcode, replacing as muchCONFIG_LCDrelated code withCONFIG_VIDEOrelated code as possible.This specific step eliminates some unused code and refactors lcd console stuff into its own file.
In V2 I broke the last patch of the original series ("lcd: refactor lcd console stuff into its own file") into multiple patches to make it clear what changes had to be done in order to refactor the lcd console code into its own file. These preparatory patches ("lcd: rename
console_(row|col)" to "lcd: makelcd_drawchars()independant oflcd_base") are meant to illustrate exactly what changed and where in the transition fromlcd.ctolcd_console.c, and are not necesserily code improvements when viewed out of context.
Quoted 5 lines
Additional changes in V2:
- Added documentation for the new functions.The whole series was rebased over current mainline, and compile tested for arm and powerpc.
HDMI support still seems to work on Raspberry Pi with this applied, so,