Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright 2014 Google Inc. |
| 5 | ## |
| 6 | ## This program is free software; you can redistribute it and/or modify |
| 7 | ## it under the terms of the GNU General Public License as published by |
| 8 | ## the Free Software Foundation; version 2 of the License. |
| 9 | ## |
| 10 | ## This program is distributed in the hope that it will be useful, |
| 11 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | ## GNU General Public License for more details. |
| 14 | ## |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 15 | |
Stefan Reinauer | aae53ab | 2015-04-27 14:03:57 -0700 | [diff] [blame] | 16 | ifeq ($(CONFIG_SOC_MARVELL_BG4CD),y) |
| 17 | |
Aaron Durbin | 1124cec | 2015-04-22 10:41:42 -0500 | [diff] [blame] | 18 | bootblock-$(CONFIG_VBOOT_VERIFY_FIRMWARE) += bootblock_asm.S |
| 19 | bootblock-$(CONFIG_VBOOT_VERIFY_FIRMWARE) += bootblock.c |
Daisuke Nojiri | 599c32d | 2014-12-03 12:09:58 -0800 | [diff] [blame] | 20 | |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 21 | bootblock-y += cbmem.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 22 | bootblock-y += i2c.c |
Vadim Bendebury | 771819a | 2014-10-15 18:19:03 -0700 | [diff] [blame] | 23 | bootblock-y += monotonic_timer.c |
Vadim Bendebury | c8385dd | 2014-10-16 11:20:15 -0700 | [diff] [blame] | 24 | bootblock-$(CONFIG_SPI_FLASH) += spi.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 25 | |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 26 | verstage-y += i2c.c |
Vadim Bendebury | 771819a | 2014-10-15 18:19:03 -0700 | [diff] [blame] | 27 | verstage-y += monotonic_timer.c |
Vadim Bendebury | c8385dd | 2014-10-16 11:20:15 -0700 | [diff] [blame] | 28 | verstage-$(CONFIG_SPI_FLASH) += spi.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 29 | |
Daisuke Nojiri | 55cb84b | 2014-12-29 16:04:23 -0800 | [diff] [blame] | 30 | romstage-y += romstage.S |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 31 | romstage-y += cbmem.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 32 | romstage-y += i2c.c |
Vadim Bendebury | 771819a | 2014-10-15 18:19:03 -0700 | [diff] [blame] | 33 | romstage-y += monotonic_timer.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 34 | romstage-y += sdram.c |
Vadim Bendebury | c8385dd | 2014-10-16 11:20:15 -0700 | [diff] [blame] | 35 | romstage-$(CONFIG_SPI_FLASH) += spi.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 36 | |
| 37 | ramstage-y += cbmem.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 38 | ramstage-y += i2c.c |
Vadim Bendebury | 771819a | 2014-10-15 18:19:03 -0700 | [diff] [blame] | 39 | ramstage-y += monotonic_timer.c |
Vadim Bendebury | c8385dd | 2014-10-16 11:20:15 -0700 | [diff] [blame] | 40 | ramstage-$(CONFIG_SPI_FLASH) += spi.c |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 41 | |
Julius Werner | 7d18663 | 2014-10-20 14:21:22 -0700 | [diff] [blame] | 42 | CPPFLAGS_common += -Isrc/soc/marvell/bg4cd/include/ |
| 43 | |
Daisuke Nojiri | 3df0126 | 2014-10-08 11:38:52 -0700 | [diff] [blame] | 44 | $(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin |
| 45 | @printf "Generating: $(subst $(obj)/,,$(@))\n" |
| 46 | @mkdir -p $(dir $@) |
| 47 | @mv $< $@ |
Stefan Reinauer | aae53ab | 2015-04-27 14:03:57 -0700 | [diff] [blame] | 48 | |
| 49 | endif |