mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
Misoc: Logic on common directory should not include ANY lm32 specific header file. The generic header file chip.h can be exported by all architectures and that is what should be included instead of lm32.h which is an inappropriate dependency.
This commit is contained in:
@@ -59,10 +59,9 @@
|
||||
#include <arch/board/generated/csr.h>
|
||||
|
||||
#include "hw/flags.h"
|
||||
#include "chip.h"
|
||||
#include "misoc_uart.h"
|
||||
|
||||
#include "lm32.h"
|
||||
#include "chip.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
||||
@@ -36,6 +36,12 @@
|
||||
#ifndef __ARCH_MISOC_SRC_LM32_CHIP_H
|
||||
#define __ARCH_MISOC_SRC_LM32_CHIP_H 1
|
||||
|
||||
/****************************************************************************
|
||||
* Inline Functions
|
||||
****************************************************************************/
|
||||
|
||||
#include "lm32.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Inline Functions
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user