Skip to content
Snippets Groups Projects
  1. Dec 02, 2019
  2. Aug 11, 2019
  3. May 20, 2019
    • Leo Ruan's avatar
      splash: Load internal and external data from FIT · d5006836
      Leo Ruan authored
      
      The FIT image could contain the splash data in 3 different structure:
      - The splash data is embedded in FIT image (internal)
        In this case, the property 'data' presents in FIT image header. And
        internal information 'start' and 'end' represent the location and
        size of splash data inside of FIT image.
      - The splash data is external with absolute position in FIT image
        This case is made by 'mkimage -p [pos]'. The splash data is stored
        at the absolute position. Instead the property 'data', the properties
        'data-position' and 'data-size' are used to specify the location and
        size of the splash data.
      - the splash data is external with relative offset in FIT image
        This case is made by 'mkimage -E'. The splash data is placed after
        the FIT image header with 4 byte alignment. Instead the property
        'data', the properties 'data-offset' and 'data-size' are used to
        specify the location and size of the splash data.
      
      Currently, the splash only support to load external data with relative
      offset from FIT image. This commit make it possible to load the splash
      data embedded in FIT image or the external data with absolute position
      
      This inspiration comes from Simon Glass <sjg@chromium.org>, see
      common/spl_fit.c
      
      Signed-off-by: default avatarLeo Ruan <tingquan.ruan@cn.bosch.com>
      Signed-off-by: default avatarMark Jonas <mark.jonas@de.bosch.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
      d5006836
    • Leo Ruan's avatar
      splash: Use splashfile instead of location->name · 3d92f317
      Leo Ruan authored
      
      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: default avatarLeo Ruan <tingquan.ruan@cn.bosch.com>
      Signed-off-by: default avatarMark Jonas <mark.jonas@de.bosch.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
      Reviewed-by: default avatarTomas Melin <tomas.melin@vaisala.com>
      3d92f317
  4. May 07, 2018
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  5. Sep 04, 2017
    • Niko Mauno's avatar
      splash_source: Verify FIT magic · a7126edc
      Niko Mauno authored
      
      Before reading entire FIT image, add sanity check by testing image
      header against FDT_MAGIC. This should help avoid problems in situations
      where FIT is not yet available from storage device, for example when
      performing initial programming of device.
      
      Cc: Anatolij Gustschin <agust@denx.de>
      Acked-by: default avatarTomas Melin <tomas.melin@vaisala.com>
      a7126edc
  6. Sep 01, 2017
  7. Aug 28, 2017
    • Niko Mauno's avatar
      splash_source: Verify FIT magic · 22aa21db
      Niko Mauno authored
      
      Before reading entire FIT image, add sanity check by testing image
      header against FDT_MAGIC. This should help avoid problems in situations
      where FIT is not yet available from storage device, for example when
      performing initial programming of device.
      
      Cc: Anatolij Gustschin <agust@denx.de>
      Acked-by: default avatarTomas Melin <tomas.melin@vaisala.com>
      22aa21db
  8. Aug 17, 2017
  9. Aug 16, 2017
  10. Jul 12, 2017
  11. Jul 11, 2017
  12. Feb 27, 2017
  13. Jan 13, 2017
  14. Jul 25, 2016
    • Alexey Brodkin's avatar
      splash: Accommodate DM_USB in splash_init_usb() · d7b60fbf
      Alexey Brodkin authored
      
      Current implementation of splash_init_usb() requires usb_stor_scan()
      which doesn't exist in case of DM_USB simply because real probing
      happens right in usb_init().
      
      So disable usage of usb_stor_scan() in case of DM_USB.
      
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      Cc: Nikita Kiryanov <nikita@compulab.co.il>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Robert Winkler <robert.winkler@boundarydevices.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      d7b60fbf
  15. Jun 14, 2016
  16. Jun 04, 2016
    • Scott Wood's avatar
      nand: Embed mtd_info in struct nand_chip · b616d9b0
      Scott Wood authored
      
      nand_info[] is now an array of pointers, with the actual mtd_info
      instance embedded in struct nand_chip.
      
      This is in preparation for syncing the NAND code with Linux 4.6,
      which makes the same change to struct nand_chip.  It's in a separate
      commit due to the large amount of changes required to accommodate the
      change to nand_info[].
      
      Signed-off-by: default avatarScott Wood <oss@buserror.net>
      b616d9b0
  17. Nov 16, 2015
  18. Jan 29, 2015
  19. Nov 06, 2014
    • Igor Grinberg's avatar
      omap3: cm-t35: extract the splash code from board · f4a40f05
      Igor Grinberg authored
      
      The splash screen loading code can be reused by other compulab boards.
      For now extract it to a common location for further reuse.
      
      This also switches the splash code dependency from CONFIG_LCD to
      CONFIG_SPLASH_SCREEN as it should normally be.
      
      In addition this patch fixes the accidental dependency of the
      get_board_mem_timings() function on CONFIG_LCD, by just moving the
      splash code and leaving the above function intact.
      
      Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
      Reviewed-by: default avatarTom Rini <trini@ti.com>
      f4a40f05
Loading