From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by mx.groups.io with SMTP id smtpd.web12.6834.1575024429095869178 for ; Fri, 29 Nov 2019 02:47:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=AUrqgJSJ; spf=pass (domain: linaro.org, ip: 209.85.128.66, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wm1-f66.google.com with SMTP id l1so13690990wme.2 for ; Fri, 29 Nov 2019 02:47:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=rTSK4XJ+XWM1Mp7JduZeRprfFalkJVYix5jw+uidEyE=; b=AUrqgJSJQiPdURo5Ozx5m+97bJglzybWOo3F2hPQ9sh0WQ1MUt1Cjz68x4l24ihuNo 5G2/iCZq14ma4ivukIjZr9hB6HPhhbjmDjHyitswxP2a41Dx7GMp0+jeyJYOjPWJC5lw k/5/57F3kdqTv1PuZLGsXcCAs3cjoVBqXbnkkTyQsgfU6bWaerMcpwGAB9lP33sDbsQx ZwjLeEK7iU4dSndrQ2yZx/jIjZWTrRU4Kt6JDA6VxqcVwQJVdKbDgbl9vdhKxeRy1Q3r P042wDSPreCbVTxwFPkjlAkVQFARW/UbZ27AlOaLMVmQEAV+ALPV77DV1YTCLfYGE2l0 HfJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=rTSK4XJ+XWM1Mp7JduZeRprfFalkJVYix5jw+uidEyE=; b=bf+5A522EQoJu1RYRn0L+fiTsTstoxR2acDwLAMQGvrnUqT5+s5qO50iRecaiD4cAr +JsvznvcEVCFOy5EoGUmcGwwq99P5pOtdG8rYISDSYupxCT4f05H5eFE5TVU8vz7r/kM 8J/c1Aa8ZZKy8BqIL9t9LuYA5udF3i+4UMnXbqpLtxDNxxRfg40WWmxyrk0FcNIP+GxP Utn+Zy4uiFfD7QVV31wQ4eXZNTYaIAbaW9tGo+ABQZ8MrTzD2Azk3pouIzugCQzn/r04 N6yCC7MUGOc4mDx4UhkEx8CSZYj5ULyRSIwLttYr5kr4TlJFKzr1HcAmz3kPHgzo5ivw bA3Q== X-Gm-Message-State: APjAAAUVN1Th9eLjGwlWKxxFYGMrUKfqrY3Y2igWE47/6mtl8jDvj5kl fjmIX6inoL7OAR9B+wZSXzOLh/RVm10MoQ== X-Google-Smtp-Source: APXvYqxJbV+5u2EGdhLqULWshrNlaj6Tb0LkkoyUODczAowUyYh/jeRZRNLd8ddufcjsl2hZVCIDhA== X-Received: by 2002:a7b:ca57:: with SMTP id m23mr13614985wml.65.1575024427271; Fri, 29 Nov 2019 02:47:07 -0800 (PST) Return-Path: Received: from e123331-lin.home (amontpellier-657-1-18-247.w109-210.abo.wanadoo.fr. [109.210.65.247]) by smtp.gmail.com with ESMTPSA id 60sm27186170wrn.86.2019.11.29.02.47.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Nov 2019 02:47:06 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: leif.lindholm@linaro.org, Ard Biesheuvel Subject: [PATCH edk2-platforms 0/2] SynQuacer: expose OP-TEE in ACPI mode Date: Fri, 29 Nov 2019 11:47:14 +0100 Message-Id: <20191129104716.819-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 Refactor the platform DXE a bit in patch #1 so we can seamlessly drop in the code in patch #2 to expose a SSDT with a device node describing OP-TEE when booting in ACPI mode and OP-TEE is present. Ard Biesheuvel (2): Silicon/SynQuacer/PlatformDxe: move EMMC SSDT handling to core routine Silicon/SynQuacer/PlatformDxe: add ACPI device node for OP-TEE if present .../SynQuacerEvalBoard/SynQuacerEvalBoard.dsc | 1 + .../SynQuacer/Drivers/PlatformDxe/Emmc.c | 55 ------------ .../SynQuacer/Drivers/PlatformDxe/Optee.asl | 23 +++++ .../Drivers/PlatformDxe/PlatformDxe.c | 83 +++++++++++++++++++ .../Drivers/PlatformDxe/PlatformDxe.h | 2 + .../Drivers/PlatformDxe/PlatformDxe.inf | 2 + 6 files changed, 111 insertions(+), 55 deletions(-) create mode 100644 Silicon/Socionext/SynQuacer/Drivers/PlatformDxe/Optee.asl -- 2.17.1