Merge "app: fastboot: Move the reponse size macro"
diff --git a/app/aboot/fastboot.c b/app/aboot/fastboot.c
index 5b9dc9a..262a08e 100644
--- a/app/aboot/fastboot.c
+++ b/app/aboot/fastboot.c
@@ -35,8 +35,8 @@
#include <kernel/thread.h>
#include <kernel/event.h>
#include <dev/udc.h>
+#include "fastboot.h"
-#define MAX_RSP_SIZE 64
#define MAX_USBFS_BULK_SIZE (32 * 1024)
void boot_linux(void *bootimg, unsigned sz);
diff --git a/app/aboot/fastboot.h b/app/aboot/fastboot.h
index d66886c..0703402 100644
--- a/app/aboot/fastboot.h
+++ b/app/aboot/fastboot.h
@@ -2,6 +2,8 @@
* Copyright (c) 2009, Google Inc.
* All rights reserved.
*
+ * Copyright (c) 2013, The Linux Foundation. All rights reserved.
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -29,6 +31,9 @@
#ifndef __APP_FASTBOOT_H
#define __APP_FASTBOOT_H
+#define MAX_RSP_SIZE 64
+#define MAX_GET_VAR_NAME_SIZE 256
+
int fastboot_init(void *xfer_buffer, unsigned max);
/* register a command handler