summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/Kconfig8
-rw-r--r--arch/mips/dts/mt7621-u-boot.dtsi8
-rw-r--r--arch/mips/include/asm/system.h4
-rw-r--r--arch/mips/mach-octeon/Kconfig8
-rw-r--r--arch/mips/mach-octeon/dram.c4
5 files changed, 16 insertions, 16 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 36612756294..75913d4f1ae 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -267,8 +267,8 @@ config CPU_MIPS64_OCTEON
select 64BIT
select SPL_64BIT if SPL
help
- Choose this option for Marvell Octeon CPUs. These CPUs are between
- MIPS64 R5 and R6 with other extensions.
+ Choose this option for Marvell Octeon CPUs. These CPUs are between
+ MIPS64 R5 and R6 with other extensions.
endchoice
@@ -351,7 +351,7 @@ config MIPS_RELOCATION_TABLE_SIZE
range 0x100 0x10000
default "0xc000" if TARGET_MALTA
default "0x8000"
- ---help---
+ help
A table of relocation data will be appended to the U-Boot binary
and parsed in relocate_code() to fix up all offsets in the relocated
U-Boot.
@@ -526,7 +526,7 @@ config MIPS_SRAM_INIT
config DMA_ADDR_T_64BIT
bool
help
- Select this to enable 64-bit DMA addressing
+ Select this to enable 64-bit DMA addressing
config SYS_DCACHE_SIZE
int
diff --git a/arch/mips/dts/mt7621-u-boot.dtsi b/arch/mips/dts/mt7621-u-boot.dtsi
index fbac2ade25a..a6e585a0853 100644
--- a/arch/mips/dts/mt7621-u-boot.dtsi
+++ b/arch/mips/dts/mt7621-u-boot.dtsi
@@ -47,13 +47,13 @@
&binman {
u-boot-spl-ddr {
- align = <4>;
- align-size = <4>;
+ align = <8>;
+ align-size = <8>;
filename = "u-boot-spl-ddr.bin";
pad-byte = <0xff>;
u-boot-spl {
- align-end = <4>;
+ align-end = <8>;
filename = "u-boot-spl.bin";
};
@@ -90,7 +90,7 @@
#ifndef CONFIG_MT7621_BOOT_FROM_NAND
u-boot-tpl {
- align-end = <4>;
+ align-end = <8>;
filename = "u-boot-tpl.bin";
};
#endif
diff --git a/arch/mips/include/asm/system.h b/arch/mips/include/asm/system.h
index 00699c4c11a..1156e299433 100644
--- a/arch/mips/include/asm/system.h
+++ b/arch/mips/include/asm/system.h
@@ -259,9 +259,9 @@ extern void __die_if_kernel(const char *, struct pt_regs *, const char *where,
unsigned long line);
#define die(msg, regs) \
- __die(msg, regs, __FILE__ ":"__FUNCTION__, __LINE__)
+ __die(msg, regs, __FILE__ ":" __func__, __LINE__)
#define die_if_kernel(msg, regs) \
- __die_if_kernel(msg, regs, __FILE__ ":"__FUNCTION__, __LINE__)
+ __die_if_kernel(msg, regs, __FILE__ ":" __func__, __LINE__)
static inline void execution_hazard_barrier(void)
{
diff --git a/arch/mips/mach-octeon/Kconfig b/arch/mips/mach-octeon/Kconfig
index 6105cdcf96e..cd1e377c79d 100644
--- a/arch/mips/mach-octeon/Kconfig
+++ b/arch/mips/mach-octeon/Kconfig
@@ -25,8 +25,8 @@ choice
config SOC_OCTEON3
bool "Octeon III family"
help
- This selects the Octeon III SoC family CN70xx, CN73XX, CN78xx
- and CNF75XX.
+ This selects the Octeon III SoC family CN70xx, CN73XX, CN78xx
+ and CNF75XX.
endchoice
@@ -38,14 +38,14 @@ config TARGET_OCTEON_EBB7304
bool "Marvell Octeon EBB7304"
select OCTEON_CN73XX
help
- Choose this for the Octeon EBB7304 board
+ Choose this for the Octeon EBB7304 board
config TARGET_OCTEON_NIC23
bool "Marvell Octeon NIC23"
select ARCH_MISC_INIT
select OCTEON_CN73XX
help
- Choose this for the Octeon NIC23 board
+ Choose this for the Octeon NIC23 board
endchoice
diff --git a/arch/mips/mach-octeon/dram.c b/arch/mips/mach-octeon/dram.c
index 5b1311d8b5b..817728aa569 100644
--- a/arch/mips/mach-octeon/dram.c
+++ b/arch/mips/mach-octeon/dram.c
@@ -41,8 +41,8 @@ int dram_init(void)
* No DDR init yet -> run in L2 cache
*/
gd->ram_size = (4 << 20);
- gd->bd->bi_dram[0].size = gd->ram_size;
- gd->bd->bi_dram[1].size = 0;
+ gd->dram[0].size = gd->ram_size;
+ gd->dram[1].size = 0;
}
return 0;