Tool/software: Linux
Hello all,
We use pinmux tool with the version 4.0.1522 and we are trying to add "am335x_pinmux.h" and "am335x_pinmux_data.c" files into u-boot source. Our psdk version is 05_01_00_11. It seems there is a conflict between generated output files,from pinmux, and mux.c files. I mean, for example, the below code is from "am335x_pinmux_data.c" file
static pinmuxPerCfg_t gUart0PinCfg[] = { { /* Debug -> uart0_rxd -> E15 */ PIN_UART0_RXD, 0, \ ( \ PIN_MODE(0) | \ ((PIN_PULL_UD_EN | PIN_RX_ACTIVE) & (~PIN_PULL_TYPE_SEL)) \ ) \ }, { /* Debug -> uart0_txd -> E16 */ PIN_UART0_TXD, 0, \ ( \ PIN_MODE(0) | \ ((PIN_PULL_UD_EN) & (~PIN_PULL_TYPE_SEL & ~PIN_RX_ACTIVE)) \ ) \ }, {PINMUX_INVALID_PIN} };
and the below code snippet is taken from mux.c
static struct module_pin_mux uart0_pin_mux[] = { {OFFSET(uart0_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* UART0_RXD */ {OFFSET(uart0_txd), (MODE(0) | PULLUDEN)}, /* UART0_TXD */ {-1}, };
Do we need to do any conversion? or are there any way to use generated files directly?