mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02:00
Convert CONFIG_CPU_FREQ_HZ to Kconfig
This converts the following to Kconfig: CONFIG_CPU_FREQ_HZ Cc: Michal Simek <monstr@monstr.eu> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -21,6 +21,12 @@ config SYS_CONFIG_NAME
|
|||||||
Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
|
Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
|
||||||
will be used for board configuration.
|
will be used for board configuration.
|
||||||
|
|
||||||
|
config CPU_FREQ_HZ
|
||||||
|
int "CPU frequency"
|
||||||
|
default 800000000
|
||||||
|
help
|
||||||
|
The value, in Hz, that the CPU clock is running at.
|
||||||
|
|
||||||
config SYS_MALLOC_F_LEN
|
config SYS_MALLOC_F_LEN
|
||||||
default 0x600
|
default 0x600
|
||||||
|
|
||||||
|
@@ -9,6 +9,7 @@ CONFIG_ENV_SIZE=0x20000
|
|||||||
CONFIG_DEFAULT_DEVICE_TREE="zynqmp-r5"
|
CONFIG_DEFAULT_DEVICE_TREE="zynqmp-r5"
|
||||||
CONFIG_DEBUG_UART_BASE=0xff010000
|
CONFIG_DEBUG_UART_BASE=0xff010000
|
||||||
CONFIG_DEBUG_UART_CLOCK=100000000
|
CONFIG_DEBUG_UART_CLOCK=100000000
|
||||||
|
CONFIG_CPU_FREQ_HZ=500000000
|
||||||
CONFIG_DEBUG_UART=y
|
CONFIG_DEBUG_UART=y
|
||||||
CONFIG_SYS_LOAD_ADDR=0x0
|
CONFIG_SYS_LOAD_ADDR=0x0
|
||||||
CONFIG_BOOTSTAGE=y
|
CONFIG_BOOTSTAGE=y
|
||||||
|
@@ -8,9 +8,6 @@
|
|||||||
|
|
||||||
#define CONFIG_EXTRA_ENV_SETTINGS
|
#define CONFIG_EXTRA_ENV_SETTINGS
|
||||||
|
|
||||||
/* CPU clock */
|
|
||||||
#define CONFIG_CPU_FREQ_HZ 500000000
|
|
||||||
|
|
||||||
/* Serial drivers */
|
/* Serial drivers */
|
||||||
/* The following table includes the supported baudrates */
|
/* The following table includes the supported baudrates */
|
||||||
#define CONFIG_SYS_BAUDRATE_TABLE \
|
#define CONFIG_SYS_BAUDRATE_TABLE \
|
||||||
|
@@ -9,11 +9,6 @@
|
|||||||
#ifndef __CONFIG_ZYNQ_COMMON_H
|
#ifndef __CONFIG_ZYNQ_COMMON_H
|
||||||
#define __CONFIG_ZYNQ_COMMON_H
|
#define __CONFIG_ZYNQ_COMMON_H
|
||||||
|
|
||||||
/* CPU clock */
|
|
||||||
#ifndef CONFIG_CPU_FREQ_HZ
|
|
||||||
# define CONFIG_CPU_FREQ_HZ 800000000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CONFIG_REMAKE_ELF
|
#define CONFIG_REMAKE_ELF
|
||||||
|
|
||||||
/* Cache options */
|
/* Cache options */
|
||||||
|
Reference in New Issue
Block a user