diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-05-06 09:30:53 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-05-06 09:30:53 +0200 |
commit | 740f01feb7a86161362d05dbc0f9b5cf8c4159b5 (patch) | |
tree | 165d73b6d9403f04b2ede1914b9f606d77845fc1 /arch/arm/boards/toshiba-ac100 | |
parent | e9a39d79b9c57dfe0e5736de9ed192cc6273a56b (diff) | |
parent | fbcb481c60d80e76f3c5d537ae05d0adf01ac9e1 (diff) | |
download | barebox-740f01feb7a86161362d05dbc0f9b5cf8c4159b5.tar.gz barebox-740f01feb7a86161362d05dbc0f9b5cf8c4159b5.tar.xz |
Merge branch 'for-next/tegra'
Diffstat (limited to 'arch/arm/boards/toshiba-ac100')
-rw-r--r-- | arch/arm/boards/toshiba-ac100/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/boards/toshiba-ac100/board.c | 8 | ||||
-rw-r--r-- | arch/arm/boards/toshiba-ac100/lowlevel.c | 10 | ||||
-rw-r--r-- | arch/arm/boards/toshiba-ac100/serial.c | 39 |
4 files changed, 0 insertions, 59 deletions
diff --git a/arch/arm/boards/toshiba-ac100/Makefile b/arch/arm/boards/toshiba-ac100/Makefile index 4d321e1622..dcfc2937d3 100644 --- a/arch/arm/boards/toshiba-ac100/Makefile +++ b/arch/arm/boards/toshiba-ac100/Makefile @@ -1,3 +1 @@ obj-y += board.o -obj-$(CONFIG_DRIVER_SERIAL_NS16550) += serial.o -lwl-y += lowlevel.o diff --git a/arch/arm/boards/toshiba-ac100/board.c b/arch/arm/boards/toshiba-ac100/board.c index 0eb85c5edc..51232ef427 100644 --- a/arch/arm/boards/toshiba-ac100/board.c +++ b/arch/arm/boards/toshiba-ac100/board.c @@ -23,14 +23,6 @@ #include <usb/ehci.h> #include <mach/iomap.h> -static int ac100_mem_init(void) -{ - arm_add_mem_device("ram0", 0x0, SZ_512M); - - return 0; -} -mem_initcall(ac100_mem_init); - static struct ehci_platform_data ehci_pdata = { .flags = EHCI_HAS_TT, }; diff --git a/arch/arm/boards/toshiba-ac100/lowlevel.c b/arch/arm/boards/toshiba-ac100/lowlevel.c deleted file mode 100644 index 2f99d709a4..0000000000 --- a/arch/arm/boards/toshiba-ac100/lowlevel.c +++ /dev/null @@ -1,10 +0,0 @@ -#include <common.h> -#include <sizes.h> -#include <asm/barebox-arm-head.h> -#include <asm/barebox-arm.h> - -void __naked barebox_arm_reset_vector(void) -{ - arm_cpu_lowlevel_init(); - barebox_arm_entry(0x0, SZ_512M, 0); -} diff --git a/arch/arm/boards/toshiba-ac100/serial.c b/arch/arm/boards/toshiba-ac100/serial.c deleted file mode 100644 index 880270ddde..0000000000 --- a/arch/arm/boards/toshiba-ac100/serial.c +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (C) 2011 Antony Pavlov <antonynpavlov@gmail.com> - * - * This file is part of barebox. - * 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 version 2 - * as published by the Free Software Foundation. - * - * 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. - */ - -#include <common.h> -#include <types.h> -#include <driver.h> -#include <init.h> -#include <ns16550.h> -#include <asm/io.h> -#include <asm/common.h> -#include <mach/iomap.h> - -static struct NS16550_plat serial_plat = { - .clock = 0x75 * 115200 * 16 /* MODE_X_DIV */, - .shift = 2, -}; - -static int ac100_serial_console_init(void) -{ - /* Register the serial port */ - add_ns16550_device(DEVICE_ID_DYNAMIC, TEGRA_UARTA_BASE, 8 << serial_plat.shift, - IORESOURCE_MEM_8BIT, &serial_plat); - - return 0; -} -console_initcall(ac100_serial_console_init); |