mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-18 04:11:59 +00:00
fix bad indention in unpatch_sun50i_sram_stack_issue.patch
This commit is contained in:
parent
2ac77bf62e
commit
a3a00f3784
1 changed files with 9 additions and 10 deletions
|
@ -5,19 +5,18 @@ index b9aa62b..980c252 100644
|
||||||
@@ -100,7 +100,7 @@
|
@@ -100,7 +100,7 @@
|
||||||
* the 1 actually activates the mapping of the first 32 KiB to 0x00000000.
|
* the 1 actually activates the mapping of the first 32 KiB to 0x00000000.
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_INIT_RAM_ADDR 0x10000
|
#define CONFIG_SYS_INIT_RAM_ADDR 0x10000
|
||||||
-#define CONFIG_SYS_INIT_RAM_SIZE 0xA000 /* 40 KiB */
|
-#define CONFIG_SYS_INIT_RAM_SIZE 0xA000 /* 40 KiB */
|
||||||
+#define CONFIG_SYS_INIT_RAM_SIZE 0x8000 /* 40 KiB */
|
+#define CONFIG_SYS_INIT_RAM_SIZE 0x8000 /* 40 KiB */
|
||||||
#else
|
#else
|
||||||
#define CONFIG_SYS_INIT_RAM_ADDR 0x0
|
#define CONFIG_SYS_INIT_RAM_ADDR 0x0
|
||||||
#define CONFIG_SYS_INIT_RAM_SIZE 0x8000 /* 32 KiB */
|
#define CONFIG_SYS_INIT_RAM_SIZE 0x8000 /* 32 KiB */
|
||||||
@@ -221,7 +221,7 @@
|
@@ -221,7 +221,7 @@
|
||||||
#define CONFIG_SPL_PAD_TO 32768 /* decimal for 'dd' */
|
#define CONFIG_SPL_PAD_TO 32768 /* decimal for 'dd' */
|
||||||
|
|
||||||
#if defined(CONFIG_MACH_SUN9I) || defined(CONFIG_MACH_SUN50I)
|
#if defined(CONFIG_MACH_SUN9I) || defined(CONFIG_MACH_SUN50I)
|
||||||
-#define LOW_LEVEL_SRAM_STACK 0x0001A000
|
-#define LOW_LEVEL_SRAM_STACK 0x0001A000
|
||||||
+#define LOW_LEVEL_SRAM_STACK 0x00018000
|
+#define LOW_LEVEL_SRAM_STACK 0x00018000
|
||||||
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
||||||
#else
|
#else
|
||||||
/* end of 32 KiB in sram */
|
/* end of 32 KiB in sram */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue