diff options
Diffstat (limited to 'arch/m68knommu/platform/coldfire/head.S')
-rw-r--r-- | arch/m68knommu/platform/coldfire/head.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68knommu/platform/coldfire/head.S b/arch/m68knommu/platform/coldfire/head.S index d5977909ae5f..7967e8ab9fae 100644 --- a/arch/m68knommu/platform/coldfire/head.S +++ b/arch/m68knommu/platform/coldfire/head.S | |||
@@ -68,14 +68,14 @@ | |||
68 | #elif defined(CONFIG_M520x) | 68 | #elif defined(CONFIG_M520x) |
69 | .macro GET_MEM_SIZE | 69 | .macro GET_MEM_SIZE |
70 | clrl %d0 | 70 | clrl %d0 |
71 | movel MCF_MBAR+MCFSIM_SDCS0, %d2 /* Get SDRAM chip select 0 config */ | 71 | movel MCFSIM_SDCS0, %d2 /* Get SDRAM chip select 0 config */ |
72 | andl #0x1f, %d2 /* Get only the chip select size */ | 72 | andl #0x1f, %d2 /* Get only the chip select size */ |
73 | beq 3f /* Check if it is enabled */ | 73 | beq 3f /* Check if it is enabled */ |
74 | addql #1, %d2 /* Form exponent */ | 74 | addql #1, %d2 /* Form exponent */ |
75 | moveql #1, %d0 | 75 | moveql #1, %d0 |
76 | lsll %d2, %d0 /* 2 ^ exponent */ | 76 | lsll %d2, %d0 /* 2 ^ exponent */ |
77 | 3: | 77 | 3: |
78 | movel MCF_MBAR+MCFSIM_SDCS1, %d2 /* Get SDRAM chip select 1 config */ | 78 | movel MCFSIM_SDCS1, %d2 /* Get SDRAM chip select 1 config */ |
79 | andl #0x1f, %d2 /* Get only the chip select size */ | 79 | andl #0x1f, %d2 /* Get only the chip select size */ |
80 | beq 4f /* Check if it is enabled */ | 80 | beq 4f /* Check if it is enabled */ |
81 | addql #1, %d2 /* Form exponent */ | 81 | addql #1, %d2 /* Form exponent */ |