From: Wolfgang Denk Date: Fri, 09 Apr 2010 23:57:24 +0200 Subject: [U-Boot] [PATCH 1/4] s5p6442: Support Samsung s5p6442 SoC In-Reply-To: <1f3430fb1003301842kbff3d1fie305bb7c6bd21261@mail.gmail.com> References: <4BB016DC.5000309@samsung.com> <20100330210058.0E96BE73028@gemini.denx.de> <1f3430fb1003301842kbff3d1fie305bb7c6bd21261@mail.gmail.com> Message-ID: <20100409215724.70B7A1E173@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Minkyu Kang, In message <1f3430fb1003301842kbff3d1fie305bb7c6bd21261@mail.gmail.com> you wrote: > > These registers are used at asm code. Are they only used in assembler code? If so, these defines should be moved to a separate asm-offsets.h file. Keep in mind that this is considered to be a temporary workaround only. Later this file will be removed, and then auto-generated from the respective C structs. As soon as somebody finds time to adapt the respective code from Linux, that is. > So, can't make C struct. > But, It seemed to there are defined unused registers also. > > Joonyoung, > Please remove unused defines. And move this definition to asm-offsets.h (which must not be included in any C code). Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A wise person makes his own decisions, a weak one obeys public opinion. -- Chinese proverb