From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 8 Mar 2017 14:01:25 -0700 Subject: [U-Boot] [PATCH 11/17] sunxi: SPL: add FIT config selector for Pine64 boards In-Reply-To: <1488335129-12363-12-git-send-email-andre.przywara@arm.com> References: <1488335129-12363-1-git-send-email-andre.przywara@arm.com> <1488335129-12363-12-git-send-email-andre.przywara@arm.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 On 28 February 2017 at 19:25, Andre Przywara wrote: > For a board or platform to support FIT loading in the SPL, it has to > provide a board_fit_config_name_match() routine, which helps to select > one of possibly multiple DTBs contained in a FIT image. > Provide a simple function which chooses the DT name U-Boot was > configured with. > If the DT name is one of the two Pine64 versions, determine the exact > model by checking the DRAM size. > > Signed-off-by: Andre Przywara > --- > board/sunxi/board.c | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) Reviewed-by: Simon Glass