X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm%2Farch-h720x%2Fh7202-regs.h;h=43d8ba8a6013ca07c8b855c594166c01d03d6687;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=d5c867149e3526f3d8103c779001dec67f3f56bb;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-arm/arch-h720x/h7202-regs.h b/include/asm-arm/arch-h720x/h7202-regs.h index d5c867149..43d8ba8a6 100644 --- a/include/asm-arm/arch-h720x/h7202-regs.h +++ b/include/asm-arm/arch-h720x/h7202-regs.h @@ -17,8 +17,12 @@ * which is included by this file. */ -#define SERIAL2_VIRT (IO_VIRT + 0x2d000) -#define SERIAL3_VIRT (IO_VIRT + 0x2e000) +#define SERIAL2_OFS 0x2d000 +#define SERIAL2_BASE (IO_PHYS + SERIAL2_OFS) +#define SERIAL2_VIRT (IO_VIRT + SERIAL2_OFS) +#define SERIAL3_OFS 0x2e000 +#define SERIAL3_BASE (IO_PHYS + SERIAL3_OFS) +#define SERIAL3_VIRT (IO_VIRT + SERIAL3_OFS) /* Matrix Keyboard Controller */ #define KBD_VIRT (IO_VIRT + 0x22000)