diff options
Diffstat (limited to 'arch/powerpc/cpu/ppc4xx/4xx_uart.c')
| -rw-r--r-- | arch/powerpc/cpu/ppc4xx/4xx_uart.c | 35 | 
1 files changed, 6 insertions, 29 deletions
| diff --git a/arch/powerpc/cpu/ppc4xx/4xx_uart.c b/arch/powerpc/cpu/ppc4xx/4xx_uart.c index 1ad19abff..50c28a0d3 100644 --- a/arch/powerpc/cpu/ppc4xx/4xx_uart.c +++ b/arch/powerpc/cpu/ppc4xx/4xx_uart.c @@ -5,30 +5,7 @@   * (C) Copyright 2010   * Stefan Roese, DENX Software Engineering, sr@denx.de.   * - * SPDX-License-Identifier:	GPL-2.0+ - */ - -/* - * This source code is dual-licensed.  You may use it under the terms of the - * GNU General Public License version 2, or under the license below. - * - * This source code has been made available to you by IBM on an AS-IS - * basis.  Anyone receiving this source is licensed under IBM - * copyrights to use it in any way he or she deems fit, including - * copying it, modifying it, compiling it, and redistributing it either - * with or without modifications.  No license under IBM patents or - * patent applications is to be implied by the copyright license. - * - * Any user of this software should understand that IBM cannot provide - * technical support for this software and will not be responsible for - * any consequences resulting from the use of this software. - * - * Any person who transfers this source code or any derivative work - * must include the IBM copyright notice, this paragraph, and the - * preceding two paragraphs in the transferred software. - * - * COPYRIGHT   I B M   CORPORATION 1995 - * LICENSED MATERIAL  -  PROGRAM PROPERTY OF I B M + * SPDX-License-Identifier:	GPL-2.0	ibm-pibs   */  #include <common.h> @@ -40,7 +17,7 @@  DECLARE_GLOBAL_DATA_PTR; -#if defined(CONFIG_405GP) || defined(CONFIG_405CR) || \ +#if defined(CONFIG_405GP) || \      defined(CONFIG_405EP) || defined(CONFIG_405EZ) || \      defined(CONFIG_405EX) || defined(CONFIG_440) @@ -91,7 +68,7 @@ DECLARE_GLOBAL_DATA_PTR;  #define UDIV_SUBTRACT	0  #define UART0_SDR	SDR0_UART0  #define UART1_SDR	SDR0_UART1 -#else /* CONFIG_405GP || CONFIG_405CR */ +#else /* CONFIG_405GP */  #define CR0_MASK        0x00001fff  #define CR0_EXTCLK_ENA  0x000000c0  #define CR0_UDIV_POS    1 @@ -196,7 +173,7 @@ int get_serial_clock(void)  	 * Let's handle this in some #ifdef's for the SoC's.  	 */ -#if defined(CONFIG_405CR) || defined(CONFIG_405GP) +#if defined(CONFIG_405GP)  	reg = mfdcr(CPC0_CR0) & ~CR0_MASK;  #ifdef CONFIG_SYS_EXT_SERIAL_CLOCK  	clk = CONFIG_SYS_EXT_SERIAL_CLOCK; @@ -223,7 +200,7 @@ int get_serial_clock(void)  #else  	clk = CONFIG_SYS_BASE_BAUD * 16;  #endif -#endif /* CONFIG_405CR */ +#endif  #if defined(CONFIG_405EP)  	{ @@ -288,4 +265,4 @@ int get_serial_clock(void)  	return clk;  } -#endif	/* CONFIG_405GP || CONFIG_405CR */ +#endif	/* CONFIG_405GP */ |