From: Masahiro Yamada Date: Fri, 04 Apr 2014 11:42:50 +0900 Subject: [U-Boot] [Question] bardrate both in gd_t and bd_t In-Reply-To: <20140403215135.919D8383408@gemini.denx.de> References: <20140403215135.919D8383408@gemini.denx.de> Message-ID: <20140404114250.5C15.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, Wolfgang, On Thu, 03 Apr 2014 23:51:35 +0200 Wolfgang Denk wrote: > Dear Simon, > > In message you wrote: > > > > The duplication existed before generic board (i.e. each arch had its own > > baudrate in global_data). I believe the reason for it being in bd_t is that > > it can be passed to the kernel in that structure on some archs. So removing > > it there may break some boards. > > Correct. In some (really old) kernel versions this was the way to pass > this information to the kernel, so we neede dit there. > > > I suspect the reason it is in global_data is that the bd_t structure > > doesn't exist until some time after the console is started up, so it > > wouldn't be possible to do serial output otherwise. > > Also correct. > Thanks. Sadly, it looks like we should keep both of the two. Best Regards Masahiro Yamada