summaryrefslogtreecommitdiff
path: root/board/vscom/baltos/board.c
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2018-11-22 11:19:30 +0300
committerTom Rini <trini@konsulko.com>2018-12-03 18:44:10 +0300
commit67c145a836d087ec59cbd78b97970789e78f1eba (patch)
treec3912f5e6ad0abf600aa8a42d9fb7557dc03a7dc /board/vscom/baltos/board.c
parent8f5bfb7615e82ffccebf79530b08034f81e56268 (diff)
downloadu-boot-67c145a836d087ec59cbd78b97970789e78f1eba.tar.xz
arm: baltos: move the board to CONFIG_BLK
Use DM for both MMC and USB subsystems and use dedicated DTS for U-Boot configuration. Disable SPL support for GPIO and remove EVMSK leftover for DDR power control via GPIO. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/vscom/baltos/board.c')
-rw-r--r--board/vscom/baltos/board.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/board/vscom/baltos/board.c b/board/vscom/baltos/board.c
index df0a2d2b7a..60651f501f 100644
--- a/board/vscom/baltos/board.c
+++ b/board/vscom/baltos/board.c
@@ -35,8 +35,7 @@
DECLARE_GLOBAL_DATA_PTR;
-/* GPIO that controls power to DDR on EVM-SK */
-#define GPIO_DDR_VTT_EN 7
+/* GPIO that controls DIP switch and mPCIe slot */
#define DIP_S1 44
#define MPCIE_SW 100
@@ -248,9 +247,6 @@ const struct ctrl_ioregs ioregs_baltos = {
void sdram_init(void)
{
- gpio_request(GPIO_DDR_VTT_EN, "ddr_vtt_en");
- gpio_direction_output(GPIO_DDR_VTT_EN, 1);
-
config_ddr(400, &ioregs_baltos,
&ddr3_baltos_data,
&ddr3_baltos_cmd_ctrl_data,