20 May, 2019

1 commit

  • The splash image could be loaded from different sources (e.g. sf, mmc)
    with different formats (e.g. raw, file-system). These sources are
    structured by a board dependent object 'splash_location'. To decide
    where is the splash image loaded, following environment variables are
    used to select the splash source and file:
    - 'splashsource' is used to select the splash source by setting its
    value to specified name of splash location.
    - 'splashfile' specify the name of splash image file

    But, when loads the splash image from FIT, the name of splash image
    within FIT is specified by splash location name. Due to the splash
    location name is already used for the splash source, its name may
    conflicts with the name of splash image.

    To solve the conflict, the environment variable 'splashfile' is used
    to specify the splash image in FIT, and keeps the splash location
    name for the splash source.

    Signed-off-by: Leo Ruan
    Signed-off-by: Mark Jonas
    Reviewed-by: Simon Glass
    Reviewed-by: Stefano Babic
    Reviewed-by: Tomas Melin

    Leo Ruan
     

14 Jan, 2017

1 commit


16 Nov, 2015

1 commit


30 Jan, 2015

1 commit

  • Move board/compulab/common/splash.c code to
    common/splash_source.c to make it available for everybody. This move
    renames cl_splash_screen_prepare() to splash_source_load(), and
    the compilation of this code is conditional on CONFIG_SPLASH_SOURCE.

    splash_source features:
    * Provide a standardized way for declaring board specific splash screen
    locations
    * Provide existing routines for auto loading the splash image from the
    locations as declared by the board
    * Introduce the "splashsource" environment variable, which makes it
    possible to select the splash image source.

    cm-t35 and cm-fx6 are updated to use the modified version.

    Signed-off-by: Nikita Kiryanov
    Cc: Stefano Babic
    Cc: Tom Rini
    Cc: Igor Grinberg
    Cc: Anatolij Gustschin
    Reviewed-by: Tom Rini
    Acked-by: Igor Grinberg

    Nikita Kiryanov
     

02 Jul, 2013

1 commit