mail.coreboot.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
April
March
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
List overview
Download
coreboot-gerrit
December 2017
----- 2025 -----
April 2025
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
coreboot-gerrit@coreboot.org
1 participants
1557 discussions
Start a n
N
ew thread
Change in coreboot[master]: mb/google/poppy: Remove variant_cros_gpios from variants
by build bot (Jenkins) (Code Review)
06 Dec '17
06 Dec '17
build bot (Jenkins) has posted comments on this change. (
https://review.coreboot.org/22705
) Change subject: mb/google/poppy: Remove variant_cros_gpios from variants ...................................................................... Patch Set 4: Build Successful
https://qa.coreboot.org/job/coreboot-gerrit/64178/
: SUCCESS
https://qa.coreboot.org/job/coreboot-checkpatch/19008/
: SUCCESS -- To view, visit
https://review.coreboot.org/22705
To unsubscribe, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic88623f34039792f0f9fb46842b24e4f1290981b Gerrit-Change-Number: 22705 Gerrit-PatchSet: 4 Gerrit-Owner: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org> Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net> Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org> Gerrit-Comment-Date: Wed, 06 Dec 2017 08:45:02 +0000 Gerrit-HasComments: No
1
0
0
0
Change in coreboot[master]: mb/google/poppy: Add config option for camera ACPI support
by build bot (Jenkins) (Code Review)
06 Dec '17
06 Dec '17
build bot (Jenkins) has posted comments on this change. (
https://review.coreboot.org/22702
) Change subject: mb/google/poppy: Add config option for camera ACPI support ...................................................................... Patch Set 4: Build Successful
https://qa.coreboot.org/job/coreboot-gerrit/64177/
: SUCCESS
https://qa.coreboot.org/job/coreboot-checkpatch/19007/
: SUCCESS -- To view, visit
https://review.coreboot.org/22702
To unsubscribe, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I91f8e407e0f021071eeadbde8c2695e2a6d69e06 Gerrit-Change-Number: 22702 Gerrit-PatchSet: 4 Gerrit-Owner: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org> Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net> Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org> Gerrit-Comment-Date: Wed, 06 Dec 2017 08:42:13 +0000 Gerrit-HasComments: No
1
0
0
0
Change in coreboot[master]: mb/google/poppy: Change POPPY_USE_* to VARIANT_HAS_*
by build bot (Jenkins) (Code Review)
06 Dec '17
06 Dec '17
build bot (Jenkins) has posted comments on this change. (
https://review.coreboot.org/22701
) Change subject: mb/google/poppy: Change POPPY_USE_* to VARIANT_HAS_* ...................................................................... Patch Set 4: Build Successful
https://qa.coreboot.org/job/coreboot-gerrit/64176/
: SUCCESS
https://qa.coreboot.org/job/coreboot-checkpatch/19006/
: SUCCESS -- To view, visit
https://review.coreboot.org/22701
To unsubscribe, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I6fd120a34a5b0c1f018164d5c2b60548da1d0f61 Gerrit-Change-Number: 22701 Gerrit-PatchSet: 4 Gerrit-Owner: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org> Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net> Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org> Gerrit-Comment-Date: Wed, 06 Dec 2017 08:40:09 +0000 Gerrit-HasComments: No
1
0
0
0
Change in coreboot[master]: mb/google/poppy: Remove dynamic disabling of TPM
by build bot (Jenkins) (Code Review)
06 Dec '17
06 Dec '17
build bot (Jenkins) has posted comments on this change. (
https://review.coreboot.org/22704
) Change subject: mb/google/poppy: Remove dynamic disabling of TPM ...................................................................... Patch Set 3: Build Successful
https://qa.coreboot.org/job/coreboot-gerrit/64174/
: SUCCESS
https://qa.coreboot.org/job/coreboot-checkpatch/19004/
: SUCCESS -- To view, visit
https://review.coreboot.org/22704
To unsubscribe, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ie82825fcf7092e845583edaac9ba0d3fc9d1dd80 Gerrit-Change-Number: 22704 Gerrit-PatchSet: 3 Gerrit-Owner: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org> Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net> Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org> Gerrit-Comment-Date: Wed, 06 Dec 2017 08:36:02 +0000 Gerrit-HasComments: No
1
0
0
0
Change in coreboot[master]: mb/google/poppy/variants/soraka: Disable SPI TPM
by build bot (Jenkins) (Code Review)
06 Dec '17
06 Dec '17
build bot (Jenkins) has posted comments on this change. (
https://review.coreboot.org/22699
) Change subject: mb/google/poppy/variants/soraka: Disable SPI TPM ...................................................................... Patch Set 4: Build Successful
https://qa.coreboot.org/job/coreboot-gerrit/64172/
: SUCCESS
https://qa.coreboot.org/job/coreboot-checkpatch/19002/
: SUCCESS -- To view, visit
https://review.coreboot.org/22699
To unsubscribe, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ia0554ce3a0d553631123cc2b23b6dc2f6f40a1a3 Gerrit-Change-Number: 22699 Gerrit-PatchSet: 4 Gerrit-Owner: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org> Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net> Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org> Gerrit-Comment-Date: Wed, 06 Dec 2017 08:34:12 +0000 Gerrit-HasComments: No
1
0
0
0
Change in coreboot[master]: mb/google/poppy: Disable SPI TPM
by build bot (Jenkins) (Code Review)
06 Dec '17
06 Dec '17
build bot (Jenkins) has posted comments on this change. (
https://review.coreboot.org/22698
) Change subject: mb/google/poppy: Disable SPI TPM ...................................................................... Patch Set 4: Build Successful
https://qa.coreboot.org/job/coreboot-gerrit/64173/
: SUCCESS
https://qa.coreboot.org/job/coreboot-checkpatch/19003/
: SUCCESS -- To view, visit
https://review.coreboot.org/22698
To unsubscribe, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I713e41c45e323bf13aa79412ec679c90121a52b2 Gerrit-Change-Number: 22698 Gerrit-PatchSet: 4 Gerrit-Owner: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org> Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net> Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org> Gerrit-Comment-Date: Wed, 06 Dec 2017 08:33:28 +0000 Gerrit-HasComments: No
1
0
0
0
Change in coreboot[master]: mb/google/poppy/variants/nami: Add support for nami board
by build bot (Jenkins) (Code Review)
06 Dec '17
06 Dec '17
build bot (Jenkins) has posted comments on this change. (
https://review.coreboot.org/22703
) Change subject: mb/google/poppy/variants/nami: Add support for nami board ...................................................................... Patch Set 7: No Builds Executed -- To view, visit
https://review.coreboot.org/22703
To unsubscribe, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic6795d49d3e6e98a32f4af0b621e8bb463041412 Gerrit-Change-Number: 22703 Gerrit-PatchSet: 7 Gerrit-Owner: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org> Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Gaggery Tsai <gaggery.tsai(a)intel.com> Gerrit-Reviewer: Gaggery Tsai <gaggery.tsai(a)intel.corp-partner.google.com> Gerrit-Reviewer: Kane Chen <kane.chen(a)intel.com> Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net> Gerrit-Reviewer: Van Chen <van_chen(a)compal.corp-partner.google.com> Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org> Gerrit-Comment-Date: Wed, 06 Dec 2017 08:31:15 +0000 Gerrit-HasComments: No
1
0
0
0
Change in coreboot[master]: mb/google/poppy/variants/nami: Add support for nami board
by build bot (Jenkins) (Code Review)
06 Dec '17
06 Dec '17
build bot (Jenkins) has posted comments on this change. (
https://review.coreboot.org/22703
) Change subject: mb/google/poppy/variants/nami: Add support for nami board ...................................................................... Patch Set 6: No Builds Executed -- To view, visit
https://review.coreboot.org/22703
To unsubscribe, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic6795d49d3e6e98a32f4af0b621e8bb463041412 Gerrit-Change-Number: 22703 Gerrit-PatchSet: 6 Gerrit-Owner: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Aaron Durbin <adurbin(a)chromium.org> Gerrit-Reviewer: Furquan Shaikh <furquan(a)google.com> Gerrit-Reviewer: Gaggery Tsai <gaggery.tsai(a)intel.com> Gerrit-Reviewer: Gaggery Tsai <gaggery.tsai(a)intel.corp-partner.google.com> Gerrit-Reviewer: Kane Chen <kane.chen(a)intel.com> Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net> Gerrit-Reviewer: Van Chen <van_chen(a)compal.corp-partner.google.com> Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org> Gerrit-Comment-Date: Wed, 06 Dec 2017 08:29:39 +0000 Gerrit-HasComments: No
1
0
0
0
Change in coreboot[master]: mainboard/google/kahlee: Update GPIOs
by Martin Roth (Code Review)
06 Dec '17
06 Dec '17
Martin Roth has uploaded this change for review. (
https://review.coreboot.org/22751
Change subject: mainboard/google/kahlee: Update GPIOs ...................................................................... mainboard/google/kahlee: Update GPIOs - The touchscreen interrupt was moved from the GPIO 3, as originally suggested to GPIO 11. This changes the gevent from 2 to 18. - Set device enables to high. - Remove Extra SCI comment from GPIO 130. - Set PCIe reset pins to high. BUG=b:70234300, b:69681660 TEST=build grunt Change-Id: Ib591e4278ed23d0963ecb19ad9c326498b4c7796 Signed-off-by: Martin Roth <martinroth(a)google.com> --- M src/mainboard/google/kahlee/variants/baseboard/gpio.c 1 file changed, 17 insertions(+), 17 deletions(-) git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/22751/1 diff --git a/src/mainboard/google/kahlee/variants/baseboard/gpio.c b/src/mainboard/google/kahlee/variants/baseboard/gpio.c index 34b5cee..9308d69 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/gpio.c +++ b/src/mainboard/google/kahlee/variants/baseboard/gpio.c @@ -35,11 +35,11 @@ /* GPIO_2 - WLAN_PCIE_WAKE_3V3_ODL */ { GPIO_2, Function0, FCH_GPIO_PULL_UP_ENABLE }, - /* GPIO_3 - TOUCHSCREEN_INT_3V3_ODL, SCI */ + /* GPIO_3 - MEM_VOLT_SEL */ { GPIO_3, Function0, FCH_GPIO_PULL_UP_ENABLE }, /* GPIO_4 - EN_PP3300_WLAN */ - { GPIO_4, Function0, FCH_GPIO_OUTPUT_VALUE }, + { GPIO_4, Function0, FCH_GPIO_OUTPUT_VALUE | FCH_GPIO_OUTPUT_ENABLE }, /* GPIO_5 - PCH_TRACKPAD_INT_3V3_ODL, SCI */ { GPIO_5, Function0, FCH_GPIO_PULL_UP_ENABLE }, @@ -59,7 +59,7 @@ /* GPIO_10 - SLP_S0_L */ { GPIO_10, Function0, FCH_GPIO_PULL_UP_ENABLE }, - /* GPIO_11 - Unused (R166) */ + /* GPIO_11 - TOUCHSCREEN_INT_3V3_ODL, SCI */ { GPIO_11, Function0, FCH_GPIO_PULL_UP_ENABLE }, /* GPIO_12 - Unused (TP126) */ @@ -103,7 +103,7 @@ { GPIO_25, Function0, FCH_GPIO_PULL_UP_ENABLE }, /* GPIO_26 - APU_PCIE_RST_L */ - { GPIO_26, Function0, FCH_GPIO_OUTPUT_VALUE }, + { GPIO_26, Function1, FCH_GPIO_OUTPUT_VALUE | FCH_GPIO_OUTPUT_ENABLE }, /* GPIO_40 - Unused */ { GPIO_40, Function0, FCH_GPIO_PULL_UP_ENABLE }, @@ -115,7 +115,7 @@ { GPIO_67, Function0, FCH_GPIO_OUTPUT_VALUE }, /* GPIO_70 - WLAN_PE_RST */ - { GPIO_70, Function0, FCH_GPIO_OUTPUT_VALUE }, + { GPIO_70, Function0, FCH_GPIO_OUTPUT_VALUE | FCH_GPIO_OUTPUT_ENABLE }, /* GPIO_74 - LPC_CLK0_EC_R */ { GPIO_74, Function0, FCH_GPIO_PULL_DOWN_ENABLE }, @@ -124,7 +124,7 @@ { GPIO_75, Function0, FCH_GPIO_PULL_UP_ENABLE }, /* GPIO_76 - EN_PP3300_TOUCHSCREEN */ - { GPIO_76, Function0, FCH_GPIO_OUTPUT_VALUE }, + { GPIO_76, Function0, FCH_GPIO_OUTPUT_VALUE | FCH_GPIO_OUTPUT_ENABLE }, /* GPIO_84 - HUB_RST */ { GPIO_84, Function1, FCH_GPIO_OUTPUT_VALUE }, @@ -142,10 +142,10 @@ { GPIO_88, Function0, }, /* GPIO_90 - EN_PP3300_CAMERA */ - { GPIO_90, Function0, FCH_GPIO_OUTPUT_VALUE }, + { GPIO_90, Function0, FCH_GPIO_OUTPUT_VALUE | FCH_GPIO_OUTPUT_ENABLE }, /* GPIO_91 - EN_PP3300_TRACKPAD */ - { GPIO_91, Function1, FCH_GPIO_OUTPUT_VALUE }, + { GPIO_91, Function1, FCH_GPIO_OUTPUT_VALUE | FCH_GPIO_OUTPUT_ENABLE }, /* GPIO_92 - WLAN_PCIE_CLKREQ_3V3_ODL */ { GPIO_92, Function0, FCH_GPIO_PULL_UP_ENABLE }, @@ -198,7 +198,7 @@ /* GPIO_129 - APU_KBRST_L */ { GPIO_129, Function0, FCH_GPIO_PULL_UP_ENABLE }, - /* GPIO_130 - Unused, SCI */ + /* GPIO_130 - Unused */ { GPIO_130, Function1, FCH_GPIO_PULL_UP_ENABLE }, /* GPIO_131 - CONFIG_STRAP3 */ @@ -266,14 +266,6 @@ */ static const struct sci_source gpe_table[] = { - /* TOUCHSCREEN_INT_3V3_ODL */ - { - .scimap = 2, - .gpe = 2, - .direction = SMI_SCI_LVL_HIGH, - .level = SMI_SCI_EDG, - }, - /* PCH_TRACKPAD_INT_3V3_ODL */ { .scimap = 7, @@ -298,6 +290,14 @@ .level = SMI_SCI_LVL, }, + /* TOUCHSCREEN_INT_3V3_ODL */ + { + .scimap = 18, + .gpe = 18, + .direction = SMI_SCI_LVL_HIGH, + .level = SMI_SCI_EDG, + }, + /* APU_PEN_PDCT_ODL */ { .scimap = 21, -- To view, visit
https://review.coreboot.org/22751
To unsubscribe, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ib591e4278ed23d0963ecb19ad9c326498b4c7796 Gerrit-Change-Number: 22751 Gerrit-PatchSet: 1 Gerrit-Owner: Martin Roth <martinroth(a)google.com>
1
0
0
0
Change in coreboot[master]: mainboard/google/kahlee: Update PCIe port map
by Martin Roth (Code Review)
06 Dec '17
06 Dec '17
Martin Roth has uploaded this change for review. (
https://review.coreboot.org/22750
Change subject: mainboard/google/kahlee: Update PCIe port map ...................................................................... mainboard/google/kahlee: Update PCIe port map - Grunt moved the EMMC chip to port 2, where Kahlee had the SD reader on PCIe port 1, so move the OemCustomize file into the variant directory. - Add comments in baseboard version so it's easier to understand. - Update reset pins, put the definitions in gpio.h BUG=b:67309216 TEST=Build and boot Kahlee. Build Grunt. Change-Id: I78ec72e9d6fd52b8ac75e7187bd01ee7ddc3ba2a Signed-off-by: Martin Roth <martinroth(a)google.com> --- M src/mainboard/google/kahlee/Makefile.inc M src/mainboard/google/kahlee/variants/baseboard/Makefile.inc A src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c M src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h M src/mainboard/google/kahlee/variants/kahlee/Makefile.inc R src/mainboard/google/kahlee/variants/kahlee/OemCustomize.c M src/mainboard/google/kahlee/variants/kahlee/include/variant/gpio.h 7 files changed, 171 insertions(+), 6 deletions(-) git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/22750/1 diff --git a/src/mainboard/google/kahlee/Makefile.inc b/src/mainboard/google/kahlee/Makefile.inc index 55c80a4..770a999 100644 --- a/src/mainboard/google/kahlee/Makefile.inc +++ b/src/mainboard/google/kahlee/Makefile.inc @@ -15,7 +15,6 @@ bootblock-y += bootblock/bootblock.c bootblock-y += BiosCallOuts.c -bootblock-y += bootblock/OemCustomize.c bootblock-y += ec.c romstage-y += BiosCallOuts.c diff --git a/src/mainboard/google/kahlee/variants/baseboard/Makefile.inc b/src/mainboard/google/kahlee/variants/baseboard/Makefile.inc index 83eec96..fcaf365 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/Makefile.inc +++ b/src/mainboard/google/kahlee/variants/baseboard/Makefile.inc @@ -14,6 +14,7 @@ # bootblock-y += gpio.c +bootblock-y += OemCustomize.c romstage-y += gpio.c romstage-y += memory.c diff --git a/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c b/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c new file mode 100644 index 0000000..b46c2da --- /dev/null +++ b/src/mainboard/google/kahlee/variants/baseboard/OemCustomize.c @@ -0,0 +1,151 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2015-2016 Advanced Micro Devices, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include <agesawrapper.h> +#include <variant/gpio.h> + +static const PCIe_PORT_DESCRIPTOR PortList[] = { + /* Initialize Port descriptor (PCIe port, Lanes 7:4, D2F1) for NC*/ + { + 0, + PCIE_ENGINE_DATA_INITIALIZER(PcieUnusedEngine, 4, 7), + PCIE_PORT_DATA_INITIALIZER_V2( + PortDisabled, /* mPortPresent */ + ChannelTypeExt6db, /* mChannelType */ + 2, /* mDevAddress */ + 1, /* mDevFunction */ + HotplugDisabled, /* mHotplug */ + PcieGenMaxSupported, /* mMaxLinkSpeed */ + PcieGenMaxSupported, /* mMaxLinkCap */ + AspmL0sL1, /* mAspm */ + 0, /* mResetId */ + 0) /* mClkPmSupport */ + }, + /* Initialize Port descriptor (PCIe port, Lanes 0:0, D2F2) for WLAN */ + { + 0, + PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 0, 0), + PCIE_PORT_DATA_INITIALIZER_V2( + PortEnabled, /* mPortPresent */ + ChannelTypeExt6db, /* mChannelType */ + 2, /* mDevAddress */ + 2, /* mDevFunction */ + HotplugDisabled, /* mHotplug */ + PcieGenMaxSupported, /* mMaxLinkSpeed */ + PcieGenMaxSupported, /* mMaxLinkCap */ + AspmL0sL1, /* mAspm */ + PCIE_0_RST, /* mResetId */ + 0) /* mClkPmSupport */ + }, + /* Init Port descriptor (PCIe port, Lanes 1:1, D2F3) NC */ + { + 0, + PCIE_ENGINE_DATA_INITIALIZER(PciePortEngine, 1, 1), + PCIE_PORT_DATA_INITIALIZER_V2( + PortDisabled, /* mPortPresent */ + ChannelTypeExt6db, /* mChannelType */ + 2, /* mDevAddress */ + 3, /* mDevFunction */ + HotplugDisabled, /* mHotplug */ + PcieGenMaxSupported, /* mMaxLinkSpeed */ + PcieGenMaxSupported, /* mMaxLinkCap */ + AspmL0sL1, /* mAspm */ + PCIE_1_RST, /* mResetId */ + 0) /* mClkPmSupport */ + }, + /* Initialize Port descriptor (PCIe port, Lane 2, D2F4) for EMMC */ + { + 0, + PCIE_ENGINE_DATA_INITIALIZER(PcieUnusedEngine, 2, 2), + PCIE_PORT_DATA_INITIALIZER_V2( + PortEnabled, /* mPortPresent */ + ChannelTypeExt6db, /* mChannelType */ + 2, /* mDevAddress */ + 4, /* mDevFunction */ + HotplugDisabled, /* mHotplug */ + PcieGenMaxSupported, /* mMaxLinkSpeed */ + PcieGenMaxSupported, /* mMaxLinkCap */ + AspmL0sL1, /* mAspm */ + PCIE_2_RST, /* mResetId */ + 0) /* mClkPmSupport */ + }, + /* Initialize Port descriptor (PCIe port, Lane3, D2F5) for NC */ + { + DESCRIPTOR_TERMINATE_LIST, + PCIE_ENGINE_DATA_INITIALIZER(PcieUnusedEngine, 3, 3), + PCIE_PORT_DATA_INITIALIZER_V2( + PortDisabled, /* mPortPresent */ + ChannelTypeExt6db, /* mChannelType */ + 2, /* mDevAddress */ + 5, /* mDevFunction */ + HotplugDisabled, /* mHotplug */ + PcieGenMaxSupported, /* mMaxLinkSpeed */ + PcieGenMaxSupported, /* mMaxLinkCap */ + AspmL0sL1, /* mAspm */ + PCIE_3_RST, /* mResetId */ + 0) /* mClkPmSupport */ + }, +}; + +static const PCIe_DDI_DESCRIPTOR DdiList[] = { + /* DDI0 - eDP */ + { + 0, + PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 8, 11), + PCIE_DDI_DATA_INITIALIZER(ConnectorTypeEDP, Aux1, Hdp1) + }, + /* DDI1 - DP */ + { + 0, + PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 12, 15), + PCIE_DDI_DATA_INITIALIZER(ConnectorTypeDP, Aux2, Hdp2) + }, + /* DDI2 - DP */ + { + DESCRIPTOR_TERMINATE_LIST, + PCIE_ENGINE_DATA_INITIALIZER(PcieDdiEngine, 16, 19), + PCIE_DDI_DATA_INITIALIZER(ConnectorTypeDP, Aux3, Hdp3) + }, +}; + +static const PCIe_COMPLEX_DESCRIPTOR PcieComplex = { + .Flags = DESCRIPTOR_TERMINATE_LIST, + .SocketId = 0, + .PciePortList = (void *)PortList, + .DdiLinkList = (void *)DdiList +}; + +/*---------------------------------------------------------------------------*/ +/** + * OemCustomizeInitEarly + * + * Description: + * This is the stub function will call the host environment through the + * binary block interface (call-out port) to provide a user hook opportunity. + * + * Parameters: + * @param[in] **PeiServices + * @param[in] *InitEarly + * + * @retval VOID + * + **/ +/*---------------------------------------------------------------------------*/ +VOID __attribute__((weak)) OemCustomizeInitEarly(IN OUT AMD_EARLY_PARAMS *InitEarly) +{ + InitEarly->GnbConfig.PcieComplexList = (void *)&PcieComplex; + InitEarly->PlatformConfig.GnbAzI2sBusSelect = GnbAcpI2sBus; + InitEarly->PlatformConfig.GnbAzI2sBusPinConfig = GnbAcp2Tx4RxBluetooth; +} diff --git a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h index c003673..0ad6740 100644 --- a/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h +++ b/src/mainboard/google/kahlee/variants/baseboard/include/baseboard/gpio.h @@ -28,6 +28,12 @@ #define CROS_WP_GPIO GPIO_122 #define GPIO_EC_IN_RW GPIO_15 +/* PCIe reset pins */ +#define PCIE_0_RST GPIO_70 +#define PCIE_1_RST 0 +#define PCIE_2_RST GPIO_26 +#define PCIE_3_RST 0 + #endif /* _ACPI__ */ #define EC_SCI_GPI 22 diff --git a/src/mainboard/google/kahlee/variants/kahlee/Makefile.inc b/src/mainboard/google/kahlee/variants/kahlee/Makefile.inc index 83eec96..fcaf365 100644 --- a/src/mainboard/google/kahlee/variants/kahlee/Makefile.inc +++ b/src/mainboard/google/kahlee/variants/kahlee/Makefile.inc @@ -14,6 +14,7 @@ # bootblock-y += gpio.c +bootblock-y += OemCustomize.c romstage-y += gpio.c romstage-y += memory.c diff --git a/src/mainboard/google/kahlee/bootblock/OemCustomize.c b/src/mainboard/google/kahlee/variants/kahlee/OemCustomize.c similarity index 95% rename from src/mainboard/google/kahlee/bootblock/OemCustomize.c rename to src/mainboard/google/kahlee/variants/kahlee/OemCustomize.c index 0551184..7451847 100644 --- a/src/mainboard/google/kahlee/bootblock/OemCustomize.c +++ b/src/mainboard/google/kahlee/variants/kahlee/OemCustomize.c @@ -14,6 +14,7 @@ */ #include <agesawrapper.h> +#include <variant/gpio.h> static const PCIe_PORT_DESCRIPTOR PortList[] = { /* Initialize Port descriptor (PCIe port, Lanes 7:4, D2F1) for NC*/ @@ -25,7 +26,7 @@ HotplugDisabled, PcieGenMaxSupported, PcieGenMaxSupported, - AspmL0sL1, 0x04, 0) + AspmL0sL1, 0, 0) }, /* Initialize Port descriptor (PCIe port, Lanes 0:0, D2F2) for WLAN */ { @@ -36,7 +37,7 @@ HotplugDisabled, PcieGenMaxSupported, PcieGenMaxSupported, - AspmL0sL1, 0x2, 0) + AspmL0sL1, PCIE_0_RST, 0) }, /* Init Port descriptor (PCIe port, Lanes 1:1, D2F3) for Card Reader */ { @@ -47,7 +48,7 @@ HotplugDisabled, PcieGenMaxSupported, PcieGenMaxSupported, - AspmL0sL1, 0x3, 0) + AspmL0sL1, PCIE_1_RST, 0) }, /* Initialize Port descriptor (PCIe port, Lane 2, D2F4) for NC */ { @@ -58,7 +59,7 @@ HotplugDisabled, PcieGenMaxSupported, PcieGenMaxSupported, - AspmL0sL1, 0, 0) + AspmL0sL1, PCIE_2_RST, 0) }, /* Initialize Port descriptor (PCIe port, Lane3, D2F5) for NC */ { @@ -69,7 +70,7 @@ HotplugDisabled, PcieGenMaxSupported, PcieGenMaxSupported, - AspmL0sL1, 0, 0) + AspmL0sL1, PCIE_3_RST, 0) }, }; diff --git a/src/mainboard/google/kahlee/variants/kahlee/include/variant/gpio.h b/src/mainboard/google/kahlee/variants/kahlee/include/variant/gpio.h index e7097c2..cf62138 100644 --- a/src/mainboard/google/kahlee/variants/kahlee/include/variant/gpio.h +++ b/src/mainboard/google/kahlee/variants/kahlee/include/variant/gpio.h @@ -32,6 +32,12 @@ #define CROS_WP_GPIO GPIO_142 #define GPIO_EC_IN_RW GPIO_15 +/* PCIe reset pins */ +#define PCIE_0_RST GPIO_26 +#define PCIE_1_RST GPIO_26 +#define PCIE_2_RST 0 +#define PCIE_3_RST 0 + #endif /* _ACPI__ */ /* AGPIO22 -> GPE3 */ -- To view, visit
https://review.coreboot.org/22750
To unsubscribe, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I78ec72e9d6fd52b8ac75e7187bd01ee7ddc3ba2a Gerrit-Change-Number: 22750 Gerrit-PatchSet: 1 Gerrit-Owner: Martin Roth <martinroth(a)google.com>
1
0
0
0
← Newer
1
...
124
125
126
127
128
129
130
...
156
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
Results per page:
10
25
50
100
200