From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::242; helo=mail-wm0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (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 EBEDF20347134 for ; Mon, 20 Nov 2017 03:33:07 -0800 (PST) Received: by mail-wm0-x242.google.com with SMTP id b189so18145807wmd.0 for ; Mon, 20 Nov 2017 03:37:21 -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=5h8xZU7p6yYFHB8BU4Zn388tH1Tebt7dbdovOQJb+KI=; b=Q/+MrkMmFcNFo4mALqz1kRwh6SnCAA5cHjAL7SaC3iXzKw17jJAtUdwKjksFcSfwt+ sKRo6li0uZRCz5BxMXl5X/ycSRj7iWQVIQARoIAUMsbevpze4ZDfXjpxivkXiUA5zVgO Icc+XnqcOQRc8HB73/hBnT8m8/1KWt2CGgilw= 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=5h8xZU7p6yYFHB8BU4Zn388tH1Tebt7dbdovOQJb+KI=; b=D88ebHZ6p97tU3R1PJP/Y+nsFTSUDjTd8cYoI15EQw1lNw2Avjt8wphJ9AsIT5gwCR VTY+LiKUv45z+OOR9DbwEfqajk0CuNXyEiINMXxmAvz7LHQDzH8Yvrpbx8QDLgIU9OTg XEDoSTUoMvM9OpQBpeUM3T5XwQcg046yOe9LuIXDF1s5ZNBdOgMhmxMHwaav98CnUai5 1yraNyrx1WArTAFcHo0rlFw59j4C3Gv8XETAzcXNIfmwQkZpTRovSb4YDad0+KbhjUn2 XL7dJb0ZtKHxrBQK0GsVnBySTdJpZunVGmkMGNMb2VLWiIh8sfKlk80URofb0SyIROTV 2H9Q== X-Gm-Message-State: AJaThX4vsPNnbhc3e7pAtn/S6ravaoAk1YzT2S1xPDpj+a0CpMkOXx3s ybTvvVyk42nHwD4QPM35U+tIpZ5fY0Y= X-Google-Smtp-Source: AGs4zMarEnIKHISVEgtH/1rf/2e944HcBMseNf4G5POu8RKccAkUrtvzwf/KqJfWkPNDOxROXC7B1w== X-Received: by 10.28.68.194 with SMTP id r185mr9777377wma.73.1511177840060; Mon, 20 Nov 2017 03:37:20 -0800 (PST) Received: from localhost.localdomain ([154.145.25.106]) by smtp.gmail.com with ESMTPSA id d4sm14760181wmh.35.2017.11.20.03.37.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Nov 2017 03:37:19 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, Ard Biesheuvel Date: Mon, 20 Nov 2017 11:37:10 +0000 Message-Id: <20171120113714.21856-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [PATCH edk2-platforms 0/4] Platform/ARM: import BdsLib and FdtPlatformDxe 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: Mon, 20 Nov 2017 11:33:08 -0000 The only remnant of the deprecated ARM BDS in EDK2 is its BdsLib, which is depended upon by FdtPlatformDxe in EmbeddedPkg, which itself is something we'd prefer to get rid of. Since only TC2 and Juno actually use this driver, let's move both FdtPlatformDxe and BdsLib under Platform/ARM, so that we can remove it from the main EDK2 repository. Ard Biesheuvel (4): Platform/ARM: import BdsLib from ArmPkg Platform/ARM: import FdtPlatformDxe driver from EDK2 Platform/ARM/Juno: move to migrated FdtPlatformDxe Platform/TC2: move to private FdtPlatformDxe implementation Platform/ARM/Drivers/FdtPlatformDxe/FdtPlatform.c | 461 +++++++ Platform/ARM/Drivers/FdtPlatformDxe/FdtPlatform.h | 174 +++ Platform/ARM/Drivers/FdtPlatformDxe/FdtPlatformDxe.dec | 31 + Platform/ARM/Drivers/FdtPlatformDxe/FdtPlatformDxe.inf | 65 + Platform/ARM/Drivers/FdtPlatformDxe/FdtPlatformDxe.uni | 109 ++ Platform/ARM/Drivers/FdtPlatformDxe/README.txt | 72 + Platform/ARM/Drivers/FdtPlatformDxe/ShellDumpFdt.c | 279 ++++ Platform/ARM/Drivers/FdtPlatformDxe/ShellSetFdt.c | 468 +++++++ Platform/ARM/JunoPkg/ArmJuno.dsc | 6 +- Platform/ARM/JunoPkg/ArmJuno.fdf | 2 +- Platform/ARM/JunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.inf | 3 +- Platform/ARM/Library/BdsLib/BdsAppLoader.c | 253 ++++ Platform/ARM/Library/BdsLib/BdsFilePath.c | 1413 ++++++++++++++++++++ Platform/ARM/Library/BdsLib/BdsHelper.c | 183 +++ Platform/ARM/Library/BdsLib/BdsInternal.h | 111 ++ Platform/ARM/Library/BdsLib/BdsLib.inf | 62 + Platform/ARM/Library/BdsLib/BdsLoadOption.c | 272 ++++ Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.dsc | 6 +- Platform/ARM/VExpressPkg/ArmVExpress-CTA15-A7.fdf | 2 +- Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 5 +- 20 files changed, 3964 insertions(+), 13 deletions(-) create mode 100644 Platform/ARM/Drivers/FdtPlatformDxe/FdtPlatform.c create mode 100644 Platform/ARM/Drivers/FdtPlatformDxe/FdtPlatform.h create mode 100644 Platform/ARM/Drivers/FdtPlatformDxe/FdtPlatformDxe.dec create mode 100644 Platform/ARM/Drivers/FdtPlatformDxe/FdtPlatformDxe.inf create mode 100644 Platform/ARM/Drivers/FdtPlatformDxe/FdtPlatformDxe.uni create mode 100644 Platform/ARM/Drivers/FdtPlatformDxe/README.txt create mode 100644 Platform/ARM/Drivers/FdtPlatformDxe/ShellDumpFdt.c create mode 100644 Platform/ARM/Drivers/FdtPlatformDxe/ShellSetFdt.c create mode 100644 Platform/ARM/Library/BdsLib/BdsAppLoader.c create mode 100644 Platform/ARM/Library/BdsLib/BdsFilePath.c create mode 100644 Platform/ARM/Library/BdsLib/BdsHelper.c create mode 100644 Platform/ARM/Library/BdsLib/BdsInternal.h create mode 100644 Platform/ARM/Library/BdsLib/BdsLib.inf create mode 100644 Platform/ARM/Library/BdsLib/BdsLoadOption.c -- 2.11.0