Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/misoc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f6f4229
Choose a base ref
...
head repository: m-labs/misoc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 473c758
Choose a head ref
  • 3 commits
  • 14 files changed
  • 1 contributor

Commits on May 24, 2012

  1. software/libextra: remove blockdev + fatfs

    Sebastien Bourdeauducq committed May 24, 2012

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2823034 View commit details
  2. software: merge libextra into libbase

    Sebastien Bourdeauducq committed May 24, 2012
    Copy the full SHA
    2500e71 View commit details
  3. software: include.mak -> common.mak

    Sebastien Bourdeauducq committed May 24, 2012
    Copy the full SHA
    473c758 View commit details
5 changes: 2 additions & 3 deletions software/bios/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
M2DIR=../..
include $(M2DIR)/software/include.mak
include $(M2DIR)/software/common.mak

OBJECTS=crt0.o isr.o ddrinit.o main.o microudp.o tftp.o boot-helper.o boot.o

@@ -18,12 +18,11 @@ bios.elf: linker.ld $(OBJECTS) libs
bios-rescue.elf: linker-rescue.ld $(OBJECTS) libs

%.elf:
$(LD) $(LDFLAGS) -T $< -N -o $@ $(OBJECTS) -L$(M2DIR)/software/libbase -L$(M2DIR)/software/libextra -lbase -lextra
$(LD) $(LDFLAGS) -T $< -N -o $@ $(OBJECTS) -L$(M2DIR)/software/libbase -lbase
chmod -x $@

libs:
make -C $(M2DIR)/software/libbase
make -C $(M2DIR)/software/libextra

flash: bios.bin
m1nor bios.bin
2 changes: 1 addition & 1 deletion software/bios/boot.c
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@
#include <uart.h>
#include <system.h>
#include <board.h>
#include <extra/crc.h>
#include <crc.h>
#include <sfl.h>
#include <string.h>
#include <irq.h>
2 changes: 1 addition & 1 deletion software/bios/main.c
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
#include <board.h>
#include <irq.h>
#include <version.h>
#include <extra/crc.h>
#include <crc.h>
#include <timer.h>

#include <hw/flash.h>
2 changes: 1 addition & 1 deletion software/bios/microudp.c
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@

#include <stdio.h>
#include <system.h>
#include <extra/crc.h>
#include <crc.h>
#include <hw/minimac.h>

#include "microudp.h"
File renamed without changes.
File renamed without changes.
31 changes: 0 additions & 31 deletions software/include/extra/blockdev.h

This file was deleted.

28 changes: 0 additions & 28 deletions software/include/extra/fatfs.h

This file was deleted.

4 changes: 2 additions & 2 deletions software/libbase/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
M2DIR=../..
include $(M2DIR)/software/include.mak
include $(M2DIR)/software/common.mak

OBJECTS=divsi3.o libc.o console.o timer.o system.o board.o uart.o softfloat.o softfloat-glue.o vsnprintf.o atof.o
OBJECTS=divsi3.o libc.o crc16.o crc32.o console.o timer.o system.o board.o uart.o softfloat.o softfloat-glue.o vsnprintf.o atof.o

all: libbase.a

2 changes: 1 addition & 1 deletion software/libextra/crc16.c → software/libbase/crc16.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <extra/crc.h>
#include <crc.h>

static const unsigned int crc16_table[256] = {
0x0000, 0x1021, 0x2042, 0x3063, 0x4084, 0x50A5, 0x60C6, 0x70E7,
2 changes: 1 addition & 1 deletion software/libextra/crc32.c → software/libbase/crc32.c
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/

#include <extra/crc.h>
#include <crc.h>

static const unsigned int crc_table[256] = {
0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L,
18 changes: 0 additions & 18 deletions software/libextra/Makefile

This file was deleted.

Loading