mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-24 07:32:01 +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 */
|
/* Clear the ones that are unused */
|
||||||
debug("clear\n");
|
debug("clear\n");
|
||||||
for (; i < MTRR_MAX_COUNT; i++)
|
for (; i < mtrr_get_var_count(); i++)
|
||||||
wrmsrl(MTRR_PHYS_MASK_MSR(i), 0);
|
wrmsrl(MTRR_PHYS_MASK_MSR(i), 0);
|
||||||
debug("close\n");
|
debug("close\n");
|
||||||
mtrr_close(&state, do_caches);
|
mtrr_close(&state, do_caches);
|
||||||
|
|
|
@ -55,12 +55,27 @@
|
||||||
write-protect-gpios = <&gpio_nw GPIO_75 GPIO_ACTIVE_HIGH>;
|
write-protect-gpios = <&gpio_nw GPIO_75 GPIO_ACTIVE_HIGH>;
|
||||||
phase-enforce-gpios = <&gpio_n GPIO_10 GPIO_ACTIVE_HIGH>;
|
phase-enforce-gpios = <&gpio_n GPIO_10 GPIO_ACTIVE_HIGH>;
|
||||||
smbios {
|
smbios {
|
||||||
manufacturer = "Google";
|
/* Type 1 table */
|
||||||
product = "Coral";
|
system {
|
||||||
version = "rev2";
|
manufacturer = "Google";
|
||||||
serial = "123456789";
|
product = "Coral";
|
||||||
sku = "sku3";
|
version = "rev2";
|
||||||
family = "Google_Coral";
|
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
Add a link
Reference in a new issue