From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Linz Date: Wed, 04 Jul 2012 22:27:05 +0200 Subject: [U-Boot] ARM CONFIG_OF_CONTROL status In-Reply-To: <4FF3E194.4000801@monstr.eu> References: <4FEAD263.2020707@monstr.eu> <4FEB1A3C.7050207@monstr.eu> <4FEBF08D.2060604@monstr.eu> <4FEBFE72.20106@monstr.eu> <4FED64C3.8050302@monstr.eu> <1341001359.3999.106.camel@keto> <1341346946.2746.93.camel@keto> <4FF3E194.4000801@monstr.eu> Message-ID: <1341433625.2722.27.camel@keto> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Mittwoch, den 04.07.2012, 08:24 +0200 schrieb Michal Simek: > On 07/03/2012 10:22 PM, Stephan Linz wrote: > > Am Dienstag, den 03.07.2012, 12:21 -0700 schrieb Simon Glass: > >> Hi, > >> > >> On Sun, Jul 1, 2012 at 10:43 PM, Michal Simek wrote: > >> > >>> 2012/6/29 Stephan Linz: > >>>> Am Freitag, den 29.06.2012, 10:18 +0200 schrieb Michal Simek: > >>>>> On 06/29/2012 04:32 AM, Simon Glass wrote: > >>>>>> Hi, > >>>>>> > >>>>>> --snip-- > >>>>> > >>>>> > >>> > >> > >> Well there is no inherent problem with having multiple include files, > >> except that it is hard to support with the old dtc when there are in > >> different subdirs. > >> > >> As a workaround, how about putting the include files in the > >> board/vendor/dts subdir as well for now? > > > > Hi, > > > > good idea -- but they cannot be used directly. The substitution variable > > ARCH_CPU_DTS is already reserved for dtsi in arch/cpu. The Microblaze > > architecture needs a board specific dts onyl. That's why I think the new > > substitution variable BOARD_DTS can be a option to solve the CPP problem > > today and handle the dtc -i in the future. > > > > BOARD_DTS can point to anything below board/vendor and perhaps with a > > new configuration option similar to CONFIG_DEFAULT_DEVICE_TREE the > > substitution could be affected with freely selectable file name instead > > of DEVICE_TREE only. > > > ok. > > Stephan: go ahead and create proper patch with empty dts/dtsi files. Hi Michal, see my patch set, that I've already submitted. The patches are based on your patch set from last week. I've create a bundle on patchwork: http://patchwork.ozlabs.org/bundle/rexut/microblaze-fdt/ Further you will need a QnD hack to avoid a compilation error due to type conflicts (I've not explored here, not yet): In file included from key_matrix.c:28: include/malloc.h:364: error: conflicting types for 'memset' include/linux/string.h:71: error: previous declaration of 'memset' was here include/malloc.h:365: error: conflicting types for 'memcpy' include/linux/string.h:74: error: previous declaration of 'memcpy' was here Here is the QnD hack: diff --git a/drivers/input/Makefile b/drivers/input/Makefile index 5c831b2..5efeeb3 100644 --- a/drivers/input/Makefile +++ b/drivers/input/Makefile @@ -32,7 +32,7 @@ COBJS-y += keyboard.o pc_keyb.o COBJS-$(CONFIG_PS2MULT) += ps2mult.o ps2ser.o endif COBJS-y += input.o -COBJS-$(CONFIG_OF_CONTROL) += key_matrix.o +#COBJS-$(CONFIG_OF_CONTROL) += key_matrix.o COBJS := $(COBJS-y) SRCS := $(COBJS:.o=.c) br, Stephan