From: Ian Campbell <ijc@hellion.org.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] sunxi: Use Thumb2 and move stack to gain more SRAM space in FEL mode
Date: Mon, 21 Jul 2014 19:31:45 +0100 [thread overview]
Message-ID: <1405967505.27009.58.camel@dagon.hellion.org.uk> (raw)
In-Reply-To: <1405703385-14580-2-git-send-email-siarhei.siamashka@gmail.com>
On Fri, 2014-07-18 at 20:09 +0300, Siarhei Siamashka wrote:
>
> http://lists.phcomp.co.uk/pipermail/arm-netbook/2012-June/004341.html
I think a better reference is
https://github.com/hno/Allwinner-Info/blob/master/FEL-usb/USB-protocol.txt
> +.syntax unified
> +.text
> +.arm
> +.arch armv7a
> +.p2align 2
> +
> +.globl _start_fel
Is there any reason not to use ENTRY() for this?
> +.globl s_init
> +.globl __bss_start
> +.globl __bss_end
I don't think you need .globl to access external symbols, all .globl
does is control the visibility of things defined in this file. IOW you
can drop all 3 of these AFAICT.
[...]
> + /* Pass control to the 's_init()' function */
> + b s_init
Since this code is in arm mode and s_init will, I think, be in Thumb
mode after this patch shouldn't this be a bx?
Ian.
next prev parent reply other threads:[~2014-07-21 18:31 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-18 17:09 [U-Boot] [PATCH 0/2] sunxi: FEL boot mode improvements Siarhei Siamashka
2014-07-18 17:09 ` [U-Boot] [PATCH 1/2] sunxi: Use Thumb2 and move stack to gain more SRAM space in FEL mode Siarhei Siamashka
2014-07-19 11:19 ` Hans de Goede
2014-07-21 18:31 ` Ian Campbell [this message]
2014-07-25 1:01 ` Siarhei Siamashka
2014-07-25 1:03 ` [U-Boot] [linux-sunxi] " Julian Calaby
2014-07-25 4:11 ` Julian Calaby
2014-07-25 6:56 ` [U-Boot] " Ian Campbell
2014-07-25 1:14 ` Siarhei Siamashka
2014-07-18 17:09 ` [U-Boot] [PATCH 2/2] sunxi: Set the AUXCR L2EN bit for sun4i/sun5i in FEL boot mode Siarhei Siamashka
2014-07-18 18:47 ` Jeroen Hofstee
2014-07-21 20:07 ` Ian Campbell
2014-07-21 20:39 ` Jeroen Hofstee
2014-07-21 20:59 ` Ian Campbell
2014-07-25 0:21 ` Siarhei Siamashka
2014-07-25 6:55 ` Ian Campbell
2014-07-19 11:20 ` Hans de Goede
2014-07-21 18:39 ` Ian Campbell
2014-07-21 20:34 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1405967505.27009.58.camel@dagon.hellion.org.uk \
--to=ijc@hellion.org.uk \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox