From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masahiro Yamada Date: Fri, 04 Apr 2014 20:19:47 +0900 Subject: [U-Boot] [Question] bardrate both in gd_t and bd_t In-Reply-To: <20140404092217.394AB380956@gemini.denx.de> References: <20140404114250.5C15.AA925319@jp.panasonic.com> <20140404092217.394AB380956@gemini.denx.de> Message-ID: <20140404201947.3571.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 Wolfgang, On Fri, 04 Apr 2014 11:22:17 +0200 Wolfgang Denk wrote: > Dear Masahiro, > > In message <20140404114250.5C15.AA925319@jp.panasonic.com> you wrote: > > > > > 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. > > I'm not so sure. As mentioned, this was used in really old kernel > versions only. I remember it for the Power archtecture, where only > the pre-devicetree kernel versions (i. e. 2.4.x) used this. OK, I > know of a number of projeects which are still using such old kernbel > versions, but these are also using ancient U-Boot versions. > > I don't think we have to keep support for ancient kernels in current > U-Boot. Eventually we may drop it. As a matter of fact, I had prepared a patch when I got replies from you guys. I've post it as RFC, just in case. (I confirmed no boards broken at least build test.) I am not sure if it can be dropped either. Anyway, I follow Tom's decesion. Best Regards Masahiro Yamada