From: Daniel Schwierzeck Date: Fri, 27 Nov 2020 15:53:48 +0100 Subject: [PATCH 1/5 v2] mips: start.S: Add Octeon boot header compatibility In-Reply-To: <20201028141003.3062021-1-sr@denx.de> References: <20201028141003.3062021-1-sr@denx.de> Message-ID: <07c20d04a90e4930af3a4b5f48fa96b6b99db251.camel@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Mittwoch, den 28.10.2020, 15:09 +0100 schrieb Stefan Roese: > Octeon has a specific boot header, when booted via SPI NOR, NAND or MMC. > Here the only 2 instructions are allowed in the first few bytes of the > image. And these instructions need to be one branch and a nop. This > patch adds the necessary nop after the nop, to that the common MIPS > image is compatible with this Octeon header. > > The tool to patch the Octeon boot header into the image will be send in > a follow-up patch. > > Signed-off-by: Stefan Roese > Cc: Aaron Williams > Cc: Chandrakala Chavva > Cc: Daniel Schwierzeck > --- > v2: > - Enhance comment > - Fix delay slot indentation > > arch/mips/cpu/start.S | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > > Reviewed-by: Daniel Schwierzeck -- - Daniel