Skip to content
Snippets Groups Projects
Commit 8a1c4427 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Bin Meng
Browse files

x86: ivybridge: remove unused variables


legacy_hole_base_k and legacy_hole_size_k are defined but
not used.

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 2b2e9f6b
No related branches found
No related tags found
No related merge requests found
......@@ -34,16 +34,6 @@ int bridge_silicon_revision(struct udevice *dev)
return bridge_id | stepping;
}
/*
* Reserve everything between A segment and 1MB:
*
* 0xa0000 - 0xbffff: legacy VGA
* 0xc0000 - 0xcffff: VGA OPROM (needed by kernel)
* 0xe0000 - 0xfffff: SeaBIOS, if used, otherwise DMI
*/
static const int legacy_hole_base_k = 0xa0000 / 1024;
static const int legacy_hole_size_k = 384;
static int get_pcie_bar(struct udevice *dev, u32 *base, u32 *len)
{
u32 pciexbar_reg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment