summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2019-09-25 08:56:46 -0600
committerBin Meng <[email protected]>2019-10-08 13:57:48 +0800
commitadd3f4c9186fbd94b6e89c1d277b544a7a6ad404 (patch)
treea59d8963c9491687391aae34f638e344b919b665 /include/linux/linux_string.h
parent6ccb2f890bb5bfdd6aed4a99294fd77508436c40 (diff)
x86: Add a function to set variable MTRRs
Normally U-Boot handles MTRRs through an add/commit process which overwrites all MTRRs. But in very early boot it is not desirable to clear the existing MTRRs since they may be in use and it can cause a hang. Add a new mtrr_set_next_var() function which sets up the next available MTRR to the required region. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Bin Meng <[email protected]> [bmeng: pass 'type' to set_var_mtrr() in mtrr_set_next_var()] Signed-off-by: Bin Meng <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions