From: Tom Rini Date: Mon, 22 Jan 2018 16:30:25 -0500 Subject: [U-Boot] [U-Boot, V3] Convert CONFIG_SYS_DV_CLKMODE et al to Kconfig In-Reply-To: <1515763566-7325-1-git-send-email-aford173@gmail.com> References: <1515763566-7325-1-git-send-email-aford173@gmail.com> Message-ID: <20180122213025.GA25023@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jan 12, 2018 at 07:26:06AM -0600, Adam Ford wrote: > This converts the following to Kconfig: > CONFIG_SYS_DV_CLKMODE > CONFIG_SYS_DA850_PLL0_POSTDIV > CONFIG_SYS_DA850_PLL0_PLLDIV1 > CONFIG_SYS_DA850_PLL0_PLLDIV2 > CONFIG_SYS_DA850_PLL0_PLLDIV3 > CONFIG_SYS_DA850_PLL0_PLLDIV4 > CONFIG_SYS_DA850_PLL0_PLLDIV5 > CONFIG_SYS_DA850_PLL0_PLLDIV7 > CONFIG_SYS_DA850_PLL1_POSTDIV > CONFIG_SYS_DA850_PLL1_PLLDIV1 > CONFIG_SYS_DA850_PLL1_PLLDIV2 > CONFIG_SYS_DA850_PLL1_PLLDIV3 > > Signed-off-by: Adam Ford > Reviewed-by: David Lechner > --- > Changes in V3: > Using the L138 Technical Reference manual, I changed the names to match > the descriptions of the registers as listed in Table 8-2 and 8-3 of the > PLL Control 0 and PLL Control 1 Registers. > V2: > Expand Kconfig help definitions to give a small explanation of options > V1: > This patch is a continuation of Convert CONFIG_SOC_DA8XX et al > This also showed warnings when used with the legoev3_defconfig, however > it seems like the ev3 board was defining things in the header it didn't need > since it doesn't seem to be building da850_lowlevel.c. I don't have the > hardware to test that board. > > arch/arm/mach-davinci/Kconfig | 85 ++++++++++++++++++++++++++++++++++++++++- > configs/omapl138_lcdk_defconfig | 1 + > include/configs/calimain.h | 13 ------- > include/configs/da850evm.h | 13 ------- > include/configs/ipam390.h | 13 ------- > include/configs/legoev3.h | 13 ------- > include/configs/omapl138_lcdk.h | 13 ------- > scripts/config_whitelist.txt | 12 ------ > 8 files changed, 85 insertions(+), 78 deletions(-) [patchwork link is https://patchwork.ozlabs.org/patch/859919/] First, this should also cover CONFIG_SYS_DA850_PLL0_PLLM which shouldn't be too bad. Second, this needs to deal with calimain, which has both CONFIG_SYS_DA850_PLL1_PLLM and CONFIG_SYS_DA850_PLL0_PLLM as dynamic. Ideas? Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: