On Thu, Sep 23, 2021 at 09:57:32PM +0300, dsankouski@gmail.com wrote: > From: Dzmitry Sankouski > > Samsung S9 SM-G9600 - Snapdragon SDM845 version of the phone, > for China \ Hong Kong markets. > Has unlockable bootloader, unlike SM-G960U (American market version), > which allows running u-boot as a chain-loaded bootloader. > > Signed-off-by: Dzmitry Sankouski > Cc: Ramon Fried > Cc: Tom Rini > --- > Changes for v2: > - Create documentation file for SDM845 boards > - Add starqltechn board documentation > Changes for v3: > - fix comment in starqltechn.c A few things. Aside from needing to migrate a few symbols to Kconfig, to build on current master, we need to: > diff --git a/include/configs/starqltechn.h b/include/configs/starqltechn.h > new file mode 100644 > index 0000000000..c9736a443b > --- /dev/null > +++ b/include/configs/starqltechn.h > @@ -0,0 +1,16 @@ > +/* SPDX-License-Identifier: GPL-2.0+ */ > +/* > + * Board configuration file for Samsung S9(SM-G9600)(starqltechn) > + * > + * (C) Copyright 2017 Jorge Ramirez-Ortiz > + */ > + > +#ifndef __CONFIGS_STARQLTECHN_H > +#define __CONFIGS_STARQLTECHN_H > + > +#include > + > +#define CONFIG_LNX_KRNL_IMG_TEXT_OFFSET_BASE CONFIG_SYS_LOAD_ADDR > +#define CONFIG_LINUX_KERNEL_IMAGE_HEADER These two symbols need to be handled via Kconfig (xenguest_arm64 gets this wrong as well, I see) as done for example on Tegra. At that point, we can delete this file entirely and just use configs/sdm845.h. -- Tom