diff options
| author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-10-16 15:01:15 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2008-10-18 21:54:03 +0200 | 
| commit | 6d0f6bcf337c5261c08fabe12982178c2c489d76 (patch) | |
| tree | ae13958ffa9c6b58c2ea97aac07a4ad2f04a350f /cpu/mpc8260/serial_scc.c | |
| parent | 71edc271816ec82cf0550dd6980be2da3cc2ad9e (diff) | |
| download | olio-uboot-2014.01-6d0f6bcf337c5261c08fabe12982178c2c489d76.tar.xz olio-uboot-2014.01-6d0f6bcf337c5261c08fabe12982178c2c489d76.zip | |
rename CFG_ macros to CONFIG_SYS
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'cpu/mpc8260/serial_scc.c')
| -rw-r--r-- | cpu/mpc8260/serial_scc.c | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/cpu/mpc8260/serial_scc.c b/cpu/mpc8260/serial_scc.c index 3a6eaf0a6..4ab6a2864 100644 --- a/cpu/mpc8260/serial_scc.c +++ b/cpu/mpc8260/serial_scc.c @@ -84,7 +84,7 @@ DECLARE_GLOBAL_DATA_PTR;  int serial_init (void)  { -	volatile immap_t *im = (immap_t *)CFG_IMMR; +	volatile immap_t *im = (immap_t *)CONFIG_SYS_IMMR;  	volatile scc_t *sp;  	volatile scc_uart_t *up;  	volatile cbd_t *tbdf, *rbdf; @@ -201,7 +201,7 @@ serial_putc(const char c)  	if (c == '\n')  		serial_putc ('\r'); -	im = (immap_t *)CFG_IMMR; +	im = (immap_t *)CONFIG_SYS_IMMR;  	up = (scc_uart_t *)&im->im_dprambase[PROFF_SCC];  	tbdf = (cbd_t *)&im->im_dprambase[up->scc_genscc.scc_tbase]; @@ -233,7 +233,7 @@ serial_getc(void)  	volatile immap_t	*im;  	unsigned char		c; -	im = (immap_t *)CFG_IMMR; +	im = (immap_t *)CONFIG_SYS_IMMR;  	up = (scc_uart_t *)&im->im_dprambase[PROFF_SCC];  	rbdf = (cbd_t *)&im->im_dprambase[up->scc_genscc.scc_rbase]; @@ -257,7 +257,7 @@ serial_tstc()  	volatile scc_uart_t	*up;  	volatile immap_t	*im; -	im = (immap_t *)CFG_IMMR; +	im = (immap_t *)CONFIG_SYS_IMMR;  	up = (scc_uart_t *)&im->im_dprambase[PROFF_SCC];  	rbdf = (cbd_t *)&im->im_dprambase[up->scc_genscc.scc_rbase]; @@ -321,7 +321,7 @@ serial_tstc()  void  kgdb_serial_init (void)  { -	volatile immap_t *im = (immap_t *)CFG_IMMR; +	volatile immap_t *im = (immap_t *)CONFIG_SYS_IMMR;  	volatile scc_t *sp;  	volatile scc_uart_t *up;  	volatile cbd_t *tbdf, *rbdf; @@ -440,7 +440,7 @@ putDebugChar(const char c)  	if (c == '\n')  		putDebugChar ('\r'); -	im = (immap_t *)CFG_IMMR; +	im = (immap_t *)CONFIG_SYS_IMMR;  	up = (scc_uart_t *)&im->im_dprambase[KGDB_PROFF_SCC];  	tbdf = (cbd_t *)&im->im_dprambase[up->scc_genscc.scc_tbase]; @@ -472,7 +472,7 @@ getDebugChar(void)  	volatile immap_t	*im;  	unsigned char		c; -	im = (immap_t *)CFG_IMMR; +	im = (immap_t *)CONFIG_SYS_IMMR;  	up = (scc_uart_t *)&im->im_dprambase[KGDB_PROFF_SCC];  	rbdf = (cbd_t *)&im->im_dprambase[up->scc_genscc.scc_rbase]; |