Add (c) notices, changelog, version system

This commit is contained in:
Mantas Pucka 2014-10-24 14:13:48 +03:00
parent 8754f50b55
commit efa2caaa90
6 changed files with 29 additions and 2 deletions

9
CHANGELOG Normal file
View File

@ -0,0 +1,9 @@
CHANGELOG
=========
devel - v2.1
* Add configurable boot-stop string support
* Add configurable baudrate support
2014-10-21 - v2.0
* Initial USB support

View File

@ -24,6 +24,7 @@ export COMPRESSED_UBOOT=0
export FLASH_SIZE=16
export NEW_DDR_TAP_CAL=1
export CONFIG_HORNET_XTAL=40
export CARABOOT_RELEASE=v2.1-dev
IMAGEPATH=$(BUILD_TOPDIR)/bin
UBOOT_BINARY=u-boot.bin

View File

@ -273,6 +273,7 @@ unconfig:
carambola2_config: unconfig hornet_common_config
@echo "#define FLASH_SIZE $(FLASH_SIZE)" >>include/config.h
@echo "#define CARABOOT_RELEASE \"$(CARABOOT_RELEASE)\"" >>include/config.h
@./mkconfig -a carambola2 mips mips carambola2 ar7240 ar7240

View File

@ -454,14 +454,14 @@ long int initdram(int board_type)
#ifdef COMPRESSED_UBOOT
int checkboard (char *board_string)
{
strcpy(board_string, "Caraboot v2.0 (AR9331) U-boot");
strcpy(board_string, "Caraboot "CARABOOT_RELEASE" (AR9331) U-boot");
return 0;
}
#else
int checkboard (void)
{
printf("=====================================\n");
printf("Caraboot v2.0 (AR9331) U-boot\n");
printf("Caraboot "CARABOOT_RELEASE" (AR9331) U-boot\n");
printf("http://www.8devices.com/\n");
printf("-------------------------------------\n");
return 0;

View File

@ -1,3 +1,11 @@
/*
* USB boot functions for Carambola2
*
* Copyright (C) 2014 Mantas Pucka <mantas@8devices.com>
*
* SPDX-License-Identifier:GPL-2.0
*/
#include <common.h>
#include <command.h>
#include <part.h>

View File

@ -1,3 +1,11 @@
/*
* Atheros AR933x USB driver initialization
*
* Copyright (C) 2014 Mantas Pucka <mantas@8devices.com>
*
* SPDX-License-Identifier:GPL-2.0
*/
#include <common.h>
#include <pci.h>
#include <usb.h>