diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2009-01-17 12:45:43 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-01-21 02:06:36 -0500 |
commit | fcb78d1f615a46509bffd9347b7f36fab4db79df (patch) | |
tree | ad5621d1eab9e6c6a736db9787f02b0cc9a94daa /arch/arm/mach-pxa | |
parent | dee63169884a528000d6318b1c1c2d0b445953f9 (diff) |
[ARM] pxa/magician: Use SZ_64M for physmap resource
Improves readability over the custom #define.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/magician.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index f734d6635470..b952508d5f94 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c | |||
@@ -693,11 +693,9 @@ static void magician_set_vpp(struct map_info *map, int vpp) | |||
693 | gpio_set_value(EGPIO_MAGICIAN_FLASH_VPP, vpp); | 693 | gpio_set_value(EGPIO_MAGICIAN_FLASH_VPP, vpp); |
694 | } | 694 | } |
695 | 695 | ||
696 | #define PXA_CS_SIZE 0x04000000 | ||
697 | |||
698 | static struct resource strataflash_resource = { | 696 | static struct resource strataflash_resource = { |
699 | .start = PXA_CS0_PHYS, | 697 | .start = PXA_CS0_PHYS, |
700 | .end = PXA_CS0_PHYS + PXA_CS_SIZE - 1, | 698 | .end = PXA_CS0_PHYS + SZ_64M - 1, |
701 | .flags = IORESOURCE_MEM, | 699 | .flags = IORESOURCE_MEM, |
702 | }; | 700 | }; |
703 | 701 | ||