Hello Sajida Bhanu,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/40534
to review the following change.
Change subject: trogdor: Update pull for Sd-card detect pin ......................................................................
trogdor: Update pull for Sd-card detect pin
Configuring pull for SD-card detect pin. Without this SD-card detection is not working as expected
Signed-off-by: Shaik Sajida Bhanu sbhanu@codeaurora.org Change-Id: I77bf355a049224784a160defa6bee66d0f9ceb75 --- M src/mainboard/google/trogdor/chromeos.c 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/34/40534/1
diff --git a/src/mainboard/google/trogdor/chromeos.c b/src/mainboard/google/trogdor/chromeos.c index b13f88f..3d535c8 100644 --- a/src/mainboard/google/trogdor/chromeos.c +++ b/src/mainboard/google/trogdor/chromeos.c @@ -29,6 +29,7 @@ gpio_input_pullup(GPIO_AP_EC_INT); gpio_output(GPIO_AP_SUSPEND, 1); gpio_input(GPIO_WP_STATE); + gpio_input_pullup(GPIO_SD_CD_L); gpio_input_irq(GPIO_H1_AP_INT, IRQ_TYPE_RISING_EDGE, GPIO_PULL_UP); gpio_output(GPIO_AMP_ENABLE, 1); }
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40534 )
Change subject: trogdor: Update pull for Sd-card detect pin ......................................................................
Patch Set 1:
(6 comments)
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@7 PS1, Line 7: Sd-card SD card
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@9 PS1, Line 9: SD-card SD card
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@9 PS1, Line 9: Configuring Configure
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@10 PS1, Line 10: Without this SD-card detection is not working as expected 1. Add it on the line above. 2. Please add a dot/period at the end of sentences.
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@10 PS1, Line 10: SD-card SD card
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@11 PS1, Line 11: Is there an issue/bug report for this?
Is that according to the schematics?
Sajida Bhanu has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40534 )
Change subject: trogdor: Update pull for Sd-card detect pin ......................................................................
Patch Set 1:
(6 comments)
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@7 PS1, Line 7: Sd-card
SD card
Done
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@9 PS1, Line 9: SD-card
SD card
Done
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@9 PS1, Line 9: Configuring
Configure
Done
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@10 PS1, Line 10: SD-card
SD card
Done
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@10 PS1, Line 10: Without this SD-card detection is not working as expected
- Add it on the line above. […]
sure
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@11 PS1, Line 11:
Is there an issue/bug report for this? […]
yes https://partnerissuetracker.corp.google.com/issues/80547577
Yes it is as per schematics of Tragdor board.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40534 )
Change subject: trogdor: Update pull for Sd-card detect pin ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@11 PS1, Line 11: I believe, you should then use:
BUG=b:80547577
so that Gerrit converts it.
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40534 )
Change subject: trogdor: Update pull for Sd-card detect pin ......................................................................
Patch Set 3: Code-Review+2
Please rebase this in front of the display stuff so that we can merge it while that's still in review.
Hello build bot (Jenkins), Sajida Bhanu, Julius Werner, mturney mturney,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/40534
to look at the new patch set (#4).
Change subject: trogdor: Update pull for Sd-card detect pin ......................................................................
trogdor: Update pull for Sd-card detect pin
Configuring pull for SD-card detect pin. Without this SD-card detection is not working as expected
Signed-off-by: Shaik Sajida Bhanu sbhanu@codeaurora.org Change-Id: I77bf355a049224784a160defa6bee66d0f9ceb75 --- M src/mainboard/google/trogdor/chromeos.c 1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/34/40534/4
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40534 )
Change subject: trogdor: Update pull for Sd-card detect pin ......................................................................
Patch Set 7: Code-Review+2
Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40534 )
Change subject: trogdor: Update pull for Sd-card detect pin ......................................................................
Patch Set 7:
(1 comment)
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/40534/1//COMMIT_MSG@11 PS1, Line 11:
I believe, you should then use: […]
These numbers aren't really relevant to upstream coreboot anyway.
Julius Werner has submitted this change. ( https://review.coreboot.org/c/coreboot/+/40534 )
Change subject: trogdor: Update pull for Sd-card detect pin ......................................................................
trogdor: Update pull for Sd-card detect pin
Configuring pull for SD-card detect pin. Without this SD-card detection is not working as expected
Signed-off-by: Shaik Sajida Bhanu sbhanu@codeaurora.org Change-Id: I77bf355a049224784a160defa6bee66d0f9ceb75 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40534 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Julius Werner jwerner@chromium.org --- M src/mainboard/google/trogdor/chromeos.c 1 file changed, 3 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Julius Werner: Looks good to me, approved
diff --git a/src/mainboard/google/trogdor/chromeos.c b/src/mainboard/google/trogdor/chromeos.c index 324d6ca..9360928 100644 --- a/src/mainboard/google/trogdor/chromeos.c +++ b/src/mainboard/google/trogdor/chromeos.c @@ -16,7 +16,9 @@ gpio_input_pullup(GPIO_AP_EC_INT); gpio_output(GPIO_AP_SUSPEND, 1); gpio_input(GPIO_WP_STATE); - gpio_input_pullup(GPIO_H1_AP_INT); + gpio_input_pullup(GPIO_SD_CD_L); + gpio_input_irq(GPIO_H1_AP_INT, IRQ_TYPE_RISING_EDGE, GPIO_PULL_UP); + gpio_output(GPIO_AMP_ENABLE, 0); }
void fill_lb_gpios(struct lb_gpios *gpios)
9elements QA has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40534 )
Change subject: trogdor: Update pull for Sd-card detect pin ......................................................................
Patch Set 8:
Automatic boot test returned (PASS/FAIL/TOTAL): 2/2/4 Emulation targets: "QEMU x86 q35/ich9" using payload TianoCore : FAIL : https://lava.9esec.io/r/3451 "QEMU x86 q35/ich9" using payload SeaBIOS : FAIL : https://lava.9esec.io/r/3450 "QEMU x86 i440fx/piix4" using payload SeaBIOS : SUCCESS : https://lava.9esec.io/r/3449 "QEMU AArch64" using payload LinuxBoot_u-root_kexec : SUCCESS : https://lava.9esec.io/r/3448
Please note: This test is under development and might not be accurate at all!