Subject: Re: [BUG] flash failure with CONFIG_RTAS_FLASH=m

From: Olof Johansson <[email-masked]>
Date: Thu, 4 Jan 2007 18:04:06 -0600

On Thu, 4 Jan 2007 17:49:51 -0600 Nathan Lynch <[email-masked]> wrote:

> The problem doesn't happen if CONFIG_RTAS_FLASH=y.
> 
> What's the best way to fix this?  Should rtas_firmware_flash_list be
> defined in some non-modular code and exported?

Makes sense to me.

You could allocate it dynamically really early (i.e. lmb_alloc) since
that's the only allocator that we can give limits to where in the
address range it can allocate. It seems to be overkill in this case
though, it's just a page worth of data.

-Olof