diff options
-rw-r--r-- | uart-monitor/board/omap3430labrador/omap3430labrador.c | 2 | ||||
-rw-r--r-- | uart-monitor/common/cmd_load.c | 6 | ||||
-rw-r--r-- | uart-monitor/include/configs/omap3430labrador.h | 4 |
3 files changed, 11 insertions, 1 deletions
diff --git a/uart-monitor/board/omap3430labrador/omap3430labrador.c b/uart-monitor/board/omap3430labrador/omap3430labrador.c index 33361f4..1a4e243 100644 --- a/uart-monitor/board/omap3430labrador/omap3430labrador.c +++ b/uart-monitor/board/omap3430labrador/omap3430labrador.c @@ -777,7 +777,7 @@ MUX_VAL(CP(GPMC_nCS6), (IEN | PTD | EN | M4)) /*GPT_PWM11/GPIO57*/\ MUX_VAL(CP(JTAG_EMU0), (IEN | PTD | DIS | M0)) /*JTAG_EMU0*/\ MUX_VAL(CP(JTAG_EMU1), (IEN | PTD | DIS | M0)) /*JTAG_EMU1*/\ MUX_VAL(CP(ETK_CLK), (IEN | PTD | DIS | M4)) /*GPIO_12*/\ - MUX_VAL(CP(ETK_CTL), (IEN | PTD | DIS | M4)) /*GPIO_13*/\ +MUX_VAL(CP(ETK_CTL), (IEN | PTU | DIS | M4)) /*GPIO_13*/\ MUX_VAL(CP(ETK_D0 ), (IEN | PTD | DIS | M4)) /*GPIO_14*/\ MUX_VAL(CP(ETK_D1 ), (IEN | PTD | DIS | M4)) /*GPIO_15*/\ MUX_VAL(CP(ETK_D2 ), (IEN | PTD | DIS | M4)) /*GPIO_16*/\ diff --git a/uart-monitor/common/cmd_load.c b/uart-monitor/common/cmd_load.c index 45efdd5..0115b46 100644 --- a/uart-monitor/common/cmd_load.c +++ b/uart-monitor/common/cmd_load.c @@ -138,6 +138,12 @@ void testfn(void) int do_load_serial_bin (ulong offset, int baudrate) { // add testing code here + int i=0; + while(0) + { + printf("hello world\n"); + // testfn(); + } while(1) { char *c; int argc=0; diff --git a/uart-monitor/include/configs/omap3430labrador.h b/uart-monitor/include/configs/omap3430labrador.h index e1e2665..53b72f1 100644 --- a/uart-monitor/include/configs/omap3430labrador.h +++ b/uart-monitor/include/configs/omap3430labrador.h @@ -27,6 +27,10 @@ #ifndef __CONFIG_H #define __CONFIG_H +/* configure for GTA04 with DM3730 */ +#define CONFIG_OMAP36XX 1 /* or 36XX (DM3730) */ +#define PRCM_CLK_CFG2_400MHZ 1 + /* serial printf facility takes about 3.5K */ #define CFG_PRINTF //#undef CFG_PRINTF |