[U-Boot] [PATCH v2 00/12] dm: x86: Improve vesa driver-model support

Simon Glass sjg at chromium.org
Thu Oct 6 04:42:08 CEST 2016


At present samus uses driver model but link does not. This series fixes
this and adds a few features to make it easier to support driver-model
video on other machines that use vesa.

It also includes a faster memmove() function which speeds up scrolling
dramatically.

Changes in v2:
- Move the code into string.c
- Fix multi-line comments that should not be
- Fix typo drive -> driver
- Drop invalid '1' at start of file
- Comment that no details are available about the magic values
- Add comment as to why we need #ifndef CONFIG_SYS_CONSOLE_IS_IN_ENV
- Add comment as to why we check for "," in stdio_get_by_name()
- Make vbe_setup_video_priv() static

Simon Glass (12):
  Revert "x86: broadwell: gpio: Remove the codes to set up pin control"
  x86: Add an accelerated memmove() function
  Fix return value in trailing_strtoln()
  list: Add list_last_entry() to find the last entry
  dm: core: Add a function to get a uclass name
  x86: video: Fix typo in broadwell Kconfig
  dm: x86: video: Add a driver-model driver for ivybridge graphics
  dm: stdio: Allow lazy probing of video devices
  dm: video: Add driver-model support to vesa graphics
  x86: Adjust config to support DM_VIDEO
  dm: x86: Move samus to use new driver model support
  dm: x86: Move link to use driver model for video

 arch/x86/cpu/broadwell/sdram.c                     |   1 -
 arch/x86/cpu/ivybridge/Makefile                    |   1 -
 arch/x86/cpu/ivybridge/bd82x6x.c                   |  12 --
 arch/x86/cpu/ivybridge/early_me.c                  |   1 -
 arch/x86/cpu/ivybridge/gma.h                       | 156 --------------------
 arch/x86/cpu/ivybridge/model_206ax.c               |   1 -
 arch/x86/cpu/ivybridge/sata.c                      |   1 -
 arch/x86/include/asm/arch-ivybridge/bd82x6x.h      |  12 --
 arch/x86/include/asm/cpu.h                         |   1 -
 arch/x86/include/asm/string.h                      |   2 +-
 arch/x86/lib/string.c                              | 161 +++++++++++++++++++++
 common/stdio.c                                     |  87 ++++++++++-
 configs/chromebook_link_defconfig                  |   2 +
 drivers/core/uclass.c                              |   9 ++
 drivers/gpio/intel_broadwell_gpio.c                |   7 +
 drivers/pci/pci_rom.c                              |  55 +++++++
 drivers/video/Kconfig                              |  14 +-
 drivers/video/Makefile                             |   1 +
 drivers/video/broadwell_igd.c                      |  39 +----
 .../gma.c => drivers/video/ivybridge_igd.c         |  77 +++++-----
 include/configs/x86-chromebook.h                   |  10 +-
 include/configs/x86-common.h                       |   2 +
 include/dm/uclass.h                                |   8 +
 include/linux/list.h                               |  11 ++
 include/vbe.h                                      |   2 +
 lib/strto.c                                        |   8 +-
 26 files changed, 410 insertions(+), 271 deletions(-)
 delete mode 100644 arch/x86/cpu/ivybridge/gma.h
 delete mode 100644 arch/x86/include/asm/arch-ivybridge/bd82x6x.h
 rename arch/x86/cpu/ivybridge/gma.c => drivers/video/ivybridge_igd.c (94%)

-- 
2.8.0.rc3.226.g39d4020



More information about the U-Boot mailing list