0014-lenovo-t500-Add-clone-of-Lenovo-T400.patch 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. From 44b02659da616c6d64445e5645684a68e7e5e742 Mon Sep 17 00:00:00 2001
  2. From: Francis Rowe <info@gluglug.org.uk>
  3. Date: Sun, 14 Jun 2015 15:40:00 +0100
  4. Subject: [PATCH 14/17] lenovo/t500: Add clone of Lenovo T400
  5. The existing code for the Lenovo T400 works without changes on the
  6. Lenovo T500. Same HDA verbs are provided by Lenovo BIOS on both
  7. laptops.
  8. Change-Id: I300408a8a0ed00476aee6061925befc2822fb505
  9. Signed-off-by: Francis Rowe <info@gluglug.org.uk>
  10. ---
  11. src/mainboard/lenovo/t400/Kconfig | 2 +-
  12. src/mainboard/lenovo/t500/Kconfig | 7 +++++++
  13. src/mainboard/lenovo/t500/Kconfig.name | 2 ++
  14. src/mainboard/lenovo/t500/board_info.txt | 6 ++++++
  15. 4 files changed, 16 insertions(+), 1 deletion(-)
  16. create mode 100644 src/mainboard/lenovo/t500/Kconfig
  17. create mode 100644 src/mainboard/lenovo/t500/Kconfig.name
  18. create mode 100644 src/mainboard/lenovo/t500/board_info.txt
  19. diff --git a/src/mainboard/lenovo/t400/Kconfig b/src/mainboard/lenovo/t400/Kconfig
  20. index 2ea592f..b1f7d28 100644
  21. --- a/src/mainboard/lenovo/t400/Kconfig
  22. +++ b/src/mainboard/lenovo/t400/Kconfig
  23. @@ -1,4 +1,4 @@
  24. -if BOARD_LENOVO_T400 || BOARD_LENOVO_R400
  25. +if BOARD_LENOVO_T400 || BOARD_LENOVO_T500 || BOARD_LENOVO_R400
  26. config BOARD_SPECIFIC_OPTIONS # dummy
  27. def_bool y
  28. diff --git a/src/mainboard/lenovo/t500/Kconfig b/src/mainboard/lenovo/t500/Kconfig
  29. new file mode 100644
  30. index 0000000..e1e8420
  31. --- /dev/null
  32. +++ b/src/mainboard/lenovo/t500/Kconfig
  33. @@ -0,0 +1,7 @@
  34. +if BOARD_LENOVO_T500
  35. +
  36. +config MAINBOARD_PART_NUMBER
  37. + string
  38. + default "ThinkPad T500"
  39. +
  40. +endif
  41. diff --git a/src/mainboard/lenovo/t500/Kconfig.name b/src/mainboard/lenovo/t500/Kconfig.name
  42. new file mode 100644
  43. index 0000000..89c6087
  44. --- /dev/null
  45. +++ b/src/mainboard/lenovo/t500/Kconfig.name
  46. @@ -0,0 +1,2 @@
  47. +config BOARD_LENOVO_T500
  48. + bool "ThinkPad T500"
  49. diff --git a/src/mainboard/lenovo/t500/board_info.txt b/src/mainboard/lenovo/t500/board_info.txt
  50. new file mode 100644
  51. index 0000000..007ec6c
  52. --- /dev/null
  53. +++ b/src/mainboard/lenovo/t500/board_info.txt
  54. @@ -0,0 +1,6 @@
  55. +Category: laptop
  56. +ROM package: SOIC-16 or SOIC-8
  57. +ROM protocol: SPI
  58. +ROM socketed: n
  59. +Flashrom support: n
  60. +Clone of: lenovo/t400
  61. --
  62. 1.9.1