Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

serial_pl01x_internal.h

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Simon Glass's avatar
    aed2fbef
    dm: serial: Tidy up the pl01x driver · aed2fbef
    Simon Glass authored
    
    Adjust the driver so that leaf functions take a pointer to the serial port
    register base. Put all the global configuration in the init function, and
    use the same settings from then on.
    
    This makes it much easier to move to driver model without duplicating the
    code, since with driver model we use platform data rather than global
    settings.
    
    The driver is compiled with either the CONFIG_PL010_SERIAL or
    CONFIG_PL011_SERIAL option and this determines the uart type. With driver
    model this needs to come in from platform data, so create a new
    CONFIG_PL01X_SERIAL config which brings in the driver, and adjust the
    driver to support both peripheral variants.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    Tested-by: default avatarStephen Warren <swarren@wwwdotorg.org>
    aed2fbef
    History
    dm: serial: Tidy up the pl01x driver
    Simon Glass authored
    
    Adjust the driver so that leaf functions take a pointer to the serial port
    register base. Put all the global configuration in the init function, and
    use the same settings from then on.
    
    This makes it much easier to move to driver model without duplicating the
    code, since with driver model we use platform data rather than global
    settings.
    
    The driver is compiled with either the CONFIG_PL010_SERIAL or
    CONFIG_PL011_SERIAL option and this determines the uart type. With driver
    model this needs to come in from platform data, so create a new
    CONFIG_PL01X_SERIAL config which brings in the driver, and adjust the
    driver to support both peripheral variants.
    
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    Tested-by: default avatarStephen Warren <swarren@wwwdotorg.org>