This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/arch/arm/mach-sunxi/dram_sunxi_dw.c b/arch/arm/mach-sunxi/dram_sunxi_dw.c | |
index d0600011ffa..5dcafa21bc9 100644 | |
--- a/arch/arm/mach-sunxi/dram_sunxi_dw.c | |
+++ b/arch/arm/mach-sunxi/dram_sunxi_dw.c | |
@@ -388,8 +388,9 @@ static void mctl_set_cr(uint16_t socid, struct dram_para *para) | |
{ | |
struct sunxi_mctl_com_reg * const mctl_com = | |
(struct sunxi_mctl_com_reg *)SUNXI_DRAM_COM_BASE; | |
+ u32 cr_val; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: GPL-2.0+ | |
/* | |
* Copyright (C) 2018 Amarula Solutions. | |
* Author: Jagan Teki <jagan@amarulasolutions.com> | |
*/ | |
#include <common.h> | |
#include <clk-uclass.h> | |
#include <dm.h> | |
#include <errno.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################## | |
# test output mainline kernel | |
############################## | |
$ ./test_timer | |
TAP version 13 | |
# number of cores: 4 | |
ok 1 same timer frequency on all cores | |
# timer frequency is 24000000 Hz (24 MHz) | |
# time1: eb447fff, time2: eb444000, diff: -16383 | |
# time1: eb44efff, time2: eb44e800, diff: -2047 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
grep -n '^ *'$'\t' "$1" && echo "^^^ tabs" | |
grep -n 'if(' "$1" && echo "^^^ no space after if" | |
grep -n 'if ([^ ]' "$1" && echo "^^^ no space after if (" | |
grep -n 'while(' "$1" && echo "^^^ no space after while" | |
grep -n 'while ([^ ]' "$1" && echo "^^^ no space after while (" | |
grep -n 'for(' "$1" && echo "^^^ no space after for" | |
grep -n 'for ([^ ]' "$1" && echo "^^^ no space after for (" | |
grep -n '[ ]*[^ ].*{$' "$1" && echo "^^^ opening bracket at the end of line" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sunxi boot monitor v0.1 | |
Allwinner A64 SoC detected. | |
Booted from FEL | |
128Mbit SPI flash detected. | |
(No SD card detection yet.) | |
(No eMMC detection yet). | |
Use "help" for a list of commands. | |
# help | |
help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
U-Boot SPL 2016.11-rc3-00019-g5c2dad5-dirty (Nov 11 2016 - 01:27:06) | |
DRAM:DRAM BOOT DRIVE INFO: V0.6 | |
the chip id is 0x1 | |
the chip id is 0x1 | |
the chip id is 0x1 | |
the chip id is 0x1 | |
the chip id is 0x1 | |
DRAM CLK =672 MHZ | |
DRAM Type =3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3) | |
DRAM zq value: 0x3b3bf9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
send() { | |
read -d\# line | |
echo "$1" | |
} | |
# kick u-boot to tickle the prompt and get the state machine going | |
echo "printenv bootcmd" | |
read line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2016 ARM Ltd. | |
* based on the Allwinner H3 dtsi: | |
* Copyright (C) 2015 Jens Kuske <jenskuske@gmail.com> | |
* | |
* This file is dual-licensed: you can use it either under the terms | |
* of the GPL or the X11 license, at your option. Note that this dual | |
* licensing only applies to this file, and not this project as a | |
* whole. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2016 ARM Ltd. | |
* based on the Allwinner H3 dtsi: | |
* Copyright (C) 2015 Jens Kuske <jenskuske@gmail.com> | |
* | |
* This file is dual-licensed: you can use it either under the terms | |
* of the GPL or the X11 license, at your option. Note that this dual | |
* licensing only applies to this file, and not this project as a | |
* whole. | |
* |