From: Wolfgang Denk Date: Wed, 29 Sep 2004 16:40:16 +0200 Subject: [U-Boot-Users] serial: polling or interrupt based? In-Reply-To: Your message of "Wed, 29 Sep 2004 15:17:50 +0200." <1096463859.8295.4.camel@mhpajh5c> Message-ID: <1CCiTl-0IneJk0@fmrl11.sul.t-online.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1096463859.8295.4.camel@mhpajh5c> you wrote: > > The problem is easy to explain: the MPC852T has only brgc3 and 4; it > also has only scc3 and 4. mpc8xx's serial.c hard codes assignment to It also has the SMC ports, right? Why don;t you use SMC1 for console? :-) > brgc1 and also wires brgc1 to the selected SCC; these commands won't > work for me. That's what I'm trying to "fix" or not fix, as the case may > be. My question was, should I just use ifdefs for my board there in that > file, or should I make something fancier? If you change it, then please in such a way that _all_ boards using this CPU and a SCC port for console will work, i. e. fix the scc_*() functions in "cpu/mpc8xx/serial.c"; test for CONFIG_MPC852 or so... Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de "Security is mostly a superstition. It does not exist in nature... Life is either a daring adventure or nothing." - Helen Keller