For better or worse, we use block counts for communicating with the
filesystem. It would therefore be rather polite to tell them what
block size we expect.
This fixes a boot failure with the new loadhigh routine.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
{
(void)fs; /* drop the compile warning message */
+ /* This block size is actually arbitrary... */
+ fs->sector_shift = fs->block_shift = TFTP_BLOCKSIZE_LG2;
+ fs->sector_size = fs->block_size = 1 << TFTP_BLOCKSIZE_LG2;
+
/* Initialize the Files structure */
files_init();