blob: 06da307694417222b484111d1a28c3a2998316a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* SPDX-License-Identifier: GPL-2.0 */
#include <linux/linkage.h>
.arch armv7-a
.arm
/*
* r0 : sdram controller staticcfg
*/
ENTRY(socfpga_sdram_apply_static_cfg)
push {ip,lr}
ldr r1, [r0]
orr r1, r1, #8
str r1, [r0]
pop {ip,pc}
.align
ENDPROC(socfpga_sdram_apply_static_cfg)
ENTRY(socfpga_sdram_apply_static_cfg_sz)
.word . - socfpga_sdram_apply_static_cfg;
|