coreboot: make rom size uppercase

master
Raito Bezarius 1 year ago
parent abc04f36c1
commit 37793ce3f6

@ -186,7 +186,7 @@ stdenv.mkDerivation {
"COREBOOT_ROMSIZE_KB_${toString flash-chip-size-in-kbytes}" = lib.mkForce yes;
# TODO: the following two options might be unnecessary
ROM_SIZE = lib.mkForce (freeform "0x${lib.toHexString flash-chip-size-in-bytes}");
ROM_SIZE = lib.mkForce (freeform "0x${lib.toUpper (lib.toHexString flash-chip-size-in-bytes)}");
COREBOOT_ROMSIZE_KB = lib.mkForce (freeform (toString flash-chip-size-in-kbytes));
} // lib.optionalAttrs (uart-for-console != null) {
UART_FOR_CONSOLE = lib.mkForce (freeform "${builtins.toString uart-for-console}");

Loading…
Cancel
Save