From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 64D9621A04807 for ; Fri, 31 Mar 2017 05:26:05 -0700 (PDT) Received: by mail-io0-x236.google.com with SMTP id l7so38329305ioe.3 for ; Fri, 31 Mar 2017 05:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ancVjNRdScLZET+mpMoKaFU2OVBL632465VXL7LGUIo=; b=Y9dUI7gpdV/MhiQsIi6B7H+OC1+nmQYmPkzjWX2lFgCQvJv5d5fcFOLbIozG4Cp/MO YFssWw2JSQqcppUfFmzbsXKY0UG/llXg9F+rKty+InmdTQCpAcxOzIijfZq491ICsL12 u5W7hKc/YR7K501eSCzmHW9FwGlzTzmr05kvw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ancVjNRdScLZET+mpMoKaFU2OVBL632465VXL7LGUIo=; b=cSD1yIu3bLRW+5sS80MasJqwj9zpGyxgPrJTEWjOdGlnoa9f651CEN9j+ui2KUDsUG cdF1ux1Z/D9PKx2o6zTPqWyazza95AzaeukIZusnV5Tjtipgv85SlH5bu9Me+cfUU6K6 IZSJpiw52DMSoQ4R1SGre2/ckGnnUL3oFax7ofUmUJ02T6Cpc5x+sc2VBsrU40ES1EJO 2bPRvabRIm/sCclqfkoSE6Wj+sy12v+U12kDjg+0HrYAcIPvqUh51JCqIG2GxC0kh/gP 2reGKKBAkOfAdJoSVVELJ4v4FIMWLdL4HsYpAKlqT0Gvmo9TbxuGCsQChxOgesafuMF3 AM9g== X-Gm-Message-State: AFeK/H2dh8xfV3pm32GHI7MHsQtAoYGehKarmXlqwYYJAuu2xrHybprMWtsnHKGxHglPod1EMTehQyM3a/erjaM9 X-Received: by 10.107.168.21 with SMTP id r21mr2598173ioe.45.1490963164656; Fri, 31 Mar 2017 05:26:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.10.27 with HTTP; Fri, 31 Mar 2017 05:26:04 -0700 (PDT) In-Reply-To: <20170331105607.3477-1-ard.biesheuvel@linaro.org> References: <20170331105607.3477-1-ard.biesheuvel@linaro.org> From: Ard Biesheuvel Date: Fri, 31 Mar 2017 13:26:04 +0100 Message-ID: To: "edk2-devel@lists.01.org" , Laszlo Ersek Cc: Leif Lindholm , Ard Biesheuvel Subject: Re: [PATCH v2 0/3] EmbeddedPkg: revert DTB loading to platform lib X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Mar 2017 12:26:05 -0000 Content-Type: text/plain; charset=UTF-8 On 31 March 2017 at 11:56, Ard Biesheuvel wrote: > This updates the recently added DtPlatformDxe to indirect loading of the > actual DTB binary to a separate library. A base implementation is provided > that preserves the original behavior. > > This way, we can allow platforms such as FVP or Juno (which use the same > firmware image but different DTB images) to override this library class > and insert its own logic to select the correct DTB, without resorting to > BEFORE depexes and dynamic PCDs, and the associated load order issues. > > v2: - drop ArmPlatformPkg changes for now > > Ard Biesheuvel (3): > EmbeddedPkg: add DtPlatformDtbLoaderLib library class > EmbeddedPkg: add base DtPlatformDtbLoaderLib implementation > EmbeddedPkg/DtPlatformDxe: load platform DTB via new library > Committed as f07cc45883d0 EmbeddedPkg: add DtPlatformDxe to .dsc file 449a5df455ed EmbeddedPkg: add DtPlatformDtbLoaderLib library class 4c725c895990 EmbeddedPkg: add base DtPlatformDtbLoaderLib implementation 12c71010b84a EmbeddedPkg/DtPlatformDxe: load platform DTB via new library Thanks, Ard.