From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Wed, 25 Sep 2013 16:30:17 -0700 Subject: [U-Boot] When to create a SoC directory for ARM In-Reply-To: <20130919213937.B3D4938043B@gemini.denx.de> References: <52387C5C.8010504@freescale.com> <20130919205713.GB5273@bill-the-cat> <523B67D2.2050107@freescale.com> <20130919213937.B3D4938043B@gemini.denx.de> Message-ID: <52437209.9020008@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang, I failed to find the guideline, here is my question. Pardon me if this is a dump question as I am still new to ARM. As David Feng post his patch set to add ARMv8 support, I am trying to enable it for Freescale implementation. Let's name it as LS2 for this discussion. I am thinking to reuse as much as possible for existing codes, which include copying some header files from powerpc partially. I noticed the SoC field in boards.cfg file and I am wondering how to use it effectively. I want to put LS2 specific headers to arch/arm/include/asm/arch-ls2. Do I need to copy all files from arch/arm/include/asm/arch-armv8/? There aren't many but I see mmu.h is included in start.S. I have been searching case like this in ARMv7 but didn't see shared header file (maybe I missed it). Please advise. Regards, York