X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fconfigs%2Fcm_t335.h;h=740bbd45a08ea82391817640cb73faf2531d59c0;hb=29d280c88a1ff331dce2d4c7a5aaf2402aa0fd8a;hp=2287d5b6e455ec2bd8a6c5d067de362bd584a65d;hpb=c1b62ba9ca0e41fdd548cb3bb9af3b3f90d4a393;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/configs/cm_t335.h b/include/configs/cm_t335.h index 2287d5b..740bbd4 100644 --- a/include/configs/cm_t335.h +++ b/include/configs/cm_t335.h @@ -1,11 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Config file for Compulab CM-T335 board * * Copyright (C) 2013, Compulab Ltd - http://compulab.co.il/ * * Author: Ilya Ledvich - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __CONFIG_CM_T335_H @@ -15,10 +14,6 @@ #include -#undef CONFIG_SPI -#undef CONFIG_BOOTCOUNT_LIMIT -#undef CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC - #undef CONFIG_MAX_RAM_BANK_SIZE #define CONFIG_MAX_RAM_BANK_SIZE (512 << 20) /* 512MB */ @@ -43,8 +38,8 @@ "bootm ${loadaddr}\0" #define NANDARGS \ - "mtdids=" MTDIDS_DEFAULT "\0" \ - "mtdparts=" MTDPARTS_DEFAULT "\0" \ + "mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \ + "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \ "nandroot=ubi0:rootfs rw\0" \ "nandrootfstype=ubifs\0" \ "nandargs=setenv bootargs console=${console} " \ @@ -84,8 +79,6 @@ #define CONFIG_SYS_AUTOLOAD "no" /* Serial console configuration */ -#define CONFIG_CONS_INDEX 1 -#define CONFIG_SERIAL1 1 /* UART0 */ /* NS16550 Configuration */ #define CONFIG_SYS_NS16550_COM1 0x44e09000 /* UART0 */ @@ -125,11 +118,6 @@ #undef CONFIG_SYS_NAND_U_BOOT_OFFS #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x200000 -#define MTDIDS_DEFAULT "nand0=nand" -#define MTDPARTS_DEFAULT "mtdparts=nand:2m(spl)," \ - "1m(u-boot),1m(u-boot-env)," \ - "1m(dtb),4m(splash)," \ - "6m(kernel),-(rootfs)" #define CONFIG_ENV_OFFSET 0x300000 /* environment starts here */ #define CONFIG_SYS_ENV_SECT_SIZE (128 << 10) /* 128 KiB */ #define CONFIG_SYS_NAND_ONFI_DETECTION