From: Stefan Roese Date: Thu, 8 Jun 2017 08:10:26 +0200 Subject: [U-Boot] [PATCH] arm64: mvebu: use single defconfig for Armada8K development boards In-Reply-To: <053ccc0e15b74e11ac6a4ec8fa528ddc@IL-EXCH01.marvell.com> References: <1496837766-20262-1-git-send-email-igall@marvell.com> <053ccc0e15b74e11ac6a4ec8fa528ddc@IL-EXCH01.marvell.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Igal, On 08.06.2017 08:06, Igal Liberman wrote: >> On 07.06.2017 14:16, igall at marvell.com wrote: >>> From: Igal Liberman >>> >>> Currently, Marvell Armada8k development board use 3 different >>> defconfigs: >>> mvebu_db-88f7040-nand_defconfig >>> mvebu_db-88f7040_defconfig >>> mvebu_db-88f8040_defconfig >>> Having 3 different defconfigs makes maintenance difficult. >>> >>> This patch removes the defconfigs mentioned above and introduce a new >>> defconfig which represents the Armada8k family. >>> >>> With this patch, no device-tree is set in the defconfig, so the >>> device-tree should be set during compilation, using: >>> >>> Configure u-boot: >>> >>> make mvebu_db_armada8k_defconfig >>> >>> Select the desired device-tree during compilation: >>> >>> make DEVICE_TREE=armada-7040-db >>> make DEVICE_TREE=armada-8040-db >>> make DEVICE_TREE=armada-7040-db-nand >> >> I like the idea to consolidate the defconfigs in general. One question though. >> This patch results in one build target for the automated tests (Travis). Does >> compiling without the additional DEVICE_TREE= work without generating >> compilation errors? Otherwise the Travis tests will fail. >> > > If you compile without DEVICE_TREE= it won't compile (unless you exported > DEVICE_TREE before). > Basically, I did it on purpose - to make sure that user doesn't rely on > some possible incorrect default settings. Makes sense. > If it causes a compilation issues for the automated tests - I guess we can > set a default value after all. > What do you think? Yes, please do. We need to compile clean for the automated tests, otherwise this patch simply can't be accepted (sorry). Thanks, Stefan