Adding a new board variant for UBOOT

Created a new machine type for QRDC board.
Modified Make file to have QRDC specific revoery config

Added common.h, fast.h and stub.h into qrdc board variant.
Currently these are not different from MSM8x60 --but in future they might differ to some extent.

Added a new target for QRDC Board in UBOOT Make file.
Created a new UBOOT target configuration for chromeos_qrdc_recovery_config
All the board specific files for QRDC Board bring up.
Machine id is different.
These files will be used in the QRDC specific build variant.
UBOOT's makefile has a corresponding target to build for QRDC board.

BUG=NONE
TEST=Buildonly test for QRDC and modifying the machine ID, build and test for 8660 FFA.

Review URL: http://codereview.chromium.org/3479014
Patch from Phani Avadhanam <pgargey@codeaurora.org>.
diff --git a/Makefile b/Makefile
index 4721c7a..11eddb7 100644
--- a/Makefile
+++ b/Makefile
@@ -3364,6 +3364,9 @@
 chromeos_8660_recovery_config   :       unconfig
 	@$(MKCONFIG) chromeos/MSM8x60/recovery arm armv7Scorpion MSM8x60 NULL MSM8x60
 
+chromeos_st1q_qrdc_recovery_config   :       unconfig
+	@$(MKCONFIG) chromeos/qrdc/recovery arm armv7Scorpion MSM8x60 NULL MSM8x60
+
 #========================================================================
 # i386
 #========================================================================
