Commit f3ef3609dbb5a9693b2ccdfd4545e73cd273d684

Authored by Nikita Kiryanov
Committed by Tom Rini
1 parent 6a1df37349

arm: omap: cm_t35: update config file

This patch makes the following updates to the cm_t35 config file:
- Replace "ttyS" in default environment kernel bootargs with the new "ttyO"
  notation.
- Remove "omapfb.debug=y" from default environment kernel bootargs.
- Define a minimal power-on delay for USB hub ports so that slow-to-power-on USB
  sticks will have enough time to become responsive.
- Add support for bootz command
- ulpi_reset is not necessary and always fails with the following error message:
  "ULPI: ulpi_reset: failed writing reset bit"
  So, remove it.

Cc: Tom Rini <trini@ti.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Stefan Roese <sr@denx.de>

Showing 1 changed file with 4 additions and 5 deletions Side-by-side Diff

include/configs/cm_t35.h
... ... @@ -102,8 +102,6 @@
102 102 #define CONFIG_USB_OMAP3
103 103 #define CONFIG_USB_EHCI
104 104 #define CONFIG_USB_EHCI_OMAP
105   -#define CONFIG_USB_ULPI
106   -#define CONFIG_USB_ULPI_VIEWPORT_OMAP
107 105 #define CONFIG_USB_STORAGE
108 106 #define CONFIG_MUSB_UDC
109 107 #define CONFIG_TWL4030_USB
... ... @@ -113,6 +111,8 @@
113 111 #define CONFIG_USB_DEVICE
114 112 #define CONFIG_USB_TTY
115 113 #define CONFIG_SYS_CONSOLE_IS_IN_ENV
  114 +/* This delay is really for slow-to-power-on USB sticks, not the hub */
  115 +#define CONFIG_USB_HUB_MIN_POWER_ON_DELAY 500
116 116  
117 117 /* commands to include */
118 118 #include <config_cmd_default.h>
... ... @@ -174,7 +174,7 @@
174 174 #define CONFIG_EXTRA_ENV_SETTINGS \
175 175 "loadaddr=0x82000000\0" \
176 176 "usbtty=cdc_acm\0" \
177   - "console=ttyS2,115200n82,115200n8\0" \" \
  177 + "console=ttyO2,115200n82,115200n8\0" \" \
178 178 "mpurate=500\0" \
179 179 "vram=12M\0" \
180 180 "dvimode=1024x768MR-16@60\0" \
... ... @@ -188,7 +188,6 @@
188 188 "mpurate=${mpurate} " \
189 189 "vram=${vram} " \
190 190 "omapfb.mode=dvi:${dvimode} " \
191   - "omapfb.debug=y " \
192 191 "omapdss.def_disp=${defaultdisplay} " \
193 192 "root=${mmcroot} " \
194 193 "rootfstype=${mmcrootfstype}\0" \
... ... @@ -196,7 +195,6 @@
196 195 "mpurate=${mpurate} " \
197 196 "vram=${vram} " \
198 197 "omapfb.mode=dvi:${dvimode} " \
199   - "omapfb.debug=y " \
200 198 "omapdss.def_disp=${defaultdisplay} " \
201 199 "root=${nandroot} " \
202 200 "rootfstype=${nandrootfstype}\0" \
... ... @@ -212,6 +210,7 @@
212 210 "nand read ${loadaddr} 2a0000 400000; " \
213 211 "bootm ${loadaddr}\0" \
214 212  
  213 +#define CONFIG_CMD_BOOTZ
215 214 #define CONFIG_BOOTCOMMAND \
216 215 "mmc dev ${mmcdev}; if mmc rescan; then " \
217 216 "if run loadbootscript; then " \