mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-26 04:17:09 +00:00
Kconfig: Remove CONFIG_CLOCKS_IN_MHZ
This variable is unset anywhere and only unset on a number of platforms. Remove all relevant code. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
f399e838cf
commit
2254f13216
17 changed files with 0 additions and 45 deletions
13
README
13
README
|
@ -559,19 +559,6 @@ The following options need to be configured:
|
||||||
such as ARM architectural timer initialization.
|
such as ARM architectural timer initialization.
|
||||||
|
|
||||||
- Linux Kernel Interface:
|
- Linux Kernel Interface:
|
||||||
CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
U-Boot stores all clock information in Hz
|
|
||||||
internally. For binary compatibility with older Linux
|
|
||||||
kernels (which expect the clocks passed in the
|
|
||||||
bd_info data to be in MHz) the environment variable
|
|
||||||
"clocks_in_mhz" can be defined so that U-Boot
|
|
||||||
converts clock data to MHZ before passing it to the
|
|
||||||
Linux kernel.
|
|
||||||
When CONFIG_CLOCKS_IN_MHZ is defined, a definition of
|
|
||||||
"clocks_in_mhz=1" is automatically included in the
|
|
||||||
default environment.
|
|
||||||
|
|
||||||
CONFIG_MEMSIZE_IN_BYTES [relevant for MIPS only]
|
CONFIG_MEMSIZE_IN_BYTES [relevant for MIPS only]
|
||||||
|
|
||||||
When transferring memsize parameter to Linux, some versions
|
When transferring memsize parameter to Linux, some versions
|
||||||
|
|
|
@ -112,8 +112,6 @@
|
||||||
|
|
||||||
#define CONFIG_SYS_FLASH_EMPTY_INFO
|
#define CONFIG_SYS_FLASH_EMPTY_INFO
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local Bus Definitions
|
* Local Bus Definitions
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -57,8 +57,6 @@ extern unsigned long get_clock_freq(void);
|
||||||
#error ("CONFIG_SPD_EEPROM is required by MPC85555CDS")
|
#error ("CONFIG_SPD_EEPROM is required by MPC85555CDS")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local Bus Definitions
|
* Local Bus Definitions
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -63,8 +63,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
|
||||||
#error ("CONFIG_SPD_EEPROM is required")
|
#error ("CONFIG_SPD_EEPROM is required")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Memory map
|
* Memory map
|
||||||
*
|
*
|
||||||
|
|
|
@ -73,7 +73,6 @@ extern unsigned long get_clock_freq(void);
|
||||||
#error ("CONFIG_SPD_EEPROM is required")
|
#error ("CONFIG_SPD_EEPROM is required")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
/*
|
/*
|
||||||
* Physical Address Map
|
* Physical Address Map
|
||||||
*
|
*
|
||||||
|
|
|
@ -55,8 +55,6 @@ extern unsigned long get_clock_freq(void);
|
||||||
#error ("CONFIG_SPD_EEPROM is required by MPC85555CDS")
|
#error ("CONFIG_SPD_EEPROM is required by MPC85555CDS")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local Bus Definitions
|
* Local Bus Definitions
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -113,8 +113,6 @@
|
||||||
|
|
||||||
#define CONFIG_SYS_FLASH_EMPTY_INFO
|
#define CONFIG_SYS_FLASH_EMPTY_INFO
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local Bus Definitions
|
* Local Bus Definitions
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -59,8 +59,6 @@ extern unsigned long get_clock_freq(void);
|
||||||
#error ("CONFIG_SPD_EEPROM is required")
|
#error ("CONFIG_SPD_EEPROM is required")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local Bus Definitions
|
* Local Bus Definitions
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -109,8 +109,6 @@ extern unsigned long get_clock_freq(void);
|
||||||
#define CONFIG_SYS_DDR_ERR_DIS 0x00000000
|
#define CONFIG_SYS_DDR_ERR_DIS 0x00000000
|
||||||
#define CONFIG_SYS_DDR_SBE 0x00010000
|
#define CONFIG_SYS_DDR_SBE 0x00010000
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Local Bus Definitions
|
* Local Bus Definitions
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -118,8 +118,6 @@
|
||||||
#error ("CONFIG_SPD_EEPROM is required")
|
#error ("CONFIG_SPD_EEPROM is required")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Memory map
|
* Memory map
|
||||||
*
|
*
|
||||||
|
|
|
@ -176,8 +176,6 @@
|
||||||
#define CONFIG_SYS_SDRAM_SIZE 256
|
#define CONFIG_SYS_SDRAM_SIZE 256
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
#define CONFIG_SYS_INIT_RAM_LOCK 1
|
#define CONFIG_SYS_INIT_RAM_LOCK 1
|
||||||
#ifndef CONFIG_SYS_INIT_RAM_LOCK
|
#ifndef CONFIG_SYS_INIT_RAM_LOCK
|
||||||
#define CONFIG_SYS_INIT_RAM_ADDR 0xe4010000 /* Initial RAM address */
|
#define CONFIG_SYS_INIT_RAM_ADDR 0xe4010000 /* Initial RAM address */
|
||||||
|
|
|
@ -221,8 +221,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
|
||||||
#define CONFIG_SYS_SDRAM_SIZE 256
|
#define CONFIG_SYS_SDRAM_SIZE 256
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
#define CONFIG_SYS_INIT_RAM_LOCK 1
|
#define CONFIG_SYS_INIT_RAM_LOCK 1
|
||||||
#ifndef CONFIG_SYS_INIT_RAM_LOCK
|
#ifndef CONFIG_SYS_INIT_RAM_LOCK
|
||||||
#define CONFIG_SYS_INIT_RAM_ADDR 0x0fd00000 /* Initial RAM address */
|
#define CONFIG_SYS_INIT_RAM_ADDR 0x0fd00000 /* Initial RAM address */
|
||||||
|
|
|
@ -227,8 +227,6 @@
|
||||||
#define CONFIG_SYS_DDR_MODE_2 0x8000c000
|
#define CONFIG_SYS_DDR_MODE_2 0x8000c000
|
||||||
#define CONFIG_SYS_DDR_INTERVAL 0x0C300000
|
#define CONFIG_SYS_DDR_INTERVAL 0x0C300000
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Memory map
|
* Memory map
|
||||||
*
|
*
|
||||||
|
|
|
@ -300,8 +300,6 @@
|
||||||
#define CONFIG_SYS_DDR_INTERVAL 0x0C300000
|
#define CONFIG_SYS_DDR_INTERVAL 0x0C300000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Memory map
|
* Memory map
|
||||||
*
|
*
|
||||||
|
|
|
@ -118,8 +118,6 @@
|
||||||
#define CONFIG_SYS_DDR_CONTROL 0xc300c000
|
#define CONFIG_SYS_DDR_CONTROL 0xc300c000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FLASH on the Local Bus
|
* FLASH on the Local Bus
|
||||||
* Two banks, one 8MB the other 64MB, using the CFI driver.
|
* Two banks, one 8MB the other 64MB, using the CFI driver.
|
||||||
|
|
|
@ -206,8 +206,6 @@
|
||||||
#define CONFIG_SYS_WRITE_SWAPPED_DATA
|
#define CONFIG_SYS_WRITE_SWAPPED_DATA
|
||||||
#define CONFIG_SYS_FLASH_EMPTY_INFO
|
#define CONFIG_SYS_FLASH_EMPTY_INFO
|
||||||
|
|
||||||
#undef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
|
|
||||||
#define CONFIG_SYS_INIT_RAM_LOCK 1
|
#define CONFIG_SYS_INIT_RAM_LOCK 1
|
||||||
#ifndef CONFIG_SYS_INIT_RAM_LOCK
|
#ifndef CONFIG_SYS_INIT_RAM_LOCK
|
||||||
#define CONFIG_SYS_INIT_RAM_ADDR 0x0fd00000 /* Initial RAM address */
|
#define CONFIG_SYS_INIT_RAM_ADDR 0x0fd00000 /* Initial RAM address */
|
||||||
|
|
|
@ -83,9 +83,6 @@ const uchar default_environment[] = {
|
||||||
#ifdef CONFIG_LOADADDR
|
#ifdef CONFIG_LOADADDR
|
||||||
"loadaddr=" __stringify(CONFIG_LOADADDR) "\0"
|
"loadaddr=" __stringify(CONFIG_LOADADDR) "\0"
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_CLOCKS_IN_MHZ
|
|
||||||
"clocks_in_mhz=1\0"
|
|
||||||
#endif
|
|
||||||
#if defined(CONFIG_PCI_BOOTDELAY) && (CONFIG_PCI_BOOTDELAY > 0)
|
#if defined(CONFIG_PCI_BOOTDELAY) && (CONFIG_PCI_BOOTDELAY > 0)
|
||||||
"pcidelay=" __stringify(CONFIG_PCI_BOOTDELAY)"\0"
|
"pcidelay=" __stringify(CONFIG_PCI_BOOTDELAY)"\0"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue