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:
parent
b3956646bf
commit
cdd2592ffd
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user