mirror of
https://github.com/apache/nuttx.git
synced 2026-10-08 06:45:19 +00: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:
parent
0088f24603
commit
1787a8143e
2 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue