From 59b6b5059b90883abfcbd906c411e8f59ac1aa0d Mon Sep 17 00:00:00 2001 From: Ashish Singhal Date: Wed, 29 Nov 2023 20:51:53 -0700 Subject: EmbeddedPkg: Allow longer android kernel command line AndroidBootImgLib allows for platforms to append to kernel command line but does not allow for the overall kernel command line to go beyond the limit set by the image header. Address this limitation by adding a pcd where platform can tell how many extra characters they expect on their platform in addition to what the image header specifies. Signed-off-by: Ashish Singhal Reviewed-by: Abner Chang --- EmbeddedPkg/EmbeddedPkg.dec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'EmbeddedPkg/EmbeddedPkg.dec') diff --git a/EmbeddedPkg/EmbeddedPkg.dec b/EmbeddedPkg/EmbeddedPkg.dec index 341ef5e6a6..94dc3c9b76 100644 --- a/EmbeddedPkg/EmbeddedPkg.dec +++ b/EmbeddedPkg/EmbeddedPkg.dec @@ -183,3 +183,8 @@ # Selection between DT and ACPI as a default # gEmbeddedTokenSpaceGuid.PcdDefaultDtPref|TRUE|BOOLEAN|0x0000059 + + # + # Expected Overflow Android Kernel Command Line Characters + # + gEmbeddedTokenSpaceGuid.PcdAndroidKernelCommandLineOverflow|0|UINT32|0x000005C -- cgit