Hello Seunghwan Kim,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/34898
to review the following change.
Change subject: mb/google/kohaku: Use level trigger for touchscreen interrupt
......................................................................
mb/google/kohaku: Use level trigger for touchscreen interrupt
Level trigger is recommended setting for touchscreen interrupt of
kohaku, so we would change it as the recommedation.
BUG=b:139179200
BRANCH=none
TEST=Verified pen works on kohaku
Change-Id: Ibbcdbe3ab555d014048f66ff527e539c5b566187
Signed-off-by: Seunghwan Kim <sh_.kim(a)samsung.com>
---
M src/mainboard/google/hatch/variants/kohaku/overridetree.cb
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/34898/1
diff --git a/src/mainboard/google/hatch/variants/kohaku/overridetree.cb b/src/mainboard/google/hatch/variants/kohaku/overridetree.cb
index 1d4c1c3..9e33bac 100644
--- a/src/mainboard/google/hatch/variants/kohaku/overridetree.cb
+++ b/src/mainboard/google/hatch/variants/kohaku/overridetree.cb
@@ -89,7 +89,7 @@
register "hid" = "ACPI_DT_NAMESPACE_HID"
register "compat_string" = ""atmel,maxtouch""
register "desc" = ""Atmel Touchscreen""
- register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_D16_IRQ)"
+ register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D16_IRQ)"
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D15)"
register "reset_delay_ms" = "91" # 90.5 ms
register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C12)"
--
To view, visit https://review.coreboot.org/c/coreboot/+/34898
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibbcdbe3ab555d014048f66ff527e539c5b566187
Gerrit-Change-Number: 34898
Gerrit-PatchSet: 1
Gerrit-Owner: shkim <sh_.kim(a)samsung.com>
Gerrit-Reviewer: Seunghwan Kim <sh_.kim(a)samsung.com>
Gerrit-MessageType: newchange
Marshall Dawson has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/34913 )
Change subject: rules: Add ability to disable ENV_CACHE_AS_RAM
......................................................................
rules: Add ability to disable ENV_CACHE_AS_RAM
Change-Id: I3acace92b39093cfb51f71f0dd39582c1e3c8c9a
Signed-off-by: Marshall Dawson <marshalldawson3rd(a)gmail.com>
---
M src/Kconfig
M src/include/rules.h
2 files changed, 7 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/13/34913/1
diff --git a/src/Kconfig b/src/Kconfig
index f051216..1bcca23 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -159,6 +159,12 @@
Select this option if the soc implements custom assembly entry code
for early stages.
+config NO_ENV_CACHE_AS_RAM
+ bool
+ depends on ARCH_X86
+ help
+ Select this option if the soc doesn't use ENV_CACHE_AS_RAM.
+
config COMPRESS_BOOTBLOCK
bool
depends on HAVE_BOOTBLOCK
diff --git a/src/include/rules.h b/src/include/rules.h
index 10cd715..cda13bb 100644
--- a/src/include/rules.h
+++ b/src/include/rules.h
@@ -284,7 +284,7 @@
/* x86 specific. Indicates that the current stage is running with cache-as-ram
* enabled from the beginning of the stage in C code. */
#if defined(__PRE_RAM__)
-#define ENV_CACHE_AS_RAM CONFIG(ARCH_X86)
+#define ENV_CACHE_AS_RAM (CONFIG(ARCH_X86) && !CONFIG(NO_ENV_CACHE_AS_RAM))
#else
#define ENV_CACHE_AS_RAM 0
#endif
--
To view, visit https://review.coreboot.org/c/coreboot/+/34913
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3acace92b39093cfb51f71f0dd39582c1e3c8c9a
Gerrit-Change-Number: 34913
Gerrit-PatchSet: 1
Gerrit-Owner: Marshall Dawson <marshalldawson3rd(a)gmail.com>
Gerrit-MessageType: newchange