- Change broken usage of get_resource to find_resource.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1674 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
448bd635c0
commit
3287f0b9a1
|
@ -27,16 +27,16 @@ static void init(device_t dev)
|
|||
conf = dev->chip->chip_info;
|
||||
switch(dev->path.u.pnp.device) {
|
||||
case PC87360_SP1:
|
||||
res0 = get_resource(dev, PNP_IDX_IO0);
|
||||
res0 = find_resource(dev, PNP_IDX_IO0);
|
||||
init_uart8250(res0->base, &conf->com1);
|
||||
break;
|
||||
case PC87360_SP2:
|
||||
res0 = get_resource(dev, PNP_IDX_IO0);
|
||||
res0 = find_resource(dev, PNP_IDX_IO0);
|
||||
init_uart8250(res0->base, &conf->com2);
|
||||
break;
|
||||
case PC87360_KBCK:
|
||||
res0 = get_resource(dev, PNP_IDX_IO0);
|
||||
res1 = get_resource(dev, PNP_IDX_IO1);
|
||||
res0 = find_resource(dev, PNP_IDX_IO0);
|
||||
res1 = find_resource(dev, PNP_IDX_IO1);
|
||||
init_pc_keyboard(res0->base, res1->base, &conf->keyboard);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue