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

boards, module and Makefile: drop iotools #1707

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

macpijan
Copy link
Collaborator

As discussed in: #1704
there is no need to include iotools module for nitropads.

@JonathonHall-Purism
Copy link
Collaborator

@macpijan This was the only use of iotools right? If so please remove modules/iotools and the bits from Makefile

@macpijan
Copy link
Collaborator Author

If so please remove modules/iotools and the bits from Makefile

I removed it at first.

@tlaurion Said it was not the only user of it, now I am confused: #1704 (comment)

Perhaps you meant I should remove it from these as well?

./qemu-coreboot-fbwhiptail-tpm1-hotp/qemu-coreboot-fbwhiptail-tpm1-hotp.config:#CONFIG_IOTOOLS=y
./qemu-coreboot-fbwhiptail-tpm1/qemu-coreboot-fbwhiptail-tpm1.config:CONFIG_IOTOOLS=y
./qemu-coreboot-fbwhiptail-tpm2-hotp/qemu-coreboot-fbwhiptail-tpm2-hotp.config:CONFIG_IOTOOLS=y
./qemu-coreboot-fbwhiptail-tpm2/qemu-coreboot-fbwhiptail-tpm2.config:CONFIG_IOTOOLS=y
./qemu-coreboot-whiptail-tpm1-hotp/qemu-coreboot-whiptail-tpm1-hotp.config:CONFIG_IOTOOLS=y
./qemu-coreboot-whiptail-tpm1/qemu-coreboot-whiptail-tpm1.config:CONFIG_IOTOOLS=y
./qemu-coreboot-whiptail-tpm2-hotp/qemu-coreboot-whiptail-tpm2-hotp.config:#CONFIG_IOTOOLS=y
./qemu-coreboot-whiptail-tpm2/qemu-coreboot-whiptail-tpm2.config:#CONFIG_IOTOOLS=y
./x230-hotp-maximized/x230-hotp-maximized.config:#CONFIG_IOTOOLS=y

?

@tlaurion
Copy link
Collaborator

@JonathonHall-Purism yes.

no more iotools calls in codebase outside of initrd/bin/nitropad-shutdown.sh which vanished under #1704

@tlaurion
Copy link
Collaborator

tlaurion commented Jun 21, 2024

If so please remove modules/iotools and the bits from Makefile

I removed it at first.

@tlaurion Said it was not the only user of it, now I am confused: #1704 (comment)

Perhaps you meant I should remove it from these as well?

./qemu-coreboot-fbwhiptail-tpm1-hotp/qemu-coreboot-fbwhiptail-tpm1-hotp.config:#CONFIG_IOTOOLS=y
./qemu-coreboot-fbwhiptail-tpm1/qemu-coreboot-fbwhiptail-tpm1.config:CONFIG_IOTOOLS=y
./qemu-coreboot-fbwhiptail-tpm2-hotp/qemu-coreboot-fbwhiptail-tpm2-hotp.config:CONFIG_IOTOOLS=y
./qemu-coreboot-fbwhiptail-tpm2/qemu-coreboot-fbwhiptail-tpm2.config:CONFIG_IOTOOLS=y
./qemu-coreboot-whiptail-tpm1-hotp/qemu-coreboot-whiptail-tpm1-hotp.config:CONFIG_IOTOOLS=y
./qemu-coreboot-whiptail-tpm1/qemu-coreboot-whiptail-tpm1.config:CONFIG_IOTOOLS=y
./qemu-coreboot-whiptail-tpm2-hotp/qemu-coreboot-whiptail-tpm2-hotp.config:#CONFIG_IOTOOLS=y
./qemu-coreboot-whiptail-tpm2/qemu-coreboot-whiptail-tpm2.config:#CONFIG_IOTOOLS=y
./x230-hotp-maximized/x230-hotp-maximized.config:#CONFIG_IOTOOLS=y

?

Sorry. What I meant is that boards, mostly testing boards (qemu) where referencing it (including it for testing purposes) while if the modules vanishes and boards still referring to it, they would break at builds.

TLDR: all references to IOTOOLS need to disappear, including Makefile conditional inclusion. Makes sense?

  • Remove all references, comments (#CONFIG_IOTOOLS=y) or board definitions (CONFIG_IOTOOLS=y) and inclusion (Makefile).

@tlaurion tlaurion linked an issue Jun 21, 2024 that may be closed by this pull request
@tlaurion tlaurion changed the title nitropad: drop iotools boards, module and Makefile: drop iotools Jun 21, 2024
@tlaurion
Copy link
Collaborator

Renamed PR to match goal, will close #1706

As discussed in: linuxboot#1704
there is no need to include iotools module for nitropads.

Since there is no board using it, and we see no reason to use
it in the future (the EC udpate will not require it, as update
will be server by coreboot in the future), drop the module as well.

Signed-off-by: Maciej Pijanowski <[email protected]>
@macpijan macpijan force-pushed the nitropad-drop-iotools branch from 0b5fea1 to 2cd5b09 Compare June 21, 2024 15:09
Copy link
Collaborator

@JonathonHall-Purism JonathonHall-Purism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks 🙇

@tlaurion
Copy link
Collaborator

@macpijan thanks for contributing upstream! Much appreciated!!!!!! Merging

@tlaurion tlaurion merged commit e471a4a into linuxboot:master Jun 21, 2024
2 of 6 checks passed
@macpijan macpijan deleted the nitropad-drop-iotools branch June 25, 2024 18:31
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.

Remove unneeded iotools
3 participants