SPDX: Convert all of our single license tags to Linux Kernel style
[platform/kernel/u-boot.git] / arch / mips / include / asm / u-boot-mips.h
index e77636e..f4bfbdc 100644 (file)
@@ -1,26 +1,10 @@
-/*
- * This file is released under the terms of GPL v2 and any later version.
- * See the file COPYING in the root directory of the source tree for details.
- *
- * Copyright (C) 2003 Wolfgang Denk, DENX Software Engineering, wd@denx.de
- */
+/* SPDX-License-Identifier: GPL-2.0+ */
 
-static inline unsigned long bss_start(void)
-{
-       extern char __bss_start[];
-       return (unsigned long) &__bss_start;
-}
+#ifndef _U_BOOT_MIPS_H_
+#define _U_BOOT_MIPS_H_
 
-static inline unsigned long bss_end(void)
-{
-       extern ulong __bss_end;
-       return (unsigned long) &__bss_end;
-}
+void exc_handler(void);
+void except_vec3_generic(void);
+void except_vec_ejtag_debug(void);
 
-static inline unsigned long image_copy_end(void)
-{
-       extern char __image_copy_end[];
-       return (unsigned long) &__image_copy_end;
-}
-
-extern int incaip_set_cpuclk(void);
+#endif /* _U_BOOT_MIPS_H_ */