From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-15?Q?Matthias_Wei=DFer?= Date: Wed, 14 Oct 2009 15:47:27 +0200 Subject: [U-Boot] Relocating u-boot console Message-ID: <4AD5D66F.7020700@arcor.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Is it possible to relocate the u-boot console depending on the state of some GPIO pins (e.g. in board_init or board_late_init)? Currently I have the following serial configuration for my board: #define CONFIG_SERIAL_MULTI #define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4) #define CONFIG_SYS_NS16550_CLK CONFIG_JADE_IOCLK #define CONFIG_SYS_NS16550_COM1 0xfffe1000 #define CONFIG_SYS_NS16550_COM2 0xfff50000 #define CONFIG_SYS_NS16550_COM3 0xfff51000 #define CONFIG_SYS_NS16550_COM4 0xfff43000 #define CONFIG_CONS_INDEX 4 This results in a console on COM4. Now I would like to have the console on COM1 under some circumstances for maintanance reasons. Regards, Matthias Wei?er