06 Feb, 2020

2 commits

  • At present dm/device.h includes the linux-compatible features. This
    requires including linux/compat.h which in turn includes a lot of headers.
    One of these is malloc.h which we thus end up including in every file in
    U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
    which needs to use the system malloc() in some files.

    Move the compatibility features into a separate header file.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • At present only a 16bpp display is supported for Truetype fonts. Add
    support for 32bpp also since this is quite common.

    Signed-off-by: Simon Glass
    Reviewed-by: Anatolij Gustschin

    Simon Glass
     

07 May, 2018

1 commit

  • 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: Tom Rini

    Tom Rini
     

22 Feb, 2016

1 commit


30 Jan, 2016

5 commits

  • This font is a little more ornate than normal. Example uses are on security
    screens where a feeling of formality is required.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This can be used when a a friendly 'hand-writing' font is needed. It helps
    to make the device feel familiar.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This can be used when a mono-space font is needed, but the console font
    is too small (such as with high-DPI displays).

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This provides a good-looking font for user prompts.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • The existing 8x16 font is adequate for most purposes. It is small and fast.
    However for boot screens where information must be presented to the user,
    the console font is not ideal. Common requirements are larger and
    better-looking fonts.

    This console driver can use TrueType fonts built into U-Boot, and render
    them at any size. This can be used in scripts to place text as needed on
    the display.

    This driver is not really designed to operate with the command line. Much
    of U-Boot expects a fixed-width font. But to keep things working correctly,
    rudimentary support for the console is provided. The main missing feature is
    support for command-line editing.

    Signed-off-by: Simon Glass
    Signed-off-by: Anatolij Gustschin

    Simon Glass