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:
Gregory Nutt 2016-11-01 14:18:21 -06:00
parent 0088f24603
commit 1787a8143e
2 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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
****************************************************************************/