[coreboot-gerrit] Patch set updated for coreboot: b8a124b reg_script: add iosf lpss port access

Aaron Durbin (adurbin@google.com) gerrit at coreboot.org
Tue May 6 18:41:52 CEST 2014


Aaron Durbin (adurbin at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4968

-gerrit

commit b8a124bf267971982e712c90216bfb2a25d8bb99
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Tue Nov 12 20:20:10 2013 -0600

    reg_script: add iosf lpss port access
    
    Add the LPSS IOSF port access to reg_script. This is
    going to be used by baytrail.
    
    BUG=chrome-os-partner:23790
    BRANCH=None
    TEST=Buit.
    
    Change-Id: I0367acdb584f2de0bb871b136042b57fe6b7ec90
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    Reviewed-on: https://chromium-review.googlesource.com/176423
    Reviewed-by: Duncan Laurie <dlaurie at chromium.org>
---
 src/lib/reg_script.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/lib/reg_script.c b/src/lib/reg_script.c
index e03a8e4..d7c4577 100644
--- a/src/lib/reg_script.c
+++ b/src/lib/reg_script.c
@@ -263,6 +263,8 @@ static uint32_t reg_script_read_iosf(struct reg_script_context *ctx)
 		return iosf_ushphy_read(step->reg);
 	case IOSF_PORT_SCC:
 		return iosf_scc_read(step->reg);
+	case IOSF_PORT_LPSS:
+		return iosf_lpss_read(step->reg);
 	case IOSF_PORT_CCU:
 		return iosf_ccu_read(step->reg);
 	}
@@ -297,6 +299,9 @@ static void reg_script_write_iosf(struct reg_script_context *ctx)
 	case IOSF_PORT_SCC:
 		iosf_scc_write(step->reg, step->value);
 		break;
+	case IOSF_PORT_LPSS:
+		iosf_lpss_write(step->reg, step->value);
+		break;
 	case IOSF_PORT_CCU:
 		iosf_ccu_write(step->reg, step->value);
 		break;



More information about the coreboot-gerrit mailing list