From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH 2/9] ARM: davinci: omapl138-hawk: add aemif & nand support To: Bartosz Golaszewski , Sekhar Nori , Kevin Hilman , Russell King , Michael Turquette , Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Bartosz Golaszewski References: <20180625152920.11549-1-brgl@bgdev.pl> <20180625152920.11549-3-brgl@bgdev.pl> From: David Lechner Message-ID: <41248083-69db-4b88-8a11-e7fa2bd06718@lechnology.com> Date: Mon, 25 Jun 2018 11:08:57 -0500 MIME-Version: 1.0 In-Reply-To: <20180625152920.11549-3-brgl@bgdev.pl> Content-Type: text/plain; charset=utf-8; format=flowed List-ID: On 06/25/2018 10:29 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We now have support for aemif & nand from board files. As an example > add support for nand to da850-hawk. > > Signed-off-by: Bartosz Golaszewski > --- > +static struct platform_device omapl138_hawk_aemif_devices[] = { > + { > + .name = "davinci_nand", > + .id = 1, same comment as on da850-evm... this might need id = 0 now. > + .dev = { > + .platform_data = &omapl138_hawk_nandflash_data, > + }, > + .resource = omapl138_hawk_nandflash_resource, > + .num_resources = ARRAY_SIZE(omapl138_hawk_nandflash_resource), > + } > +};