[U-Boot] [PATCH 01/13] lcd: move platform specific structs to their own headers

Simon Glass sjg at chromium.org
Sat Jan 31 01:24:22 CET 2015


Hi Nikita,

On 29 January 2015 at 04:21, Nikita Kiryanov <nikita at compulab.co.il> wrote:
> common/lcd code is full of platform specific code and definitions, which
> ideally should reside with the respective driver code. Take a step towards that
> goal by moving platform specific structs from lcd.h to their own header files.
>
> The structs for the generic case (the #else for all the platform specific
> cases) is retained in lcd.h as the default case.

platform-specific (i.e. add a hypen)

>
> Signed-off-by: Nikita Kiryanov <nikita at compulab.co.il>
> Cc: Bo Shen <voice.shen at atmel.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Anatolij Gustschin <agust at denx.de>
> ---
>  include/atmel_lcd.h  |  38 ++++++++++
>  include/exynos_lcd.h |  81 +++++++++++++++++++++
>  include/lcd.h        | 201 ++-------------------------------------------------
>  include/mpc823_lcd.h |  43 +++++++++++
>  include/pxa_lcd.h    |  80 ++++++++++++++++++++
>  5 files changed, 247 insertions(+), 196 deletions(-)
>  create mode 100644 include/atmel_lcd.h
>  create mode 100644 include/exynos_lcd.h
>  create mode 100644 include/mpc823_lcd.h
>  create mode 100644 include/pxa_lcd.h

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list