diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2018-11-27 10:19:33 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-12-17 12:15:43 +0100 |
commit | 102676feb218ab590609d326af433913728d14ab (patch) | |
tree | 9689211ce0a64bbee975cf839816482f59832bae /arch/mips/mach-malta | |
parent | e2ea356a696502f717689a57293e79e18cddb4f2 (diff) | |
download | barebox-102676feb218ab590609d326af433913728d14ab.tar.gz barebox-102676feb218ab590609d326af433913728d14ab.tar.xz |
MIPS: port all mach* to multiimage
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/mach-malta')
-rw-r--r-- | arch/mips/mach-malta/Kconfig | 9 | ||||
-rw-r--r-- | arch/mips/mach-malta/include/mach/debug_ll.h | 10 |
2 files changed, 15 insertions, 4 deletions
diff --git a/arch/mips/mach-malta/Kconfig b/arch/mips/mach-malta/Kconfig index 1bf2b0e68a..ceea937e30 100644 --- a/arch/mips/mach-malta/Kconfig +++ b/arch/mips/mach-malta/Kconfig @@ -4,8 +4,11 @@ config ARCH_TEXT_BASE hex default 0xa0800000 -choice - prompt "Board type" +config MIPS_MALTA_MULTI_BOARDS + bool "Allow multiple boards to be selected" + select HAVE_PBL_MULTI_IMAGE + +if MIPS_MALTA_MULTI_BOARDS config BOARD_QEMU_MALTA bool "qemu malta" @@ -13,6 +16,6 @@ config BOARD_QEMU_MALTA select HAVE_IMAGE_COMPRESSION select HAS_NMON -endchoice +endif # MIPS_MALTA_MULTI_BOARDS endif diff --git a/arch/mips/mach-malta/include/mach/debug_ll.h b/arch/mips/mach-malta/include/mach/debug_ll.h index c9e89bcc9d..a9cf8b3c19 100644 --- a/arch/mips/mach-malta/include/mach/debug_ll.h +++ b/arch/mips/mach-malta/include/mach/debug_ll.h @@ -21,7 +21,15 @@ #ifndef __MACH_MALTA_DEBUG_LL_H__ #define __MACH_MALTA_DEBUG_LL_H__ -#include <board/debug_ll.h> +#include <mach/hardware.h> + +#define DEBUG_LL_UART_ADDR MALTA_PIIX4_UART0 +#define DEBUG_LL_UART_SHIFT 0 + +#define DEBUG_LL_UART_CLK 1843200 +#define DEBUG_LL_UART_BPS CONFIG_BAUDRATE +#define DEBUG_LL_UART_DIVISOR (DEBUG_LL_UART_CLK / DEBUG_LL_UART_BPS) + #include <asm/debug_ll_ns16550.h> #endif /* __MACH_MALTA_DEBUG_LL_H__ */ |