summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2004-03-19 00:08:48 +0000
committerLi-Ta Lo <ollie@lanl.gov>2004-03-19 00:08:48 +0000
commite3c79ed89beddde0655775da6d5947a56b86f3cf (patch)
tree9333a08eb844216ef95122b51034d2b179eadbf3 /src
parent5b033b1f5dc720a5138fe6a8e8cddee9045069ed (diff)
downloadcoreboot-e3c79ed89beddde0655775da6d5947a56b86f3cf.tar.xz
number of bits should be called log 2 rather than base 2
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1442 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/include/device/resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/device/resource.h b/src/include/device/resource.h
index 73a3f6e0d5..b79a296b5b 100644
--- a/src/include/device/resource.h
+++ b/src/include/device/resource.h
@@ -66,8 +66,8 @@ struct resource {
unsigned long limit; /* Largest valid value base + size -1 */
unsigned long flags; /* Descriptions of the kind of resource */
unsigned long index; /* Bus specific per device resource id */
- unsigned char align; /* Required alignment (base 2) of the resource */
- unsigned char gran; /* Granularity (base 2) of the resource */
+ unsigned char align; /* Required alignment (log 2) of the resource */
+ unsigned char gran; /* Granularity (log 2) of the resource */
/* Alignment must be >= the granularity of the resource */
};