Commit e97e9c98 authored by Luis Alves's avatar Luis Alves Committed by Greg Ungerer

m68knommu: fix MC68328.h defines

This patch fixes some broken #define's in the MC68328.h file.
Most of them are whitespaces and one is an incorrect define of TCN.
Signed-off-by: default avatarLuis Alves <ljalvs@gmail.com>
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
parent be3f695c
...@@ -293,7 +293,7 @@ ...@@ -293,7 +293,7 @@
/* /*
* Here go the bitmasks themselves * Here go the bitmasks themselves
*/ */
#define IMR_MSPIM (1 << SPIM _IRQ_NUM) /* Mask SPI Master interrupt */ #define IMR_MSPIM (1 << SPIM_IRQ_NUM) /* Mask SPI Master interrupt */
#define IMR_MTMR2 (1 << TMR2_IRQ_NUM) /* Mask Timer 2 interrupt */ #define IMR_MTMR2 (1 << TMR2_IRQ_NUM) /* Mask Timer 2 interrupt */
#define IMR_MUART (1 << UART_IRQ_NUM) /* Mask UART interrupt */ #define IMR_MUART (1 << UART_IRQ_NUM) /* Mask UART interrupt */
#define IMR_MWDT (1 << WDT_IRQ_NUM) /* Mask Watchdog Timer interrupt */ #define IMR_MWDT (1 << WDT_IRQ_NUM) /* Mask Watchdog Timer interrupt */
...@@ -327,7 +327,7 @@ ...@@ -327,7 +327,7 @@
#define IWR_ADDR 0xfffff308 #define IWR_ADDR 0xfffff308
#define IWR LONG_REF(IWR_ADDR) #define IWR LONG_REF(IWR_ADDR)
#define IWR_SPIM (1 << SPIM _IRQ_NUM) /* SPI Master interrupt */ #define IWR_SPIM (1 << SPIM_IRQ_NUM) /* SPI Master interrupt */
#define IWR_TMR2 (1 << TMR2_IRQ_NUM) /* Timer 2 interrupt */ #define IWR_TMR2 (1 << TMR2_IRQ_NUM) /* Timer 2 interrupt */
#define IWR_UART (1 << UART_IRQ_NUM) /* UART interrupt */ #define IWR_UART (1 << UART_IRQ_NUM) /* UART interrupt */
#define IWR_WDT (1 << WDT_IRQ_NUM) /* Watchdog Timer interrupt */ #define IWR_WDT (1 << WDT_IRQ_NUM) /* Watchdog Timer interrupt */
...@@ -357,7 +357,7 @@ ...@@ -357,7 +357,7 @@
#define ISR_ADDR 0xfffff30c #define ISR_ADDR 0xfffff30c
#define ISR LONG_REF(ISR_ADDR) #define ISR LONG_REF(ISR_ADDR)
#define ISR_SPIM (1 << SPIM _IRQ_NUM) /* SPI Master interrupt */ #define ISR_SPIM (1 << SPIM_IRQ_NUM) /* SPI Master interrupt */
#define ISR_TMR2 (1 << TMR2_IRQ_NUM) /* Timer 2 interrupt */ #define ISR_TMR2 (1 << TMR2_IRQ_NUM) /* Timer 2 interrupt */
#define ISR_UART (1 << UART_IRQ_NUM) /* UART interrupt */ #define ISR_UART (1 << UART_IRQ_NUM) /* UART interrupt */
#define ISR_WDT (1 << WDT_IRQ_NUM) /* Watchdog Timer interrupt */ #define ISR_WDT (1 << WDT_IRQ_NUM) /* Watchdog Timer interrupt */
...@@ -391,7 +391,7 @@ ...@@ -391,7 +391,7 @@
#define IPR_ADDR 0xfffff310 #define IPR_ADDR 0xfffff310
#define IPR LONG_REF(IPR_ADDR) #define IPR LONG_REF(IPR_ADDR)
#define IPR_SPIM (1 << SPIM _IRQ_NUM) /* SPI Master interrupt */ #define IPR_SPIM (1 << SPIM_IRQ_NUM) /* SPI Master interrupt */
#define IPR_TMR2 (1 << TMR2_IRQ_NUM) /* Timer 2 interrupt */ #define IPR_TMR2 (1 << TMR2_IRQ_NUM) /* Timer 2 interrupt */
#define IPR_UART (1 << UART_IRQ_NUM) /* UART interrupt */ #define IPR_UART (1 << UART_IRQ_NUM) /* UART interrupt */
#define IPR_WDT (1 << WDT_IRQ_NUM) /* Watchdog Timer interrupt */ #define IPR_WDT (1 << WDT_IRQ_NUM) /* Watchdog Timer interrupt */
...@@ -757,7 +757,7 @@ ...@@ -757,7 +757,7 @@
/* 'EZ328-compatible definitions */ /* 'EZ328-compatible definitions */
#define TCN_ADDR TCN1_ADDR #define TCN_ADDR TCN1_ADDR
#define TCN TCN #define TCN TCN1
/* /*
* Timer Unit 1 and 2 Status Registers * Timer Unit 1 and 2 Status Registers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment