Skip to content
Snippets Groups Projects
Commit 35e1132c authored by Simon Glass's avatar Simon Glass Committed by Tom Warren
Browse files

tegra: Add NAND support to funcmux


Add selection of NAND flash pins to the funcmux.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
parent b572595e
Branches
Tags
No related merge requests found
......@@ -234,6 +234,13 @@ int funcmux_select(enum periph_id id, int config)
}
break;
case PERIPH_ID_NDFLASH:
if (config == FUNCMUX_NDFLASH_ATC) {
pinmux_set_func(PINGRP_ATC, PMUX_FUNC_NAND);
pinmux_tristate_disable(PINGRP_ATC);
}
break;
default:
debug("%s: invalid periph_id %d", __func__, id);
return -1;
......
......@@ -57,6 +57,9 @@ enum {
/* Serial Flash configs */
FUNCMUX_SPI1_GMC_GMD = 0,
/* NAND flags */
FUNCMUX_NDFLASH_ATC = 0,
};
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment