mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-06 07:53:30 +01:00
chore: format repo using treefmt-nix and nixfmt-rfc-style
This commit is contained in:
1 parent
fc7c471412
commit
51e51e6014
266 files changed
+3721
-2733
No files matched your search
+15
-11
@@ -1,14 +1,18 @@
|
||||
{ opensbi, withPayload, withFDT }:
|
||||
{
|
||||
opensbi,
|
||||
withPayload,
|
||||
withFDT,
|
||||
}:
|
||||
|
||||
(opensbi.override {
|
||||
inherit withPayload withFDT;
|
||||
}).overrideAttrs (attrs: {
|
||||
makeFlags = attrs.makeFlags ++ [
|
||||
# opensbi generic platform default FW_TEXT_START is 0x80000000
|
||||
# For JH7110, need to specify the FW_TEXT_START to 0x40000000
|
||||
# Otherwise, the fw_payload.bin downloading via jtag will not run.
|
||||
# https://github.com/starfive-tech/VisionFive2/blob/7733673d27052dc5a48f1cb1d060279dfa3f0241/Makefile#L274
|
||||
"FW_TEXT_START=0x40000000"
|
||||
];
|
||||
})
|
||||
|
||||
}).overrideAttrs
|
||||
(attrs: {
|
||||
makeFlags = attrs.makeFlags ++ [
|
||||
# opensbi generic platform default FW_TEXT_START is 0x80000000
|
||||
# For JH7110, need to specify the FW_TEXT_START to 0x40000000
|
||||
# Otherwise, the fw_payload.bin downloading via jtag will not run.
|
||||
# https://github.com/starfive-tech/VisionFive2/blob/7733673d27052dc5a48f1cb1d060279dfa3f0241/Makefile#L274
|
||||
"FW_TEXT_START=0x40000000"
|
||||
];
|
||||
})
|
||||
Reference in new issue
Block a user