Skip to content

Commit

Permalink
hpmicro: rename hpm_irq_num.h to hpm_soc_irq.h
Browse files Browse the repository at this point in the history
Signed-off-by: Zhihong Chen <[email protected]>
  • Loading branch information
chenzhihong007 committed Nov 26, 2024
1 parent 3c246ca commit 0fa976f
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion arch/risc-v/include/hpmicro/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/****************************************************************************
* Included Files
****************************************************************************/
#include "hpm_irq_num.h"
#include "hpm_soc_irq.h"

/****************************************************************************
* Pre-processor Definitions
Expand Down
2 changes: 1 addition & 1 deletion arch/risc-v/src/hpmicro/hpm_sdk/soc/HPM5361/hpm_soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef HPM_SOC_H
#define HPM_SOC_H

#include "hpm_irq_num.h"
#include "hpm_soc_irq.h"
#include "hpm_common.h"

#include "hpm_gpio_regs.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/


#ifndef HPM_IRQ_NUM_H
#define HPM_IRQ_NUM_H
#ifndef HPM_SOC_IRQ_H
#define HPM_SOC_IRQ_H


/* List of external IRQs */
Expand Down Expand Up @@ -84,4 +84,4 @@
#define IRQn_DEBUG0 71 /* DEBUG0 IRQ */
#define IRQn_DEBUG1 72 /* DEBUG1 IRQ */

#endif /* HPM_IRQ_NUM_H */
#endif /* HPM_SOC_IRQ_H */
2 changes: 1 addition & 1 deletion arch/risc-v/src/hpmicro/hpm_sdk/soc/HPM6280/hpm_soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef HPM_SOC_H
#define HPM_SOC_H

#include "hpm_irq_num.h"
#include "hpm_soc_irq.h"
#include "hpm_common.h"

#include "hpm_gpio_regs.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/


#ifndef HPM_IRQ_NUM_H
#define HPM_IRQ_NUM_H
#ifndef HPM_SOC_IRQ_H
#define HPM_SOC_IRQ_H


/* List of external IRQs */
Expand Down Expand Up @@ -105,4 +105,4 @@
#define IRQn_LIN2 92 /* LIN2 IRQ */
#define IRQn_LIN3 93 /* LIN3 IRQ */

#endif /* HPM_IRQ_NUM_H */
#endif /* HPM_SOC_IRQ_H */
2 changes: 1 addition & 1 deletion arch/risc-v/src/hpmicro/hpm_sdk/soc/HPM6360/hpm_soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#define HPM_SOC_H


#include "hpm_irq_num.h"
#include "hpm_soc_irq.h"
#include "hpm_common.h"

#include "hpm_gpio_regs.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/


#ifndef HPM_IRQ_NUM_H
#define HPM_IRQ_NUM_H
#ifndef HPM_SOC_IRQ_H
#define HPM_SOC_IRQ_H


/* List of external IRQs */
Expand Down Expand Up @@ -91,4 +91,4 @@
#define IRQn_DEBUG_1 78 /* DEBUG[1] IRQ */


#endif /* HPM_IRQ_NUM_H */
#endif /* HPM_SOC_IRQ_H */
2 changes: 1 addition & 1 deletion arch/risc-v/src/hpmicro/hpm_sdk/soc/HPM6750/hpm_soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef HPM_SOC_H
#define HPM_SOC_H

#include "hpm_irq_num.h"
#include "hpm_soc_irq.h"
#include "hpm_common.h"

#include "hpm_gpio_regs.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/


#ifndef HPM_IRQ_NUM_H
#define HPM_IRQ_NUM_H
#ifndef HPM_SOC_IRQ_H
#define HPM_SOC_IRQ_H


/* List of external IRQs */
Expand Down Expand Up @@ -140,4 +140,4 @@
#define IRQn_DEBUG_1 127 /* DEBUG[1] IRQ */


#endif /* HPM_IRQ_NUM_H */
#endif /* HPM_SOC_IRQ_H */

0 comments on commit 0fa976f

Please sign in to comment.