Changeset 547 for trunk/boot
- Timestamp:
- Sep 21, 2018, 10:23:32 PM (6 years ago)
- Location:
- trunk/boot/tsar_mips32
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/boot/tsar_mips32/Makefile
r457 r547 25 25 build/boot_fat32.o \ 26 26 build/boot_utils.o \ 27 build/boot_spi_utils.o \ 27 28 build/boot_entry.o \ 28 29 build/boot_tty_driver.o \ 29 30 build/boot_hba_driver.o \ 30 31 build/boot_bdv_driver.o \ 32 build/boot_spi_driver.o \ 31 33 build/boot_mmc_driver.o 32 34 … … 82 84 $(DU) -D $@ > $@.txt 83 85 86 build/boot_spi_driver.o: boot_spi_driver.c \ 87 boot_spi_driver.h \ 88 boot_utils.h \ 89 $(HAL_ARCH)/core/hal_kernel_types.h \ 90 ../../hard_config.h 91 $(CC) $(BOOT_INCLUDE) $(CFLAGS) -c -o $@ $< 92 $(DU) -D $@ > $@.txt 93 84 94 build/boot_mmc_driver.o: boot_mmc_driver.c \ 85 95 boot_mmc_driver.h \ … … 87 97 boot_config.h \ 88 98 $(HAL_ARCH)/core/hal_kernel_types.h \ 99 ../../hard_config.h 100 $(CC) $(BOOT_INCLUDE) $(CFLAGS) -c -o $@ $< 101 $(DU) -D $@ > $@.txt 102 103 ############################## 104 # Rule to compile boot_spi_utils.o 105 build/boot_spi_utils.o: boot_spi_utils.c \ 106 boot_spi_utils.h \ 107 $(HAL_ARCH)/core/hal_kernel_types.h \ 89 108 ../../hard_config.h 90 109 $(CC) $(BOOT_INCLUDE) $(CFLAGS) -c -o $@ $< … … 116 135 build/boot.o: boot.c \ 117 136 boot_utils.h \ 137 boot_spi_utils.h \ 118 138 boot_fat32.h \ 119 139 boot_tty_driver.h \ … … 121 141 boot_bdv_driver.h \ 122 142 boot_mmc_driver.h \ 143 boot_spi_driver.h \ 123 144 boot_config.h \ 124 145 $(HAL_ARCH)/core/hal_kernel_types.h \ -
trunk/boot/tsar_mips32/boot.c
r535 r547 82 82 #include <boot_bdv_driver.h> 83 83 #include <boot_hba_driver.h> 84 #include <boot_spi_driver.h> 84 85 #include <boot_tty_driver.h> 85 86 … … 778 779 else if (USE_IOC_HBA) boot_hba_init(); 779 780 // else if (USE_IOC_SDC) boot_sdc_init(); 780 //else if (USE_IOC_SPI) boot_spi_init();781 else if (USE_IOC_SPI) boot_spi_init(); 781 782 else if (!USE_IOC_RDK) 782 783 { -
trunk/boot/tsar_mips32/boot_fat32.c
r521 r547 6 6 #include <boot_tty_driver.h> 7 7 #include <boot_bdv_driver.h> 8 #include <boot_spi_driver.h> 8 9 #include <boot_hba_driver.h> 9 10 #include <boot_mmc_driver.h> … … 126 127 #elif USE_IOC_HBA 127 128 return ( boot_hba_access( lba, buf_paddr, count) ); 128 129 #elif USE_IOC_SPI 130 return ( boot_spi_access( lba, buf_paddr, count) ); 129 131 /* 130 132 #elif USE_IOC_SDC 131 133 return ( boot_sdc_access( lba, buf_paddr, count) ); 132 #elif USE_IOC_SPI133 return ( boot_spi_access( lba, buf_paddr, count) );134 134 #elif USE_IOC_RDK 135 135 return ( boot_rdk_access( lba, buf_paddr, count) ); … … 941 941 while (nb_clusters > 0) 942 942 { 943 #if DEBUG_BOOT_FAT32 944 boot_printf("[BOOT INFO] in %s : Loading cluster %d\n", __FUNCTION__, nb_clusters); 945 #endif 943 946 cluster_lba = cluster_to_lba(cur_cluster); 944 947
Note: See TracChangeset
for help on using the changeset viewer.