diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2011-09-10 21:47:18 -0700 |
---|---|---|
committer | Vadim Bendebury <vbendeb@chromium.org> | 2011-09-12 09:24:25 -0700 |
commit | d253930dc51d007fde41dde36399cf5910c7e305 (patch) | |
tree | 0a7e7e320a2daafe6ec5c1b967536926f71520db /board/chromebook-x86 | |
parent | babd4bb81804bea0c3cc3bec409f752e4242f6e3 (diff) |
Drop the unnecessary flash stub implementation.
The x86 Chrome platforms do not have NOR flash, there is no need
to keep its stub in the tree/image.
BUG=chromium-os:20105
TEST=build x86 coreboot successfully
Change-Id: Ieb988a207fbc77c9b2933c8aa0cc4f55771cdc68
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/7518
Reviewed-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'board/chromebook-x86')
-rw-r--r-- | board/chromebook-x86/coreboot/Makefile | 1 | ||||
-rw-r--r-- | board/chromebook-x86/coreboot/flash.c | 31 |
2 files changed, 0 insertions, 32 deletions
diff --git a/board/chromebook-x86/coreboot/Makefile b/board/chromebook-x86/coreboot/Makefile index f78d94fa5a2..635f69d3aec 100644 --- a/board/chromebook-x86/coreboot/Makefile +++ b/board/chromebook-x86/coreboot/Makefile @@ -34,7 +34,6 @@ LIB = $(obj)lib$(BOARD).o COBJS-y += coreboot.o COBJS-$(CONFIG_PCI) += coreboot_pci.o -COBJS-y += flash.o SOBJS-y += coreboot_start16.o SOBJS-y += coreboot_start.o diff --git a/board/chromebook-x86/coreboot/flash.c b/board/chromebook-x86/coreboot/flash.c deleted file mode 100644 index 9c8da61a09e..00000000000 --- a/board/chromebook-x86/coreboot/flash.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2011 The Chromium OS Authors. All rights reserved. - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - * - * Alternatively, this software may be distributed under the terms of the - * GNU General Public License ("GPL") version 2 as published by the Free - * Software Foundation. - */ - -#include <common.h> -#include <config.h> -#include <flash.h> - -#ifndef CONFIG_SYS_NO_FLASH - -flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; - -unsigned long flash_init(void) -{ - printf("flash_init used but not implemented.\n"); - return 0; -} - -int write_buff(flash_info_t *info, uchar *src, ulong addr, ulong cnt) -{ - printf("write_buff used but not implemented.\n"); - return 0; -} - -#endif /* !CONFIG_SYS_NO_FLASH */ |