Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add more feature flags #199

Draft
wants to merge 1 commit into
base: dasharo
Choose a base branch
from
Draft

[WIP] Add more feature flags #199

wants to merge 1 commit into from

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ć <[email protected]>
@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

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.

2 participants