Fix nvram2env after bus_space_fdt removal.

The generic bus space does the mapping now, no need to pre-translate
phys addresses to KSEG1 anymore.

Submitted by: Hiroki Mori
This commit is contained in:
Alexander Kabaev 2016-05-04 01:56:37 +00:00
parent b3956646bf
commit cdd2592ffd

View File

@ -127,7 +127,7 @@ nvram2env_probe(device_t dev)
ivar == 0)
continue;
sc->addr = MIPS_PHYS_TO_KSEG1(ivar);
sc->addr = ivar;
if (bootverbose)
device_printf(dev, "base=0x%08x sig=0x%08x "