From: Daniel Schwierzeck Date: Mon, 29 Jun 2020 23:31:25 +0200 Subject: [PATCH v1 1/5] mips: Add CONFIG_MIPS_MACH_EARLY_INIT for very early mach init code In-Reply-To: <20200623095141.3310591-2-sr@denx.de> References: <20200623095141.3310591-1-sr@denx.de> <20200623095141.3310591-2-sr@denx.de> 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 > This patch adds the optional call to mips_mach_early_init() to start.S > at a very early stage. Its disabled per default. It can be used for > very early machine / platform specific init code. Its called very > early and at this stage the PC is allowed to differ from the linking > address (CONFIG_TEXT_BASE) as no absolute jump has been performed until > this call. > > It will be used by thje Octeon platform. > > Signed-off-by: Stefan Roese > --- > > arch/mips/Kconfig | 9 +++++++++ > arch/mips/cpu/start.S | 5 +++++ > 2 files changed, 14 insertions(+) > > Reviewed-by: Daniel Schwierzeck -- - Daniel