]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Kconfig: Remove CONFIG_CLOCKS_IN_MHZ
authorTom Rini <trini@konsulko.com>
Tue, 16 Jun 2020 23:06:28 +0000 (19:06 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 26 Jun 2020 14:29:26 +0000 (10:29 -0400)
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>
17 files changed:
README
include/configs/MPC8540ADS.h
include/configs/MPC8541CDS.h
include/configs/MPC8544DS.h
include/configs/MPC8548CDS.h
include/configs/MPC8555CDS.h
include/configs/MPC8560ADS.h
include/configs/MPC8568MDS.h
include/configs/MPC8569MDS.h
include/configs/MPC8572DS.h
include/configs/MPC8610HPCD.h
include/configs/MPC8641HPCN.h
include/configs/UCP1020.h
include/configs/p1_p2_rdb_pc.h
include/configs/sbc8548.h
include/configs/sbc8641d.h
include/env_default.h

diff --git a/README b/README
index a5aee86211c2c813d17d3f4bf6aba9707236c054..020918a5435a0a155d61e1b88a1d07059c96907e 100644 (file)
--- a/README
+++ b/README
@@ -559,19 +559,6 @@ The following options need to be configured:
                such as ARM architectural timer initialization.
 
 - 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]
 
                When transferring memsize parameter to Linux, some versions
index 19859671cd3135f0f007e599f0d2d003c9548afd..d2a92619fb6a243036550c944130946804454276 100644 (file)
 
 #define CONFIG_SYS_FLASH_EMPTY_INFO
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 /*
  * Local Bus Definitions
  */
index 013bd775ddbe188bd4dc3015022ca087c1a0c48e..834bf7a0ffdd327c78a3b1296e4d9e87d9d092bb 100644 (file)
@@ -57,8 +57,6 @@ extern unsigned long get_clock_freq(void);
 #error ("CONFIG_SPD_EEPROM is required by MPC85555CDS")
 #endif
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 /*
  * Local Bus Definitions
  */
index 1dd030842a15c219b3c4f7502e326ca6abbee369..b9c57e1f518bcb2dbfd9625e8fb055a64fa2a7c3 100644 (file)
@@ -63,8 +63,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #error ("CONFIG_SPD_EEPROM is required")
 #endif
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 /*
  * Memory map
  *
index e3044f0ae69d0a1e5404804a02106a7fc886033f..1cb62ae8497fcbbd00222860a35a113779694ef2 100644 (file)
@@ -73,7 +73,6 @@ extern unsigned long get_clock_freq(void);
 #error ("CONFIG_SPD_EEPROM is required")
 #endif
 
-#undef CONFIG_CLOCKS_IN_MHZ
 /*
  * Physical Address Map
  *
index 70289f570acc76c64e0b288e06064453ea317e6c..c25b04e97931aa1529c6a220dbe6454c0a945c7c 100644 (file)
@@ -55,8 +55,6 @@ extern unsigned long get_clock_freq(void);
 #error ("CONFIG_SPD_EEPROM is required by MPC85555CDS")
 #endif
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 /*
  * Local Bus Definitions
  */
index fc4040907abc03ac41e793e4d45002b92c8db6f9..4d1a417e42f6e90a8079fd7c665b7c46c9e5832e 100644 (file)
 
 #define CONFIG_SYS_FLASH_EMPTY_INFO
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 /*
  * Local Bus Definitions
  */
index 60caea4a4cbe4030c7e37bef9025a11e6dad5c51..14663644d12b65ca6047bc9b75af693105cedae3 100644 (file)
@@ -59,8 +59,6 @@ extern unsigned long get_clock_freq(void);
 #error ("CONFIG_SPD_EEPROM is required")
 #endif
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 /*
  * Local Bus Definitions
  */
