From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masahiro Yamada Date: Thu, 02 Oct 2014 14:18:36 +0900 Subject: [U-Boot] [Question] Driver-Model UART on NOR-boot ? Work? In-Reply-To: References: Message-ID: <20141002141836.1BA8.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, On Wed, 1 Oct 2014 17:43:19 -0600 Simon Glass wrote: > > > > > > The pre-reloc malloc() area goes below global_data so uses the same mechanism. > > > > > > Yes it is true that strictly speaking we should not use data before > > > relocation. I suppose we could move cur_dev to global_data instead for > > > this particular case. It doesn't really scale to other drivers, but > > > then I expect that only serial needs to keep a 'current' pointer > > > before relocation, and even that will eventually go away once the > > > serial stuff is cleaned up. Do you expect any other drivers that must be bound before relocation? (except DEMO driver of sandbox) Only UART? Best Regards Masahiro Yamada