remove trailing whitespace
[coreboot.git] / src / northbridge / amd / amdk8 / misc_control.c
index fa90a55ca54732d2307761417b0872ecb3cf51f4..7ba2b90406b8462b32030f2842fbadf29d4eaf9b 100644 (file)
@@ -48,7 +48,10 @@ static void mcf3_read_resources(device_t dev)
        }
 
        iommu = 1;
-       get_option(&iommu, "iommu");
+       if( get_option(&iommu, "iommu") < 0 )
+       {
+               iommu = CONFIG_IOMMU;
+       }
 
        if (iommu) {
                /* Add a GART aperture resource */