1
0
mirror of git://projects.qi-hardware.com/f32xbase.git synced 2025-04-21 12:27:27 +03:00

Move platform-specific boot loader configuration into macros.

- fw/boot/boot.c (boot_loader): moved GTA-specific pull-up disable and
  I2C_SDA_PULL enable into macro PLATFORM_SETUP
- fw/boot/boot.c (run_payload): moved GTA-specific pull-up enable and
  I2C_SDA_PULL disable into macro PLATFORM_EXIT
- fw/boot/boot.c (boot_loader): moved GTA-specific I2C_SDA probe into macro
  PLATFORM_TEST
- fw/common/Makefile.common: removed all references to dependencies on
  .target. The caller is now responsible for these.
- fw/boot/dfu.c: don't include idbg/usb-ids.h; USB_VENDOR and USB_PRODUCT
  are now passed via macros
This commit is contained in:
Werner Almesberger
2010-08-19 00:34:19 -03:00
parent 749a4e22a4
commit fcfaec399a
3 changed files with 36 additions and 24 deletions

View File

@@ -31,7 +31,6 @@
#include "uart.h"
#include "usb.h"
#include "dfu.h"
#include "idbg/usb-ids.h"
#ifndef NULL