Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1420171 > unrolled thread
| Started by | Yoshinori Sato <ysato@users.sourceforge.jp> |
|---|---|
| First post | 2016-06-12 09:00 +0200 |
| Last post | 2016-06-12 09:00 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v2 06/17] sh: FDT address save before bank change Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-06-12 09:00 +0200
| From | Yoshinori Sato <ysato@users.sourceforge.jp> |
|---|---|
| Date | 2016-06-12 09:00 +0200 |
| Subject | [PATCH v2 06/17] sh: FDT address save before bank change |
| Message-ID | <rJ7xf-5js-5@gated-at.bofh.it> |
SH3/4 have register bank of R0-R7. Preset FDT address assigned bank depend on boot loader. Before setting a bank because we don't depend on a boot loader, it's evacuated. Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> --- arch/sh/kernel/head_32.S | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/sh/kernel/head_32.S b/arch/sh/kernel/head_32.S index 974bc15..fbf5f84 100644 --- a/arch/sh/kernel/head_32.S +++ b/arch/sh/kernel/head_32.S @@ -58,6 +58,9 @@ ENTRY(empty_zero_page) * */ ENTRY(_stext) +#ifdef CONFIG_OF + mov r4, r12 ! Store device tree blob pointer in r12 +#endif ! Initialize Status Register mov.l 1f, r0 ! MD=1, RB=0, BL=0, IMASK=0xF ldc r0, sr @@ -67,10 +70,6 @@ ENTRY(_stext) ldc r0, r6_bank #endif -#ifdef CONFIG_OF - mov r4, r12 ! Store device tree blob pointer in r12 -#endif - /* * Prefetch if possible to reduce cache miss penalty. * -- 2.7.0
Back to top | Article view | linux.kernel
csiph-web