blob: ad3a7293dfe24003a8980e3f67adc292a4e15cec [file] [log] [blame]
Mike Frysinger76d21802008-10-12 05:05:42 -04001#
2# Copyright (c) 2005-2008 Analog Device Inc.
3#
4# (C) Copyright 2001
5# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6#
Wolfgang Denk1a459662013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Mike Frysinger76d21802008-10-12 05:05:42 -04008#
9
Peter Tyser78acc472010-04-12 22:28:05 -050010CFLAGS_lib += -O2
11CFLAGS_lib/lzma += -O2
Mike Frysingeracf04b32011-05-16 14:25:42 -040012CFLAGS_lib/zlib += -O2
Mike Frysinger9ae55cc2009-06-14 22:26:31 -040013
Mike Frysinger76d21802008-10-12 05:05:42 -040014# Set some default LDR flags based on boot mode.
15LDR_FLAGS-BFIN_BOOT_PARA := --dma 6
16LDR_FLAGS-BFIN_BOOT_FIFO := --dma 1
17LDR_FLAGS-BFIN_BOOT_SPI_MASTER := --dma 1
18LDR_FLAGS-BFIN_BOOT_UART := --dma 1
19LDR_FLAGS-BFIN_BOOT_NAND := --dma 6