diff options
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2015-01-29 14:47:01 +0100 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2015-01-30 14:19:58 +0100 |
commit | d9a4a6223cc13fb43cbe291a00beeed1c847ed87 (patch) | |
tree | 188af48988e7323fb2948797181dadfb62a2fa71 /arch/mips/mach-au1x00/au1x00_ide.c | |
parent | f1c64a08106db5ce87b6afe76785e2d4fddcff63 (diff) | |
download | u-boot-imx-d9a4a6223cc13fb43cbe291a00beeed1c847ed87.zip u-boot-imx-d9a4a6223cc13fb43cbe291a00beeed1c847ed87.tar.gz u-boot-imx-d9a4a6223cc13fb43cbe291a00beeed1c847ed87.tar.bz2 |
MIPS: move au1x00 SoC code to arch/mips/mach-au1x00
Move all au1x00 code out of arch/mips/cpu/mips32 to allow
unification of CPU code in a later patch. The reorganization
of the SoC specific header files will be done in a later patch
series.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Diffstat (limited to 'arch/mips/mach-au1x00/au1x00_ide.c')
-rw-r--r-- | arch/mips/mach-au1x00/au1x00_ide.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/mips/mach-au1x00/au1x00_ide.c b/arch/mips/mach-au1x00/au1x00_ide.c new file mode 100644 index 0000000..ba0b35d --- /dev/null +++ b/arch/mips/mach-au1x00/au1x00_ide.c @@ -0,0 +1,15 @@ +/* + * (C) Copyright 2000-2011 + * Wolfgang Denk, DENX Software Engineering, wd@denx.de. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <common.h> +#include <ide.h> + +/* AU1X00 swaps data in big-endian mode, enforce little-endian function */ +void ide_input_swap_data(int dev, ulong *sect_buf, int words) +{ + ide_input_data(dev, sect_buf, words); +} |