Aubrey Li | 26bf7de | 2007-03-19 01:24:52 +0800 | [diff] [blame] | 1 | # |
Mike Frysinger | 509fc55 | 2008-10-11 20:45:44 -0400 | [diff] [blame] | 2 | # Copyright (c) 2005-2008 Analog Device Inc. |
| 3 | # |
Aubrey Li | 26bf7de | 2007-03-19 01:24:52 +0800 | [diff] [blame] | 4 | # (C) Copyright 2001 |
| 5 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 6 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | # SPDX-License-Identifier: GPL-2.0+ |
Aubrey Li | 26bf7de | 2007-03-19 01:24:52 +0800 | [diff] [blame] | 8 | # |
Mike Frysinger | 9171fc8 | 2008-03-30 15:46:13 -0400 | [diff] [blame] | 9 | |
Peter Tyser | 78acc47 | 2010-04-12 22:28:05 -0500 | [diff] [blame] | 10 | CFLAGS_lib += -O2 |
| 11 | CFLAGS_lib/lzma += -O2 |
Mike Frysinger | acf04b3 | 2011-05-16 14:25:42 -0400 | [diff] [blame] | 12 | CFLAGS_lib/zlib += -O2 |
Mike Frysinger | 9ae55cc | 2009-06-14 22:26:31 -0400 | [diff] [blame] | 13 | |
Mike Frysinger | 9171fc8 | 2008-03-30 15:46:13 -0400 | [diff] [blame] | 14 | # Set some default LDR flags based on boot mode. |
Mike Frysinger | 509fc55 | 2008-10-11 20:45:44 -0400 | [diff] [blame] | 15 | LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 |
| 16 | LDR_FLAGS-BFIN_BOOT_UART := --port g --gpio 6 |