diff --git a/include/configs/chromeos/qrdc/common.h b/include/configs/chromeos/qrdc/common.h
new file mode 100755
index 0000000..bf85dcb
--- /dev/null
+++ b/include/configs/chromeos/qrdc/common.h
@@ -0,0 +1,252 @@
+/*
+ * Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
+ *
+ * (C) Copyright 2002-2005
+ * Wolfgang Denk, DENX Software Engineering, <wd@denx.de>
+ * (C) Copyright 2002
+ * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
+ * Marius Groeger <mgroeger@sysgo.de>
+ * Gary Jennejohn <gj@denx.de>
+ *
+ * Configuation settings for the QRDC board, based on the Qualcomm
+ * MSM8x60 surf board.
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+#ifndef __CONFIGS_CHROMEOS_QRDC_COMMON_H
+#define __CONFIGS_CHROMEOS_QRDC_COMMON_H
+
+#define CPU_IS_MSM8x60
+
+#include <asm/arch/MSM8x60_reg.h>
+#include <asm-armv7Scorpion/armv7Scorpion.h>
+#include <config.h>
+
+#define IO_READ32(addr)        (*((volatile unsigned int *) (addr)))
+#define IO_WRITE32(addr, val)  (*((volatile unsigned int *) (addr)) = ((unsigned int) (val)))
+#define IO_READ16(addr)        (*((volatile unsigned short *) (addr)))
+#define IO_WRITE16(addr, val)  (*((volatile unsigned short *) (addr)) = ((unsigned short) (val)))
+#define IO_READ8(addr)         (*((volatile char *) (addr)))
+#define IO_WRITE8(addr, val)   (*((volatile unsigned char *) (addr)) = ((unsigned char) (val)))
+
+/*
+ * High Level Configuration Options
+ * (easy to change)
+ */
+
+#define CONFIG_STACK_BASE
+
+
+/*
+ * Undefine Machine ID if defined in common board files. 
+*  Redefine the Machine ID for QRDC Board
+ */
+#ifdef LINUX_MACH_TYPE
+#undef LINUX_MACH_TYPE
+#endif /* LINUX_MACH_TYPE */
+
+#define LINUX_MACH_TYPE	(3060)
+
+#define CONFIG_SYS_HZ	(32768)  /* GPT Timer frequency */
+#define CONFIG_TCXO_HZ	19200000 /* TCX0 frequency */
+
+#undef  CONFIG_SHOW_BOOT_PROGRESS
+
+#define CONFIG_CMDLINE_TAG	   	  /* enable passing of ATAGs  */
+#define CONFIG_SETUP_MEMORY_TAGS
+//#define CONFIG_INITRD_TAG
+
+/*
+ * Enable to pass framebuffer info to kernel
+ * but after implementing calc_fbsize() in lcdc.c
+ */
+#define CONFIG_VIDEOFLB_ATAG_NOT_SUPPORTED
+
+#define ATAG_CORE_FLAGS 	0x00000004
+#define ATAG_PAGE_SIZE	  	0x00001000
+#define ATAG_CORE_RDEV		0x000000FF
+#define CONFIG_MISC_INIT_R	1	/* call misc_init_r during start up */
+
+/* Warm boot related constants */
+#define CONFIG_WARMBOOT_TRUE			0xBAC4F00D
+#define CONFIG_WARMBOOT_FALSE   		0x15FA15E2
+
+/*
+ * Address where ATAGs are stored and where bootwedge used to be.
+ * 2 words at ATAGs are overwritten by power collapse routine
+ * in the kernel to cause a jump back to the
+ * power collapse exit routine in the kernel.
+ * These are restored back to their original values
+ * after successful power collapse .
+ */
+#define CONFIG_WARMBOOT_POWER_COLLAPSE_EXIT_ADDRESS 	PHYS_SDRAM_1
+
+/*
+ * Size of malloc() pool
+ */
+#define CONFIG_SYS_MALLOC_LEN	(CONFIG_ENV_SIZE + 128*1024)
+
+/* size in bytes reserved for initial data */
+#define CONFIG_SYS_GBL_DATA_SIZE	128
+
+/*
+ * Stack space needed =
+ * Stack + Global Data + 3 words abort stack
+ * This is checked by linker script to define stack section
+ */
+#define CONFIG_SYS_MAX_STACK_SPACE (CONFIG_STACKSIZE + \
+		                    CONFIG_SYS_GBL_DATA_SIZE + 12)
+
+/*
+ * Serial port Configuration
+ */
+#undef  CONFIG_SILENT_CONSOLE
+#define CFG_QC_SERIAL
+#define CONFIG_CONS_INDEX		0
+#define CONFIG_BAUDRATE			115200
+#define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, 115200 }
+
+#define CONFIG_BOOTP_MASK		CONFIG_BOOTP_DEFAULT
+
+#define CONFIG_CMD_SOURCE
+
+#define CONFIG_BOOTDELAY	0
+
+#define CONFIG_BOOTARGS "console=tty0 root=/dev/mmcblk1p3 rootwait init=/sbin/init pmem_kernel_ebi1_size=32M"
+
+#define CONFIG_BOOTCOMMAND                                              \
+        "if mmcinfo 1; then "                                           \
+           "if ext2load mmc 1:3 0x40200000 boot/boot_script.uimg; then "\
+              "source 0x40200000; "                                     \
+           "elif ext2load mmc 1:3 0x40207fc0 boot/vmlinux.uimg; then "  \
+                "bootm 0x40207fc0; "                                    \
+           "fi; "                                                       \
+        "elif mmcinfo 0; then "                                         \
+           "if ext2load mmc 0:3 0x40200000 boot/boot_script.uimg; then "\
+              "source 0x40200000; "                                     \
+           "elif ext2load mmc 0:3 0x40207fc0 boot/vmlinux.uimg; then "  \
+              "bootm 0x40207fc0; "                                      \
+           "fi; "                                                       \
+        "fi;"
+
+/*
+ * Miscellaneous configurable options
+ */
+#define CONFIG_SYS_NO_FLASH
+#define CONFIG_SYS_LONGHELP
+#define CONFIG_SYS_HUSH_PARSER
+#define CONFIG_SYS_PROMPT_HUSH_PS2      "> "
+#define CONFIG_SYS_PROMPT	"ChromeOS> "
+#define CONFIG_SYS_CBSIZE	256		/* Console I/O Buffer Size  */
+/* Print Buffer Size */
+#define CONFIG_SYS_PBSIZE	(CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
+#define CONFIG_SYS_MAXARGS	16		/* max number of command args   */
+#define CONFIG_SYS_BARGSIZE	2048 /* Boot Argument Buffer Size    */
+
+#define CONFIG_SYS_LOAD_ADDR	(PHYS_SDRAM_1 + 0x7FC0) 	/* default load address in EBI1 SDRAM */
+
+/*-----------------------------------------------------------------------
+ * Stack sizes
+ *
+ * The stack sizes are set up in start.S using the settings below
+ */
+#define CONFIG_STACKSIZE	(128*1024)	/* regular stack */
+#ifdef CONFIG_USE_IRQ
+#define CONFIG_STACKSIZE_IRQ	(4*1024)	/* IRQ stack */
+#define CONFIG_STACKSIZE_FIQ	(4*1024)	/* FIQ stack */
+#endif
+
+/*
+ * SDRAM: Memory available for kernel: 510MB.
+ */
+#define CONFIG_NR_DRAM_BANKS	1
+#define PHYS_SDRAM_1		0x40200000
+#define PHYS_SDRAM_1_SIZE	0x1FE00000 /* 510MB */
+
+#define CONFIG_ARM_DCC
+#define CONFIG_ARM_DCC_MULTI
+#define CONFIG_CPU_V7
+#define CONFIG_SERIAL_CONSOLE
+//#define CONFIG_DCC_CONSOLE
+
+/* Console setup */
+#if defined(CONFIG_SERIAL_CONSOLE)
+ #define CONFIG_STDOUT "serial"
+ #define CONFIG_STDERR "serial"
+ #define CONFIG_STDIN  "serial"
+#elif defined(CONFIG_DCC_CONSOLE)
+ #define CONFIG_STDOUT "dcc"
+ #define CONFIG_STDERR "dcc"
+ #define CONFIG_STDIN  "dcc"
+#else /* default */
+ #define CONFIG_STDOUT "lcd"
+ #define CONFIG_STDERR "lcd"
+ #define CONFIG_STDIN  "dcc"
+#endif
+
+#define CONFIG_SYS_CONSOLE_IS_IN_ENV
+#define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
+
+/*-----------------------------------------------------------------------
+ * Shared Memory Location -
+ */
+#define SMEM_START  0xE0100000
+#define SMEM_SIZE   0x00100000
+
+/*-----------------------------------------------------------------------
+ * Physical Memory Map -
+ * U-Boot code, data, stack, etc. reside in external RAM.
+ */
+#define UBOOT_SDRAM_BASE         0x40100000      /* external ram */
+#define UBOOT_SDRAM_SIZE         0x00100000
+
+/* Memory Test */
+#define CONFIG_SYS_MEMTEST_START       PHYS_SDRAM_1
+#define CONFIG_SYS_MEMTEST_END         (PHYS_SDRAM_1 + PHYS_SDRAM_1_SIZE)
+
+/* Environment */
+#define CONFIG_ENV_IS_NOWHERE
+#define CONFIG_ENV_SIZE         0x2000
+
+/* Boot parameter address - offset of 0x100 from base of first sdram region */
+#define CFG_QC_BOOT_PARAM_ADDR    (PHYS_SDRAM_1 + 0x100)
+
+/*-----------------------------------------------------------------------
+ * The qc_serial driver uses the register names below. Set UART_BASE
+ * for the desired UART.
+ */
+#define UART_BASE     UART3_BASE
+
+/* MMC interface */
+#define CONFIG_GENERIC_MMC
+#define CONFIG_GENERIC_MMC_MULTI_BLOCK_READ
+#define CONFIG_QSD_SDCC
+
+/* Ethernet support */
+#define CONFIG_CMD_NET
+#define CONFIG_NET_MULTI
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_PING
+
+#define CONFIG_SMC911X
+#define CONFIG_SMC911X_16_BIT
+#define CONFIG_SMC911X_BASE 0x1B800000
+
+#endif /* __CONFIGS_CHROMEOS_QRDC_COMMON_H */
diff --git a/include/configs/chromeos/qrdc/fast.h b/include/configs/chromeos/qrdc/fast.h
new file mode 100644
index 0000000..e845222
--- /dev/null
+++ b/include/configs/chromeos/qrdc/fast.h
@@ -0,0 +1,64 @@
+/*
+ * Copyright 2010, Google Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ * * Neither the name of Google Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Alternatively, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") version 2 as published by the Free
+ * Software Foundation.
+ */
+
+#ifndef __CONFIGS_CHROMEOS_QRDC_FAST_H
+#define __CONFIGS_CHROMEOS_QRDC_FAST_H
+
+#include <configs/chromeos/8660/common.h>
+
+/*
+ * What monitor functions should be included
+ */
+#define CONFIG_CMD_AUTOSCRIPT	/* Autoscript Support		*/
+#define CONFIG_CMD_BDI		/* bdinfo			*/
+#define CONFIG_CMD_BOOTD	/* bootd			*/
+#define CONFIG_CMD_CONSOLE	/* coninfo			*/
+#define CONFIG_CMD_ECHO		/* echo arguments		*/
+#define CONFIG_CMD_SAVEENV	/* saveenv			*/
+#define CONFIG_CMD_FPGA		/* FPGA configuration Support	*/
+#define CONFIG_CMD_IMI		/* iminfo			*/
+#define CONFIG_CMD_ITEST	/* Integer (and string) test	*/
+#define CONFIG_CMD_LOADB	/* loadb			*/
+#define CONFIG_CMD_LOADS	/* loads			*/
+#define CONFIG_CMD_MEMORY	/* md mm nm mw cp cmp crc base loop mtest */
+#define CONFIG_CMD_MISC		/* Misc functions like sleep etc*/
+#define CONFIG_CMD_RUN		/* run command in env variable	*/
+#define CONFIG_CMD_SETGETDCR	/* DCR support on 4xx		*/
+#define CONFIG_CMD_XIMG		/* Load part of Multi Image	*/
+#define CONFIG_CMD_NAND
+#define CONFIG_CMD_RAMCONFIG
+#define CONFIG_CMD_GETTIME
+
+#endif //__CONFIGS_CHROMEOS_QRDC_FAST_H
diff --git a/include/configs/chromeos/qrdc/recovery.h b/include/configs/chromeos/qrdc/recovery.h
new file mode 100755
index 0000000..d12547e
--- /dev/null
+++ b/include/configs/chromeos/qrdc/recovery.h
@@ -0,0 +1,115 @@
+/*
+ * Copyright (c) 2010, Code Aurora Forum. All rights reserved.
+ * Copyright 2010, Google Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ * * Neither the name of Google Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Alternatively, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") version 2 as published by the Free
+ * Software Foundation.
+ */
+
+#ifndef __CONFIGS_CHROMEOS_QRDC_RECOVERY_H
+#define __CONFIGS_CHROMEOS_QRDC_RECOVERY_H
+
+#define CONFIG_CMDLINE_TAG
+#define CONFIG_SETUP_MEMORY_TAGS
+
+/*
+ * Configure the LCD for recovery mode.
+ * LCDC framebuffer is at MM HEAP1 in SMI
+ * Note: Update as memory map changes
+ */
+//#define CONFIG_LCD
+//#define CONFIG_SYS_WHITE_ON_BLACK
+//#define CONFIG_MSM8X60_LCDC
+
+#define LCD_BPP		LCD_COLOR24
+
+#ifdef CONFIG_MSM8X60_LCDC
+#   define LCDC_FB_ADDR		0x02b00000
+#   define LCDC_FB_SIZE		0x00400000
+
+/* 1024x600x24 @ 60 Hz */
+#   define LCDC_vl_col	    1024
+#   define LCDC_vl_row		600
+#   define LCDC_vl_sync_width	1024
+#   define LCDC_vl_sync_height	600
+#   define LCDC_vl_hbp		80
+#   define LCDC_vl_hfp		20
+#   define LCDC_vl_vbp		22
+#   define LCDC_vl_vfp		1
+#   define LCDC_vl_hsync_width	40
+#   define LCDC_vl_vsync_width	3
+
+#   define LCD_MD_VAL_MHZ	0x1CF969FF //74.17 MHZ
+#   define LCD_NS_VAL_MHZ	0x86F81B49 //74.17 MHZ
+#   define LCD_CLK_PCOM_MHZ	74250000
+#endif
+
+/*
+ * MMC/SD card
+ */
+#define CONFIG_MMC
+#define CONFIG_EFI_PARTITION
+//#define CONFIG_DOS_PARTITION
+
+#include <configs/chromeos/qrdc/common.h>
+
+/*
+ * What monitor functions should be included
+ */
+#define CONFIG_CMD_AUTOSCRIPT	/* Autoscript Support		*/
+#define CONFIG_CMD_BDI		/* bdinfo			*/
+#define CONFIG_CMD_BOOTD	/* bootd			*/
+#define CONFIG_CMD_CONSOLE	/* coninfo			*/
+#define CONFIG_CMD_ECHO		/* echo arguments		*/
+#define CONFIG_CMD_SAVEENV	/* saveenv			*/
+#define CONFIG_CMD_FPGA		/* FPGA configuration Support	*/
+#define CONFIG_CMD_IMI		/* iminfo			*/
+#define CONFIG_CMD_ITEST	/* Integer (and string) test	*/
+#define CONFIG_CMD_LOADB	/* loadb			*/
+#define CONFIG_CMD_LOADS	/* loads			*/
+#define CONFIG_CMD_MEMORY	/* md mm nm mw cp cmp crc base loop mtest */
+#define CONFIG_CMD_MISC		/* Misc functions like sleep etc*/
+#define CONFIG_CMD_RUN		/* run command in env variable	*/
+#define CONFIG_CMD_SETGETDCR	/* DCR support on 4xx		*/
+#define CONFIG_CMD_XIMG		/* Load part of Multi Image	*/
+#define	CONFIG_CMD_DHCP
+#define	CONFIG_CMD_PING
+#define CONFIG_CMD_MMC
+#define CONFIG_CMD_EXT2
+
+
+#define CONFIG_CMD_RAMCONFIG
+#define CONFIG_CMD_GETTIME
+#define CONFIG_CMD_NPART
+
+#define CONFIG_DYNAMIC_INODE_SIZE
+
+#endif //__CONFIGS_CHROMEOS_QRDC_RECOVERY_H
diff --git a/include/configs/chromeos/qrdc/stub.h b/include/configs/chromeos/qrdc/stub.h
new file mode 100644
index 0000000..c2c5781
--- /dev/null
+++ b/include/configs/chromeos/qrdc/stub.h
@@ -0,0 +1,64 @@
+/*
+ * Copyright 2010, Google Inc.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ * * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ * * Neither the name of Google Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * Alternatively, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") version 2 as published by the Free
+ * Software Foundation.
+ */
+
+#ifndef __CONFIGS_CHROMEOS_QRDC_STUB_H
+#define __CONFIGS_CHROMEOS_QRDC_STUB_H
+
+#include <configs/chromeos/8660/common.h>
+
+/*
+ * What monitor functions should be included
+ */
+#define CONFIG_CMD_AUTOSCRIPT	/* Autoscript Support		*/
+#define CONFIG_CMD_BDI		/* bdinfo			*/
+#define CONFIG_CMD_BOOTD	/* bootd			*/
+#define CONFIG_CMD_CONSOLE	/* coninfo			*/
+#define CONFIG_CMD_ECHO		/* echo arguments		*/
+#define CONFIG_CMD_SAVEENV	/* saveenv			*/
+#define CONFIG_CMD_FPGA		/* FPGA configuration Support	*/
+#define CONFIG_CMD_IMI		/* iminfo			*/
+#define CONFIG_CMD_ITEST	/* Integer (and string) test	*/
+#define CONFIG_CMD_LOADB	/* loadb			*/
+#define CONFIG_CMD_LOADS	/* loads			*/
+#define CONFIG_CMD_MEMORY	/* md mm nm mw cp cmp crc base loop mtest */
+#define CONFIG_CMD_MISC		/* Misc functions like sleep etc*/
+#define CONFIG_CMD_RUN		/* run command in env variable	*/
+#define CONFIG_CMD_SETGETDCR	/* DCR support on 4xx		*/
+#define CONFIG_CMD_XIMG		/* Load part of Multi Image	*/
+#define CONFIG_CMD_NAND
+#define CONFIG_CMD_RAMCONFIG
+#define CONFIG_CMD_GETTIME
+
+#endif //__CONFIGS_CHROMEOS_QRDC_STUB_H