From: Kumar Gala Date: Tue, 27 Nov 2007 08:13:07 -0600 Subject: [U-Boot-Users] [PATCH] fdt: add common memory fixup function In-Reply-To: <47F3F98010FF784EBEE6526EAAB078D1024F8803@tq-mailsrv.tq-net.de> References: <47F3F98010FF784EBEE6526EAAB078D1024F8803@tq-mailsrv.tq-net.de> Message-ID: <11691DDC-C7F7-46F8-BC34-12F32D043060@kernel.crashing.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de >> Was thinking about this some more and realized I don't like >> fdt_memory() getting called via bootm w/o the board code have >> control. >> >> I think Kim suggest we have a CONFIG_OF_MEMORY_FIXUP that this call >> is >> wrapped around. But leave fdt_memory() available. I want it such >> that the board code/config is in control of what fixups gets called >> for it. > > That's funny. My first patch wrapped the fixup in > CONFIG_OF_MEMORY_FIXUP > and it was you, who suggested to drop this ;-). AFAIR Kim suggested to > wrap it in the existing OF_LIBFDT instead - what I did then. But I > have no objections, if you put CONFIG_OF_MEMORY_FIXUP in place again. Yeah, I know. I realized later that we should leave it to board code to decide what it wants in such cases. The reason for that is if you can envision having multiple device trees in multiprocessor system with each processor running a different OS. - k