commit
96dd0a4cbf
@ -0,0 +1,33 @@ |
||||
/*
|
||||
* cpu.h |
||||
* |
||||
* Copyright (c) 2009 Freescale Semiconductor, Inc. |
||||
* |
||||
* See file CREDITS for list of people who contributed to this |
||||
* project. |
||||
* |
||||
* This program is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU General Public License as |
||||
* published by the Free Software Foundation; either version 2 of |
||||
* the License, or (at your option) any later version. |
||||
* |
||||
* This program is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
* GNU General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU General Public License |
||||
* along with this program; if not, write to the Free Software |
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, |
||||
* MA 02110-1301 USA |
||||
*/ |
||||
|
||||
#ifndef _CPU_H_ |
||||
#define _CPU_H_ |
||||
|
||||
#include <command.h> |
||||
|
||||
/* Use this to create board specific reset functions */ |
||||
void board_reset(void) __attribute__((__weak__)); |
||||
|
||||
#endif /* _CPU_H_ */ |
@ -0,0 +1,15 @@ |
||||
#ifndef _ASM_M68K_UNALIGNED_H |
||||
#define _ASM_M68K_UNALIGNED_H |
||||
|
||||
#ifdef CONFIG_COLDFIRE |
||||
#include <linux/unaligned/be_byteshift.h> |
||||
#else |
||||
#include <linux/unaligned/access_ok.h> |
||||
#endif |
||||
|
||||
#include <linux/unaligned/generic.h> |
||||
|
||||
#define get_unaligned __get_unaligned_be |
||||
#define put_unaligned __put_unaligned_be |
||||
|
||||
#endif /* _ASM_M68K_UNALIGNED_H */ |
Loading…
Reference in new issue