index 4d6a3d0a7de04c1046334d2a25a0a90baea6e4ef..dd291aca1efe9c0e65c6b6828d5640308ea50e9c 100644 (file)
@@ -109,8 +109,6 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_SYS_DDR_ERR_DIS          0x00000000
 #define CONFIG_SYS_DDR_SBE              0x00010000
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 /*
  * Local Bus Definitions
  */
index bad914292157f75176a3909d04e427786b9d7e02..b4e5e3b3e26e5b14eb08be242034d6b4da366949 100644 (file)
 #error ("CONFIG_SPD_EEPROM is required")
 #endif
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 /*
  * Memory map
  *
index b2acc7297361a0a2fe7d73aa039b3bd65d2f055c..c0407bbc16b22e151a80eb336b321be9fd0555d6 100644 (file)
 #define CONFIG_SYS_SDRAM_SIZE  256
 #endif
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 #define CONFIG_SYS_INIT_RAM_LOCK       1
 #ifndef CONFIG_SYS_INIT_RAM_LOCK
 #define CONFIG_SYS_INIT_RAM_ADDR       0xe4010000      /* Initial RAM address */
index 78d1dd2c371b8ef8657dfceb5f7d857d6e5b55d6..a7f02aef29829116cc8167374b09bedbd9260764 100644 (file)
@@ -221,8 +221,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_SDRAM_SIZE  256
 #endif
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 #define CONFIG_SYS_INIT_RAM_LOCK       1
 #ifndef CONFIG_SYS_INIT_RAM_LOCK
 #define CONFIG_SYS_INIT_RAM_ADDR       0x0fd00000      /* Initial RAM address */
index cfc9567332e94d584a07ab4c8894aded759b4182..2590a28867d380e319746df08ed54d337fa9ee66 100644 (file)
 #define CONFIG_SYS_DDR_MODE_2          0x8000c000
 #define CONFIG_SYS_DDR_INTERVAL                0x0C300000
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 /*
  * Memory map
  *
index 219e5d216bbcd196b7576e69479e399838424688..6b57be912ac5917322686574028e0f0fdaf24b96 100644 (file)
 #define CONFIG_SYS_DDR_INTERVAL                0x0C300000
 #endif
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 /*
  * Memory map
  *
index 503b9b1cb50e2eb9f33910d3073fd58b8426916a..f94683329b8bcb45b5f6c2c222e90b9bf41d0d87 100644 (file)
        #define CONFIG_SYS_DDR_CONTROL  0xc300c000
 #endif
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 /*
  * FLASH on the Local Bus
  * Two banks, one 8MB the other 64MB, using the CFI driver.
index 66c1f3595ba2afa6563c5b494577652513a9a9b1..5b93ccbda11fc19ebf0f3fd6838115669fb0d75f 100644 (file)
 #define CONFIG_SYS_WRITE_SWAPPED_DATA
 #define CONFIG_SYS_FLASH_EMPTY_INFO
 
-#undef CONFIG_CLOCKS_IN_MHZ
-
 #define CONFIG_SYS_INIT_RAM_LOCK       1
 #ifndef CONFIG_SYS_INIT_RAM_LOCK
 #define CONFIG_SYS_INIT_RAM_ADDR       0x0fd00000      /* Initial RAM address */
index a657927e06f5d4c275a8a7739dbaf5e534c170e8..8a0c3057f0aa4ffecde15c98e8dccacbcf6066f5 100644 (file)
@@ -83,9 +83,6 @@ const uchar default_environment[] = {
 #ifdef CONFIG_LOADADDR
        "loadaddr="     __stringify(CONFIG_LOADADDR)    "\0"
 #endif
-#ifdef CONFIG_CLOCKS_IN_MHZ
-       "clocks_in_mhz=1\0"
-#endif
 #if defined(CONFIG_PCI_BOOTDELAY) && (CONFIG_PCI_BOOTDELAY > 0)
        "pcidelay="     __stringify(CONFIG_PCI_BOOTDELAY)"\0"
 #endif