mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
- Avoid using hardcoded number of variable range MTRRs in mtrr_commit() - coral: Correct max98357 file - coral: Update smbios tables to latest definition
This commit is contained in:
commit
f36603c7a8
3 changed files with 22 additions and 7 deletions
|
@ -158,7 +158,7 @@ int mtrr_commit(bool do_caches)
|
|||
|
||||
/* Clear the ones that are unused */
|
||||
debug("clear\n");
|
||||
for (; i < MTRR_MAX_COUNT; i++)
|
||||
for (; i < mtrr_get_var_count(); i++)
|
||||
wrmsrl(MTRR_PHYS_MASK_MSR(i), 0);
|
||||
debug("close\n");
|
||||
mtrr_close(&state, do_caches);
|
||||
|
|
|
@ -55,12 +55,27 @@
|
|||
write-protect-gpios = <&gpio_nw GPIO_75 GPIO_ACTIVE_HIGH>;
|
||||
phase-enforce-gpios = <&gpio_n GPIO_10 GPIO_ACTIVE_HIGH>;
|
||||
smbios {
|
||||
manufacturer = "Google";
|
||||
product = "Coral";
|
||||
version = "rev2";
|
||||
serial = "123456789";
|
||||
sku = "sku3";
|
||||
family = "Google_Coral";
|
||||
/* Type 1 table */
|
||||
system {
|
||||
manufacturer = "Google";
|
||||
product = "Coral";
|
||||
version = "rev2";
|
||||
serial = "123456789";
|
||||
sku = "sku3";
|
||||
family = "Google_Coral";
|
||||
};
|
||||
|
||||
/* Type 2 table */
|
||||
baseboard {
|
||||
manufacturer = "Google";
|
||||
product = "Coral";
|
||||
asset-tag = "ABC123";
|
||||
};
|
||||
|
||||
/* Type 3 table */
|
||||
chassis {
|
||||
manufacturer = "Google";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue