X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fconfigs%2Fpengwyn.h;h=48f1f7baccba1616885a4185204e251675e2ccb5;hb=9baa2bce28901321d6f62399b5ebeb3fcb8e8a57;hp=2fa280e7eede90af6796267a6129801efa6aede7;hpb=2d5e6b4aac59d3a93773f19839fbb86d9e704fb7;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/configs/pengwyn.h b/include/configs/pengwyn.h index 2fa280e..48f1f7b 100644 --- a/include/configs/pengwyn.h +++ b/include/configs/pengwyn.h @@ -1,18 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * pengwyn.h * * Copyright (C) 2013 Lothar Felten * * based on am335x_evm.h, Copyright (C) 2011 Texas Instruments Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __CONFIG_PENGWYN_H #define __CONFIG_PENGWYN_H -#define CONFIG_SERIAL1 -#define CONFIG_CONS_INDEX 1 #include @@ -23,8 +20,6 @@ /* set env size */ #define CONFIG_ENV_SIZE 0x4000 -#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG - #ifndef CONFIG_SPL_BUILD #define CONFIG_EXTRA_ENV_SETTINGS \ "loadaddr=0x80200000\0" \ @@ -82,8 +77,8 @@ "tftp ${fdtaddr} ${fdtfile}; " \ "run netargs; " \ "bootz ${loadaddr} - ${fdtaddr}\0" \ - "mtdids=" MTDIDS_DEFAULT "\0" \ - "mtdparts=" MTDPARTS_DEFAULT "\0" \ + "mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \ + "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \ "nandargs=setenv bootargs console=${console} " \ "${optargs} " \ "root=${nandroot} " \ @@ -148,14 +143,7 @@ /* #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000 */ #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x200000 -#define MTDIDS_DEFAULT "nand0=omap2-nand.0" /* Size must be a multiple of Nand erase size (524288 b) */ -#define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:512k(SPL)," \ - "512k(SPL.backup1)," \ - "512k(SPL.backup2)," \ - "512k(SPL.backup3),1536k(u-boot)," \ - "512k(u-boot-spl-os)," \ - "512k(u-boot-env),5m(kernel),-(rootfs)" #define CONFIG_ENV_OFFSET 0x260000 /* environment starts here */ #define CONFIG_SYS_ENV_SECT_SIZE (128 << 10) /* 128 KiB */ /* NAND: SPL falcon mode configs */ @@ -169,24 +157,15 @@ * board schematic and physical port wired to each. Then for host we * add mass storage support. */ -#define CONFIG_USB_MUSB_DSPS -#define CONFIG_USB_MUSB_PIO_ONLY #define CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT #define CONFIG_AM335X_USB0 #define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL #define CONFIG_AM335X_USB1 #define CONFIG_AM335X_USB1_MODE MUSB_HOST -#if defined(CONFIG_SPL_BUILD) -/* disable host part of MUSB in SPL */ -/* Disable CPSW SPL support so we fit within the 101KiB limit. */ -#endif - /* Network */ #define CONFIG_PHY_RESET 1 #define CONFIG_PHY_NATSEMI #define CONFIG_PHY_REALTEK -/* CPSW support */ - #endif /* ! __CONFIG_PENGWYN_H */