mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
Convert CONFIG_SH_GPIO_PFC et al to Kconfig
This converts the following to Kconfig: CONFIG_SH_GPIO_PFC CONFIG_TMU_TIMER Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
ea467ea1cd
commit
1c34f7885d
3 changed files with 9 additions and 5 deletions
|
@ -8,6 +8,7 @@ config RCAR_GEN2
|
|||
bool "Renesas RCar Gen2"
|
||||
select PHY
|
||||
select PHY_RCAR_GEN2
|
||||
select TMU_TIMER
|
||||
|
||||
config R8A7740
|
||||
bool "Renesas SoC R8A7740"
|
||||
|
@ -121,6 +122,9 @@ config TARGET_STOUT
|
|||
|
||||
endchoice
|
||||
|
||||
config TMU_TIMER
|
||||
bool
|
||||
|
||||
config SYS_SOC
|
||||
default "rmobile"
|
||||
|
||||
|
|
|
@ -596,6 +596,11 @@ config ZYNQMP_GPIO_MODEPIN
|
|||
are accessed using xilinx firmware. In modepin register, [3:0] bits
|
||||
set direction, [7:4] bits read IO, [11:8] bits set/clear IO.
|
||||
|
||||
config SH_GPIO_PFC
|
||||
bool "Pinmuxed GPIO support for SuperH"
|
||||
depends on RCAR_GEN2 && !PINCTRL_PFC
|
||||
default y
|
||||
|
||||
config SL28CPLD_GPIO
|
||||
bool "Kontron sl28cpld GPIO driver"
|
||||
depends on DM_GPIO && SL28CPLD
|
||||
|
|
|
@ -10,10 +10,6 @@
|
|||
|
||||
#include <asm/arch/rmobile.h>
|
||||
|
||||
#ifndef CONFIG_PINCTRL_PFC
|
||||
#define CONFIG_SH_GPIO_PFC
|
||||
#endif
|
||||
|
||||
/* console */
|
||||
#define CFG_SYS_BAUDRATE_TABLE { 38400, 115200 }
|
||||
|
||||
|
@ -21,7 +17,6 @@
|
|||
#define CFG_SYS_SDRAM_SIZE (RCAR_GEN2_UBOOT_SDRAM_SIZE)
|
||||
|
||||
/* Timer */
|
||||
#define CONFIG_TMU_TIMER
|
||||
#define CFG_SYS_TIMER_COUNTER (TMU_BASE + 0xc) /* TCNT0 */
|
||||
#define CFG_SYS_TIMER_RATE (get_board_sys_clk() / 8)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue