Skip to content
/ edk2 Public

Conversation

@mkopec
Copy link
Member

@mkopec mkopec commented Dec 18, 2024

With everything set to FALSE, the payload is 140KB smaller.

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
@miczyg1
Copy link
Contributor

miczyg1 commented Dec 18, 2024

For some platforms it may be useful, e.g. Protectli, where we know that there is no SATA or EMMC or SD.

But the optimization is mainly on the binary size, not exactly boot time.

@mkopec
Copy link
Member Author

mkopec commented Dec 18, 2024

Sure, I just thought it might be valuable security-wise to remove as much unused code as possible

SCSI, (P)ATA and mouse related drivers seem like a waste of space for most of our platforms

@miczyg1 miczyg1 changed the base branch from dasharo to dasharo-stable202402 March 28, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants