mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-13 14:53:28 +08:00
MIPS: malta: do not pull in target header files in config.h
config.h is used in target and host code and therefore should not pull in target header files to avoid compile errors. This change is also required for the MIPS header file sync done in follow-up patches. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
This commit is contained in:
parent
0315a28909
commit
995118292c
@ -7,9 +7,6 @@
|
|||||||
#ifndef _MALTA_CONFIG_H
|
#ifndef _MALTA_CONFIG_H
|
||||||
#define _MALTA_CONFIG_H
|
#define _MALTA_CONFIG_H
|
||||||
|
|
||||||
#include <asm/addrspace.h>
|
|
||||||
#include <asm/malta.h>
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* System configuration
|
* System configuration
|
||||||
*/
|
*/
|
||||||
@ -83,14 +80,14 @@
|
|||||||
#define CONFIG_SYS_NS16550_SERIAL
|
#define CONFIG_SYS_NS16550_SERIAL
|
||||||
#define CONFIG_SYS_NS16550_REG_SIZE 1
|
#define CONFIG_SYS_NS16550_REG_SIZE 1
|
||||||
#define CONFIG_SYS_NS16550_CLK (115200 * 16)
|
#define CONFIG_SYS_NS16550_CLK (115200 * 16)
|
||||||
#define CONFIG_SYS_NS16550_COM1 CKSEG1ADDR(MALTA_GT_UART0_BASE)
|
#define CONFIG_SYS_NS16550_COM1 0xb80003f8
|
||||||
#define CONFIG_SYS_NS16550_COM2 CKSEG1ADDR(MALTA_MSC01_UART0_BASE)
|
#define CONFIG_SYS_NS16550_COM2 0xbb0003f8
|
||||||
#define CONFIG_CONS_INDEX 1
|
#define CONFIG_CONS_INDEX 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Flash configuration
|
* Flash configuration
|
||||||
*/
|
*/
|
||||||
#define CONFIG_SYS_FLASH_BASE (KSEG1 | MALTA_FLASH_BASE)
|
#define CONFIG_SYS_FLASH_BASE 0xbe000000
|
||||||
#define CONFIG_SYS_MAX_FLASH_BANKS 1
|
#define CONFIG_SYS_MAX_FLASH_BANKS 1
|
||||||
#define CONFIG_SYS_MAX_FLASH_SECT 128
|
#define CONFIG_SYS_MAX_FLASH_SECT 128
|
||||||
#define CONFIG_SYS_FLASH_CFI
|
#define CONFIG_SYS_FLASH_CFI
|
||||||
|
Loading…
Reference in New Issue
Block a user